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