Lines Matching refs:Expression

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