Lines Matching defs:Expression

115 class Expression;
311 class Expression : public AstNode {
352 // Expression type bounds
383 Expression(Zone* zone, int pos, IdGen* id_gen)
764 void Initialize(Expression* cond, Statement* body) {
769 Expression* cond() const { return cond_; }
784 Expression* cond_;
795 void Initialize(Expression* cond, Statement* body) {
800 Expression* cond() const { return cond_; }
821 Expression* cond_;
835 Expression* cond,
845 Expression* cond() const { return cond_; }
877 Expression* cond_;
896 void Initialize(Expression* each, Expression* subject, Statement* body) {
902 Expression* each() const { return each_; }
903 Expression* subject() const { return subject_; }
913 Expression* each_;
914 Expression* subject_;
923 Expression* enumerable() const {
965 void Initialize(Expression* each,
966 Expression* subject,
968 Expression* assign_iterator,
969 Expression* next_result,
970 Expression* result_done,
971 Expression* assign_each) {
979 Expression* iterable() const {
984 Expression* assign_iterator() const {
989 Expression* next_result() const {
994 Expression* result_done() const {
999 Expression* assign_each() const {
1018 Expression* assign_iterator_;
1019 Expression* next_result_;
1020 Expression* result_done_;
1021 Expression* assign_each_;
1030 void set_expression(Expression* e) { expression_ = e; }
1031 Expression* expression() const { return expression_; }
1035 ExpressionStatement(Zone* zone, Expression* expression, int pos)
1039 Expression* expression_;
1086 Expression* expression() const { return expression_; }
1089 explicit ReturnStatement(Zone* zone, Expression* expression, int pos)
1093 Expression* expression_;
1102 Expression* expression() const { return expression_; }
1108 Expression* expression, Statement* statement, int pos)
1116 Expression* expression_;
1121 class CaseClause FINAL : public Expression {
1126 Expression* label() const {
1141 CaseClause(Zone* zone, Expression* label, ZoneList<Statement*>* statements,
1144 Expression* label_;
1158 void Initialize(Expression* tag, ZoneList<CaseClause*>* cases) {
1163 Expression* tag() const { return tag_; }
1174 Expression* tag_;
1191 Expression* condition() const { return condition_; }
1205 IfStatement(Zone* zone, Expression* condition, Statement* then_statement,
1216 Expression* condition_;
1345 class Literal FINAL : public Expression {
1387 : Expression(zone, position, id_gen),
1401 class MaterializedLiteral : public Expression {
1415 : Expression(zone, pos, id_gen),
1441 Handle<Object> GetBoilerplateValue(Expression* expression, Isolate* isolate);
1464 Literal* key, Expression* value, bool is_static);
1467 Expression* value() { return value_; }
1489 Expression* value_;
1539 Expression* getter;
1540 Expression* setter;
1595 ZoneList<Expression*>* values() const { return values_; }
1619 ArrayLiteral(Zone* zone, ZoneList<Expression*>* values, int literal_index,
1627 ZoneList<Expression*>* values_;
1632 class VariableProxy FINAL : public Expression, public FeedbackSlotInterface {
1676 class Property FINAL : public Expression, public FeedbackSlotInterface {
1682 Expression* obj() const { return obj_; }
1683 Expression* key() const { return key_; }
1722 Property(Zone* zone, Expression* obj, Expression* key, int pos, IdGen* id_gen)
1723 : Expression(zone, pos, id_gen),
1733 Expression* obj_;
1734 Expression* key_;
1745 class Call FINAL : public Expression, public FeedbackSlotInterface {
1749 Expression* expression() const { return expression_; }
1750 ZoneList<Expression*>* arguments() const { return arguments_; }
1818 Call(Zone* zone, Expression* expression, ZoneList<Expression*>* arguments,
1820 : Expression(zone, pos, id_gen),
1831 Expression* expression_;
1832 ZoneList<Expression*>* arguments_;
1843 class CallNew FINAL : public Expression, public FeedbackSlotInterface {
1847 Expression* expression() const { return expression_; }
1848 ZoneList<Expression*>* arguments() const { return arguments_; }
1881 CallNew(Zone* zone, Expression* expression, ZoneList<Expression*>* arguments,
1883 : Expression(zone, pos, id_gen),
1892 Expression* expression_;
1893 ZoneList<Expression*>* arguments_;
1909 class CallRuntime FINAL : public Expression, public FeedbackSlotInterface {
1916 ZoneList<Expression*>* arguments() const { return arguments_; }
1938 ZoneList<Expression*>* arguments, int pos, IdGen* id_gen)
1939 : Expression(zone, pos, id_gen),
1947 ZoneList<Expression*>* arguments_;
1952 class UnaryOperation FINAL : public Expression {
1957 Expression* expression() const { return expression_; }
1966 UnaryOperation(Zone* zone, Token::Value op, Expression* expression, int pos,
1968 : Expression(zone, pos, id_gen),
1978 Expression* expression_;
1987 class BinaryOperation FINAL : public Expression {
1994 Expression* left() const { return left_; }
1995 Expression* right() const { return right_; }
2011 BinaryOperation(Zone* zone, Token::Value op, Expression* left,
2012 Expression* right, int pos, IdGen* id_gen)
2013 : Expression(zone, pos, id_gen),
2023 Expression* left_;
2024 Expression* right_;
2037 class CountOperation FINAL : public Expression {
2049 Expression* expression() const { return expression_; }
2070 CountOperation(Zone* zone, Token::Value op, bool is_prefix, Expression* expr,
2072 : Expression(zone, pos, id_gen),
2087 Expression* expression_;
2094 class CompareOperation FINAL : public Expression {
2099 Expression* left() const { return left_; }
2100 Expression* right() const { return right_; }
2108 bool IsLiteralCompareTypeof(Expression** expr, Handle<String>* check);
2109 bool IsLiteralCompareUndefined(Expression** expr, Isolate* isolate);
2110 bool IsLiteralCompareNull(Expression** expr);
2113 CompareOperation(Zone* zone, Token::Value op, Expression* left,
2114 Expression* right, int pos, IdGen* id_gen)
2115 : Expression(zone, pos, id_gen),
2125 Expression* left_;
2126 Expression* right_;
2132 class Conditional FINAL : public Expression {
2136 Expression* condition() const { return condition_; }
2137 Expression* then_expression() const { return then_expression_; }
2138 Expression* else_expression() const { return else_expression_; }
2144 Conditional(Zone* zone, Expression* condition, Expression* then_expression,
2145 Expression* else_expression, int position, IdGen* id_gen)
2146 : Expression(zone, position, id_gen),
2154 Expression* condition_;
2155 Expression* then_expression_;
2156 Expression* else_expression_;
2162 class Assignment FINAL : public Expression {
2171 Expression* target() const { return target_; }
2172 Expression* value() const { return value_; }
2199 Assignment(Zone* zone, Token::Value op, Expression* target, Expression* value,
2213 Expression* target_;
2214 Expression* value_;
2225 class Yield FINAL : public Expression, public FeedbackSlotInterface {
2236 Expression* generator_object() const { return generator_object_; }
2237 Expression* expression() const { return expression_; }
2276 Yield(Zone* zone, Expression* generator_object, Expression* expression,
2278 : Expression(zone, pos, id_gen),
2286 Expression* generator_object_;
2287 Expression* expression_;
2294 class Throw FINAL : public Expression {
2298 Expression* exception() const { return exception_; }
2301 Throw(Zone* zone, Expression* exception, int pos, IdGen* id_gen)
2302 : Expression(zone, pos, id_gen), exception_(exception) {}
2305 Expression* exception_;
2309 class FunctionLiteral FINAL : public Expression {
2456 : Expression(zone, position, id_gen),
2505 class ClassLiteral FINAL : public Expression {
2513 Expression* extends() const { return extends_; }
2514 Expression* constructor() const { return constructor_; }
2518 ClassLiteral(Zone* zone, const AstRawString* name, Expression* extends,
2519 Expression* constructor, ZoneList<Property*>* properties,
2521 : Expression(zone, position, id_gen),
2529 Expression* extends_;
2530 Expression* constructor_;
2535 class NativeFunctionLiteral FINAL : public Expression {
2545 : Expression(zone, pos, id_gen), name_(name), extension_(extension) {}
2553 class ThisFunction FINAL : public Expression {
2559 : Expression(zone, pos, id_gen) {}
2563 class SuperReference FINAL : public Expression {
2573 : Expression(zone, pos, id_gen), this_var_(this_var) {
2966 virtual void VisitExpressions(ZoneList<Expression*>* expressions);
3192 ExpressionStatement* NewExpressionStatement(Expression* expression, int pos) {
3208 ReturnStatement* NewReturnStatement(Expression* expression, int pos) {
3214 Expression* expression,
3222 IfStatement* NewIfStatement(Expression* condition,
3262 Expression* label, ZoneList<Statement*>* statements, int pos) {
3337 Expression* value,
3361 ArrayLiteral* NewArrayLiteral(ZoneList<Expression*>* values,
3384 Property* NewProperty(Expression* obj, Expression* key, int pos) {
3389 Call* NewCall(Expression* expression,
3390 ZoneList<Expression*>* arguments,
3396 CallNew* NewCallNew(Expression* expression,
3397 ZoneList<Expression*>* arguments,
3406 ZoneList<Expression*>* arguments,
3414 Expression* expression,
3422 Expression* left,
3423 Expression* right,
3432 Expression* expr,
3440 Expression* left,
3441 Expression* right,
3448 Conditional* NewConditional(Expression* condition,
3449 Expression* then_expression,
3450 Expression* else_expression,
3458 Expression* target,
3459 Expression* value,
3467 Yield* NewYield(Expression *generator_object,
3468 Expression* expression,
3477 Throw* NewThrow(Expression* exception, int pos) {
3503 ClassLiteral* NewClassLiteral(const AstRawString* name, Expression* extends,
3504 Expression* constructor,