OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/ast/ast-expression-visitor.h" | 7 #include "src/ast/ast-expression-visitor.h" |
8 | 8 |
9 #include "src/ast/ast.h" | 9 #include "src/ast/ast.h" |
10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 void AstExpressionVisitor::VisitCompareOperation(CompareOperation* expr) { | 120 void AstExpressionVisitor::VisitCompareOperation(CompareOperation* expr) { |
121 VisitExpression(expr); | 121 VisitExpression(expr); |
122 AstTraversalVisitor::VisitCompareOperation(expr); | 122 AstTraversalVisitor::VisitCompareOperation(expr); |
123 } | 123 } |
124 | 124 |
125 void AstExpressionVisitor::VisitThisFunction(ThisFunction* expr) { | 125 void AstExpressionVisitor::VisitThisFunction(ThisFunction* expr) { |
126 VisitExpression(expr); | 126 VisitExpression(expr); |
127 AstTraversalVisitor::VisitThisFunction(expr); | 127 AstTraversalVisitor::VisitThisFunction(expr); |
128 } | 128 } |
129 | 129 |
130 void AstExpressionVisitor::VisitClassLiteral(ClassLiteral* expr) { | |
131 VisitExpression(expr); | |
132 AstTraversalVisitor::VisitClassLiteral(expr); | |
133 } | |
134 | |
135 void AstExpressionVisitor::VisitSpread(Spread* expr) { | 130 void AstExpressionVisitor::VisitSpread(Spread* expr) { |
136 VisitExpression(expr); | 131 VisitExpression(expr); |
137 AstTraversalVisitor::VisitSpread(expr); | 132 AstTraversalVisitor::VisitSpread(expr); |
138 } | 133 } |
139 | 134 |
140 void AstExpressionVisitor::VisitSuperPropertyReference( | 135 void AstExpressionVisitor::VisitSuperPropertyReference( |
141 SuperPropertyReference* expr) { | 136 SuperPropertyReference* expr) { |
142 VisitExpression(expr); | 137 VisitExpression(expr); |
143 AstTraversalVisitor::VisitSuperPropertyReference(expr); | 138 AstTraversalVisitor::VisitSuperPropertyReference(expr); |
144 } | 139 } |
(...skipping 13 matching lines...) Expand all Loading... |
158 | 153 |
159 void AstExpressionVisitor::VisitRewritableExpression( | 154 void AstExpressionVisitor::VisitRewritableExpression( |
160 RewritableExpression* expr) { | 155 RewritableExpression* expr) { |
161 VisitExpression(expr); | 156 VisitExpression(expr); |
162 AstTraversalVisitor::VisitRewritableExpression(expr); | 157 AstTraversalVisitor::VisitRewritableExpression(expr); |
163 } | 158 } |
164 | 159 |
165 | 160 |
166 } // namespace internal | 161 } // namespace internal |
167 } // namespace v8 | 162 } // namespace v8 |
OLD | NEW |