Lines Matching refs:node

14 void AstLiteralReindexer::VisitVariableDeclaration(VariableDeclaration* node) {  in VisitVariableDeclaration()  argument
15 VisitVariableProxy(node->proxy()); in VisitVariableDeclaration()
19 void AstLiteralReindexer::VisitExportDeclaration(ExportDeclaration* node) { in VisitExportDeclaration() argument
20 VisitVariableProxy(node->proxy()); in VisitExportDeclaration()
24 void AstLiteralReindexer::VisitEmptyStatement(EmptyStatement* node) {} in VisitEmptyStatement() argument
28 SloppyBlockFunctionStatement* node) { in VisitSloppyBlockFunctionStatement() argument
29 Visit(node->statement()); in VisitSloppyBlockFunctionStatement()
33 void AstLiteralReindexer::VisitContinueStatement(ContinueStatement* node) {} in VisitContinueStatement() argument
36 void AstLiteralReindexer::VisitBreakStatement(BreakStatement* node) {} in VisitBreakStatement() argument
39 void AstLiteralReindexer::VisitDebuggerStatement(DebuggerStatement* node) {} in VisitDebuggerStatement() argument
43 NativeFunctionLiteral* node) {} in VisitNativeFunctionLiteral() argument
46 void AstLiteralReindexer::VisitDoExpression(DoExpression* node) { in VisitDoExpression() argument
51 void AstLiteralReindexer::VisitLiteral(Literal* node) {} in VisitLiteral() argument
54 void AstLiteralReindexer::VisitRegExpLiteral(RegExpLiteral* node) { in VisitRegExpLiteral() argument
55 UpdateIndex(node); in VisitRegExpLiteral()
59 void AstLiteralReindexer::VisitVariableProxy(VariableProxy* node) {} in VisitVariableProxy() argument
62 void AstLiteralReindexer::VisitThisFunction(ThisFunction* node) {} in VisitThisFunction() argument
66 SuperPropertyReference* node) { in VisitSuperPropertyReference() argument
67 Visit(node->this_var()); in VisitSuperPropertyReference()
68 Visit(node->home_object()); in VisitSuperPropertyReference()
72 void AstLiteralReindexer::VisitSuperCallReference(SuperCallReference* node) { in VisitSuperCallReference() argument
73 Visit(node->this_var()); in VisitSuperCallReference()
74 Visit(node->new_target_var()); in VisitSuperCallReference()
75 Visit(node->this_function_var()); in VisitSuperCallReference()
80 RewritableAssignmentExpression* node) { in VisitRewritableAssignmentExpression() argument
81 Visit(node->expression()); in VisitRewritableAssignmentExpression()
85 void AstLiteralReindexer::VisitImportDeclaration(ImportDeclaration* node) { in VisitImportDeclaration() argument
86 VisitVariableProxy(node->proxy()); in VisitImportDeclaration()
90 void AstLiteralReindexer::VisitExpressionStatement(ExpressionStatement* node) { in VisitExpressionStatement() argument
91 Visit(node->expression()); in VisitExpressionStatement()
95 void AstLiteralReindexer::VisitReturnStatement(ReturnStatement* node) { in VisitReturnStatement() argument
96 Visit(node->expression()); in VisitReturnStatement()
100 void AstLiteralReindexer::VisitYield(Yield* node) { in VisitYield() argument
101 Visit(node->generator_object()); in VisitYield()
102 Visit(node->expression()); in VisitYield()
106 void AstLiteralReindexer::VisitThrow(Throw* node) { Visit(node->exception()); } in VisitThrow() argument
109 void AstLiteralReindexer::VisitUnaryOperation(UnaryOperation* node) { in VisitUnaryOperation() argument
110 Visit(node->expression()); in VisitUnaryOperation()
114 void AstLiteralReindexer::VisitCountOperation(CountOperation* node) { in VisitCountOperation() argument
115 Visit(node->expression()); in VisitCountOperation()
119 void AstLiteralReindexer::VisitBlock(Block* node) { in VisitBlock() argument
120 VisitStatements(node->statements()); in VisitBlock()
124 void AstLiteralReindexer::VisitFunctionDeclaration(FunctionDeclaration* node) { in VisitFunctionDeclaration() argument
125 VisitVariableProxy(node->proxy()); in VisitFunctionDeclaration()
126 VisitFunctionLiteral(node->fun()); in VisitFunctionDeclaration()
130 void AstLiteralReindexer::VisitCallRuntime(CallRuntime* node) { in VisitCallRuntime() argument
131 VisitArguments(node->arguments()); in VisitCallRuntime()
135 void AstLiteralReindexer::VisitWithStatement(WithStatement* node) { in VisitWithStatement() argument
136 Visit(node->expression()); in VisitWithStatement()
137 Visit(node->statement()); in VisitWithStatement()
141 void AstLiteralReindexer::VisitDoWhileStatement(DoWhileStatement* node) { in VisitDoWhileStatement() argument
142 Visit(node->body()); in VisitDoWhileStatement()
143 Visit(node->cond()); in VisitDoWhileStatement()
147 void AstLiteralReindexer::VisitWhileStatement(WhileStatement* node) { in VisitWhileStatement() argument
148 Visit(node->cond()); in VisitWhileStatement()
149 Visit(node->body()); in VisitWhileStatement()
153 void AstLiteralReindexer::VisitTryCatchStatement(TryCatchStatement* node) { in VisitTryCatchStatement() argument
154 Visit(node->try_block()); in VisitTryCatchStatement()
155 Visit(node->catch_block()); in VisitTryCatchStatement()
159 void AstLiteralReindexer::VisitTryFinallyStatement(TryFinallyStatement* node) { in VisitTryFinallyStatement() argument
160 Visit(node->try_block()); in VisitTryFinallyStatement()
161 Visit(node->finally_block()); in VisitTryFinallyStatement()
165 void AstLiteralReindexer::VisitProperty(Property* node) { in VisitProperty() argument
166 Visit(node->key()); in VisitProperty()
167 Visit(node->obj()); in VisitProperty()
171 void AstLiteralReindexer::VisitAssignment(Assignment* node) { in VisitAssignment() argument
172 Visit(node->target()); in VisitAssignment()
173 Visit(node->value()); in VisitAssignment()
177 void AstLiteralReindexer::VisitBinaryOperation(BinaryOperation* node) { in VisitBinaryOperation() argument
178 Visit(node->left()); in VisitBinaryOperation()
179 Visit(node->right()); in VisitBinaryOperation()
183 void AstLiteralReindexer::VisitCompareOperation(CompareOperation* node) { in VisitCompareOperation() argument
184 Visit(node->left()); in VisitCompareOperation()
185 Visit(node->right()); in VisitCompareOperation()
189 void AstLiteralReindexer::VisitSpread(Spread* node) { in VisitSpread() argument
190 Visit(node->expression()); in VisitSpread()
194 void AstLiteralReindexer::VisitEmptyParentheses(EmptyParentheses* node) {} in VisitEmptyParentheses() argument
197 void AstLiteralReindexer::VisitForInStatement(ForInStatement* node) { in VisitForInStatement() argument
198 Visit(node->each()); in VisitForInStatement()
199 Visit(node->enumerable()); in VisitForInStatement()
200 Visit(node->body()); in VisitForInStatement()
204 void AstLiteralReindexer::VisitForOfStatement(ForOfStatement* node) { in VisitForOfStatement() argument
205 Visit(node->assign_iterator()); in VisitForOfStatement()
206 Visit(node->next_result()); in VisitForOfStatement()
207 Visit(node->result_done()); in VisitForOfStatement()
208 Visit(node->assign_each()); in VisitForOfStatement()
209 Visit(node->body()); in VisitForOfStatement()
213 void AstLiteralReindexer::VisitConditional(Conditional* node) { in VisitConditional() argument
214 Visit(node->condition()); in VisitConditional()
215 Visit(node->then_expression()); in VisitConditional()
216 Visit(node->else_expression()); in VisitConditional()
220 void AstLiteralReindexer::VisitIfStatement(IfStatement* node) { in VisitIfStatement() argument
221 Visit(node->condition()); in VisitIfStatement()
222 Visit(node->then_statement()); in VisitIfStatement()
223 if (node->HasElseStatement()) { in VisitIfStatement()
224 Visit(node->else_statement()); in VisitIfStatement()
229 void AstLiteralReindexer::VisitSwitchStatement(SwitchStatement* node) { in VisitSwitchStatement() argument
230 Visit(node->tag()); in VisitSwitchStatement()
231 ZoneList<CaseClause*>* cases = node->cases(); in VisitSwitchStatement()
238 void AstLiteralReindexer::VisitCaseClause(CaseClause* node) { in VisitCaseClause() argument
239 if (!node->is_default()) Visit(node->label()); in VisitCaseClause()
240 VisitStatements(node->statements()); in VisitCaseClause()
244 void AstLiteralReindexer::VisitForStatement(ForStatement* node) { in VisitForStatement() argument
245 if (node->init() != NULL) Visit(node->init()); in VisitForStatement()
246 if (node->cond() != NULL) Visit(node->cond()); in VisitForStatement()
247 if (node->next() != NULL) Visit(node->next()); in VisitForStatement()
248 Visit(node->body()); in VisitForStatement()
252 void AstLiteralReindexer::VisitClassLiteral(ClassLiteral* node) { in VisitClassLiteral() argument
253 if (node->extends()) Visit(node->extends()); in VisitClassLiteral()
254 if (node->constructor()) Visit(node->constructor()); in VisitClassLiteral()
255 if (node->class_variable_proxy()) { in VisitClassLiteral()
256 VisitVariableProxy(node->class_variable_proxy()); in VisitClassLiteral()
258 for (int i = 0; i < node->properties()->length(); i++) { in VisitClassLiteral()
259 VisitObjectLiteralProperty(node->properties()->at(i)); in VisitClassLiteral()
264 void AstLiteralReindexer::VisitObjectLiteral(ObjectLiteral* node) { in VisitObjectLiteral() argument
265 UpdateIndex(node); in VisitObjectLiteral()
266 for (int i = 0; i < node->properties()->length(); i++) { in VisitObjectLiteral()
267 VisitObjectLiteralProperty(node->properties()->at(i)); in VisitObjectLiteral()
273 ObjectLiteralProperty* node) { in VisitObjectLiteralProperty() argument
274 Visit(node->key()); in VisitObjectLiteralProperty()
275 Visit(node->value()); in VisitObjectLiteralProperty()
279 void AstLiteralReindexer::VisitArrayLiteral(ArrayLiteral* node) { in VisitArrayLiteral() argument
280 UpdateIndex(node); in VisitArrayLiteral()
281 for (int i = 0; i < node->values()->length(); i++) { in VisitArrayLiteral()
282 Visit(node->values()->at(i)); in VisitArrayLiteral()
287 void AstLiteralReindexer::VisitCall(Call* node) { in VisitCall() argument
288 Visit(node->expression()); in VisitCall()
289 VisitArguments(node->arguments()); in VisitCall()
293 void AstLiteralReindexer::VisitCallNew(CallNew* node) { in VisitCallNew() argument
294 Visit(node->expression()); in VisitCallNew()
295 VisitArguments(node->arguments()); in VisitCallNew()
322 void AstLiteralReindexer::VisitFunctionLiteral(FunctionLiteral* node) { in VisitFunctionLiteral() argument