Home
last modified time | relevance | path

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

/external/v8/src/torque/
Dast.h84 struct AstNode { struct
92 AstNode(Kind kind, SourcePosition pos) : kind(kind), pos(pos) {} in AstNode() argument
93 virtual ~AstNode() {} in ~AstNode() argument
101 static bool IsInstanceOf(AstNode* node); argument
107 static T* cast(AstNode* node) { \
111 static T* DynamicCast(AstNode* node) { \
119 static T* cast(AstNode* node) { \
123 static T* DynamicCast(AstNode* node) { \
129 struct Expression : AstNode {
130 Expression(Kind kind, SourcePosition pos) : AstNode(kind, pos) {} in Expression()
[all …]
Dglobal-context.h68 void AddControlSplitChangedVariables(const AstNode* node, in AddControlSplitChangedVariables()
76 const AstNode* node, const TypeVector& specialization_types) { in GetControlSplitChangedVariables()
83 void MarkVariableChanged(const AstNode* node, in MarkVariableChanged()
110 std::map<std::pair<const AstNode*, TypeVector>, std::set<const Variable*>>
Ddeclarations.h134 Scope* GetNodeScope(const AstNode* node, bool reset_scope = false);
161 std::map<std::pair<const AstNode*, TypeVector>, Scope*> scopes_;
167 NodeScopeActivator(Declarations* declarations, AstNode* node) in NodeScopeActivator()
185 CleanNodeScopeActivator(Declarations* declarations, AstNode* node) in CleanNodeScopeActivator()
Dimplementation-visitor.h180 void GenerateChangedVarsFromControlSplit(AstNode* node);
199 AstNode* node, const std::string& name, bool is_const,
249 void GenerateLabelDefinition(Label* label, AstNode* node = nullptr);
Dimplementation-visitor.cc18 case AstNode::Kind::k##name: \ in Visit()
33 case AstNode::Kind::k##name: \ in Visit()
48 case AstNode::Kind::k##name: \ in Visit()
61 case AstNode::Kind::k##name: \ in Visit()
1299 void ImplementationVisitor::GenerateChangedVarsFromControlSplit(AstNode* node) { in GenerateChangedVarsFromControlSplit()
1375 case AstNode::Kind::kIdentifierExpression: in GetLocationReference()
1377 case AstNode::Kind::kFieldAccessExpression: in GetLocationReference()
1380 case AstNode::Kind::kElementAccessExpression: in GetLocationReference()
1427 case AstNode::Kind::kIdentifierExpression: in GenerateFetchFromLocation()
1430 case AstNode::Kind::kFieldAccessExpression: in GenerateFetchFromLocation()
[all …]
Ddeclaration-visitor.cc15 case AstNode::Kind::k##name: \ in Visit()
28 case AstNode::Kind::k##name: \ in Visit()
41 case AstNode::Kind::k##name: \ in Visit()
54 case AstNode::Kind::k##name: \ in Visit()
Ddeclarations.cc21 Scope* Declarations::GetNodeScope(const AstNode* node, bool reset_scope) { in GetNodeScope()
22 std::pair<const AstNode*, TypeVector> key( in GetNodeScope()
37 std::pair<const AstNode*, TypeVector> key(generic->declaration()->callable, in GetGenericScope()
/external/v8/src/ast/
Dprettyprinter.h43 void Find(AstNode* node, bool print = false);
76 const char* Print(AstNode* node);
82 static void PrintOut(Isolate* isolate, AstNode* node);
99 void PrintIndentedVisit(const char* s, AstNode* node);
Dast.h117 class AstNode; variable
132 class AstNode: public ZoneObject { in AST_NODE_LIST()
172 AstNode(int position, NodeType type) in AST_NODE_LIST()
177 class Statement : public AstNode {
183 Statement(int position, NodeType type) : AstNode(position, type) {} in Statement()
185 static const uint8_t kNextBitFieldIndex = AstNode::kNextBitFieldIndex;
189 class Expression : public AstNode {
247 Expression(int pos, NodeType type) : AstNode(pos, type) {} in Expression()
249 static const uint8_t kNextBitFieldIndex = AstNode::kNextBitFieldIndex;
384 class Declaration : public AstNode {
[all …]
Dast-traversal-visitor.h31 explicit AstTraversalVisitor(Isolate* isolate, AstNode* root = nullptr);
32 explicit AstTraversalVisitor(uintptr_t stack_limit, AstNode* root = nullptr);
39 bool VisitNode(AstNode* node) { return true; } in VisitNode()
57 AstNode* root_;
93 AstNode* root) in AstTraversalVisitor()
100 AstNode* root) in AstTraversalVisitor()
Dast.cc52 void AstNode::Print() { Print(Isolate::Current()); } in Print()
54 void AstNode::Print(Isolate* isolate) { in Print()
66 IterationStatement* AstNode::AsIterationStatement() { in AsIterationStatement()
74 BreakableStatement* AstNode::AsBreakableStatement() { in AsBreakableStatement()
83 MaterializedLiteral* AstNode::AsMaterializedLiteral() { in AsMaterializedLiteral()
Dprettyprinter.cc55 void CallPrinter::Find(AstNode* node, bool print) { in Find()
550 const char* AstPrinter::Print(AstNode* node) { in Print()
762 void AstPrinter::PrintIndentedVisit(const char* s, AstNode* node) { in PrintIndentedVisit()
792 void AstPrinter::PrintOut(Isolate* isolate, AstNode* node) { in PrintOut()
/external/v8/src/interpreter/
Dcontrol-flow-builders.h39 AstNode* node) in BreakableControlFlowBuilder()
83 AstNode* node_;
106 BlockCoverageBuilder* block_coverage_builder, AstNode* node) in LoopBuilder()
246 AstNode* node) in ConditionalControlFlowBuilder()
278 AstNode* node_;
Dbytecode-generator.h240 int AllocateBlockCoverageSlotIfEnabled(AstNode* node, SourceRangeKind kind);
243 void BuildIncrementBlockCoverageCounterIfEnabled(AstNode* node,
Dbytecode-generator.cc811 void Put(FeedbackSlotKind slot_kind, AstNode* node, FeedbackSlot slot) { in Put()
822 FeedbackSlot Get(FeedbackSlotKind slot_kind, AstNode* node) const { in Get()
4916 AstNode* node, SourceRangeKind kind) { in AllocateBlockCoverageSlotIfEnabled()
4931 AstNode* node, SourceRangeKind kind) { in BuildIncrementBlockCoverageCounterIfEnabled()
/external/google-fruit/extras/scripts/
Danalyze_template_instantiations_clang_diagnostics.py76 class AstNode: class
80 class TerminalAstNode(AstNode):
101 class NonTerminalAstNode(AstNode):
/external/v8/src/parsing/
Dpattern-rewriter.cc74 void RecurseIntoSubpattern(AstNode* pattern, Expression* value) { in RecurseIntoSubpattern()
300 DCHECK_EQ(AstNode::kArrayLiteral, node->expression()->node_type()); in VisitRewritableExpression()
/external/v8/src/debug/
Dliveedit.cc732 CollectFunctionLiterals(Isolate* isolate, AstNode* root) in CollectFunctionLiterals()
/external/v8/
DChangeLog42058 Merged FeedbackSlotInterface into AstNode, removing the need for a 2nd
47374 Avoid TLS load in AstNode constructor.