30 AstTraversalVisitor::VisitFunctionLiteral(lit);
35 AstTraversalVisitor::VisitCall(expr);
45 if (expr->
extends() !=
nullptr) {
57 for (
int i = 0;
i < private_members->
length(); ++
i) {
70 for (
int i = 0;
i < props->
length(); ++
i) {
78 if (!prop->
key()->IsLiteral()) {
83 if (!prop->
key()->IsLiteral()) {
94class AstFunctionLiteralIdReindexChecker final
97 AstFunctionLiteralIdReindexChecker(
size_t stack_limit,
98 const std::set<FunctionLiteral*>* visited)
101 void VisitFunctionLiteral(FunctionLiteral* lit) {
108 const std::set<FunctionLiteral*>*
visited_;
114 AstFunctionLiteralIdReindexChecker(stack_limit(), &
visited_).Visit(expr);
void Reindex(Expression *pattern)
void VisitClassLiteral(ClassLiteral *lit)
void VisitCall(Call *lit)
AstFunctionLiteralIdReindexer(size_t stack_limit, int delta)
~AstFunctionLiteralIdReindexer()
void VisitFunctionLiteral(FunctionLiteral *lit)
void CheckVisited(Expression *expr)
void Visit(AstNode *node)
bool is_possibly_eval() const
void adjust_eval_scope_info_index(int delta)
ZonePtrList< Property > * public_members() const
FunctionLiteral * instance_members_initializer_function() const
ZonePtrList< Property > * private_members() const
Expression * extends() const
FunctionLiteral * static_initializer() const
FunctionLiteral * constructor() const
int function_literal_id() const
void set_function_literal_id(int function_literal_id)
Expression * value() const
bool is_computed_name() const
V8_INLINE int length() const
#define DCHECK(condition)