Home
last modified time | relevance | path

Searched refs:AstNode (Results 1 – 12 of 12) sorted by relevance

/external/v8/test/cctest/
Dtest-ast-expression-visitor.cc25 typedef std::map<AstNode::NodeType, int> Counters;
98 CHECK_EQ(21, counts[AstNode::kBinaryOperation]); in TEST()
99 CHECK_EQ(26, counts[AstNode::kLiteral]); in TEST()
100 CHECK_EQ(3, counts[AstNode::kFunctionLiteral]); in TEST()
Dtest-ast.cc38 List<AstNode*>* list = new List<AstNode*>(0); in TEST()
45 AstNode* node = factory.NewEmptyStatement(RelocInfo::kNoPosition); in TEST()
Dexpression-type-collector.cc19 AstNode::NodeType type;
23 { AstNode::k##type, #type } \
50 AstNode::NodeType type = expression->node_type(); in VisitExpression()
/external/v8/src/ast/
Dprettyprinter.h26 void Find(AstNode* node, bool print = false);
63 const char* Print(AstNode* node);
70 static void PrintOut(Isolate* isolate, AstNode* node);
111 static void PrintOut(Isolate* isolate, AstNode* node);
121 void PrintIndentedVisit(const char* s, AstNode* node);
Dast.h125 AstNode::NodeType node_type() const final { return AstNode::k##type; } \
182 class AstNode: public ZoneObject { in DEFINE_OPERATORS_FOR_FLAGS()
193 explicit AstNode(int position): position_(position) {} in DEFINE_OPERATORS_FOR_FLAGS()
194 virtual ~AstNode() {} in DEFINE_OPERATORS_FOR_FLAGS()
236 class Statement : public AstNode {
238 explicit Statement(Zone* zone, int position) : AstNode(position) {} in Statement()
292 class Expression : public AstNode {
372 : AstNode(pos), in Expression()
510 class Declaration : public AstNode {
521 : AstNode(pos), mode_(mode), proxy_(proxy), scope_(scope) { in Declaration()
[all …]
Dast-literal-reindexer.h35 void Visit(AstNode* node) override { node->Accept(this); } in Visit()
Dprettyprinter.cc40 void CallPrinter::Find(AstNode* node, bool print) { in Find()
965 const char* PrettyPrinter::Print(AstNode* node) { in Print()
989 void PrettyPrinter::PrintOut(Isolate* isolate, AstNode* node) { in PrintOut()
1215 void AstPrinter::PrintIndentedVisit(const char* s, AstNode* node) { in PrintIndentedVisit()
1238 void AstPrinter::PrintOut(Isolate* isolate, AstNode* node) { in PrintOut()
Dast.cc39 void AstNode::Print(Isolate* isolate) { in AST_NODE_LIST()
44 void AstNode::PrettyPrint(Isolate* isolate) { in PrettyPrint()
/external/v8/src/compiler/
Dast-loop-assignment-analyzer.h66 void VisitIfNotNull(AstNode* node) { in VisitIfNotNull()
/external/v8/src/parsing/
Dparser.h867 void Visit(AstNode* node) override;
879 void RecurseIntoSubpattern(AstNode* pattern, Expression* value) { in RecurseIntoSubpattern()
Dpattern-rewriter.cc738 void Parser::PatternRewriter::Visit(AstNode* node) { UNREACHABLE(); } in Visit()
/external/v8/
DChangeLog10882 Merged FeedbackSlotInterface into AstNode, removing the need for a 2nd
16198 Avoid TLS load in AstNode constructor.