Lines Matching refs:NodeKind
63 syntax::Tree *allocateTree(syntax::Arena &A, syntax::NodeKind Kind) { in allocateTree()
65 case syntax::NodeKind::Leaf: in allocateTree()
68 case syntax::NodeKind::TranslationUnit: in allocateTree()
70 case syntax::NodeKind::UnknownExpression: in allocateTree()
72 case syntax::NodeKind::ParenExpression: in allocateTree()
74 case syntax::NodeKind::ThisExpression: in allocateTree()
76 case syntax::NodeKind::IntegerLiteralExpression: in allocateTree()
78 case syntax::NodeKind::CharacterLiteralExpression: in allocateTree()
80 case syntax::NodeKind::FloatingLiteralExpression: in allocateTree()
82 case syntax::NodeKind::StringLiteralExpression: in allocateTree()
84 case syntax::NodeKind::BoolLiteralExpression: in allocateTree()
86 case syntax::NodeKind::CxxNullPtrExpression: in allocateTree()
88 case syntax::NodeKind::IntegerUserDefinedLiteralExpression: in allocateTree()
90 case syntax::NodeKind::FloatUserDefinedLiteralExpression: in allocateTree()
92 case syntax::NodeKind::CharUserDefinedLiteralExpression: in allocateTree()
94 case syntax::NodeKind::StringUserDefinedLiteralExpression: in allocateTree()
96 case syntax::NodeKind::PrefixUnaryOperatorExpression: in allocateTree()
98 case syntax::NodeKind::PostfixUnaryOperatorExpression: in allocateTree()
100 case syntax::NodeKind::BinaryOperatorExpression: in allocateTree()
102 case syntax::NodeKind::UnqualifiedId: in allocateTree()
104 case syntax::NodeKind::IdExpression: in allocateTree()
106 case syntax::NodeKind::CallExpression: in allocateTree()
108 case syntax::NodeKind::UnknownStatement: in allocateTree()
110 case syntax::NodeKind::DeclarationStatement: in allocateTree()
112 case syntax::NodeKind::EmptyStatement: in allocateTree()
114 case syntax::NodeKind::SwitchStatement: in allocateTree()
116 case syntax::NodeKind::CaseStatement: in allocateTree()
118 case syntax::NodeKind::DefaultStatement: in allocateTree()
120 case syntax::NodeKind::IfStatement: in allocateTree()
122 case syntax::NodeKind::ForStatement: in allocateTree()
124 case syntax::NodeKind::WhileStatement: in allocateTree()
126 case syntax::NodeKind::ContinueStatement: in allocateTree()
128 case syntax::NodeKind::BreakStatement: in allocateTree()
130 case syntax::NodeKind::ReturnStatement: in allocateTree()
132 case syntax::NodeKind::RangeBasedForStatement: in allocateTree()
134 case syntax::NodeKind::ExpressionStatement: in allocateTree()
136 case syntax::NodeKind::CompoundStatement: in allocateTree()
138 case syntax::NodeKind::UnknownDeclaration: in allocateTree()
140 case syntax::NodeKind::EmptyDeclaration: in allocateTree()
142 case syntax::NodeKind::StaticAssertDeclaration: in allocateTree()
144 case syntax::NodeKind::LinkageSpecificationDeclaration: in allocateTree()
146 case syntax::NodeKind::SimpleDeclaration: in allocateTree()
148 case syntax::NodeKind::TemplateDeclaration: in allocateTree()
150 case syntax::NodeKind::ExplicitTemplateInstantiation: in allocateTree()
152 case syntax::NodeKind::NamespaceDefinition: in allocateTree()
154 case syntax::NodeKind::NamespaceAliasDefinition: in allocateTree()
156 case syntax::NodeKind::UsingNamespaceDirective: in allocateTree()
158 case syntax::NodeKind::UsingDeclaration: in allocateTree()
160 case syntax::NodeKind::TypeAliasDeclaration: in allocateTree()
162 case syntax::NodeKind::SimpleDeclarator: in allocateTree()
164 case syntax::NodeKind::ParenDeclarator: in allocateTree()
166 case syntax::NodeKind::ArraySubscript: in allocateTree()
168 case syntax::NodeKind::TrailingReturnType: in allocateTree()
170 case syntax::NodeKind::ParametersAndQualifiers: in allocateTree()
172 case syntax::NodeKind::MemberPointer: in allocateTree()
174 case syntax::NodeKind::GlobalNameSpecifier: in allocateTree()
176 case syntax::NodeKind::DecltypeNameSpecifier: in allocateTree()
178 case syntax::NodeKind::IdentifierNameSpecifier: in allocateTree()
180 case syntax::NodeKind::SimpleTemplateNameSpecifier: in allocateTree()
182 case syntax::NodeKind::NestedNameSpecifier: in allocateTree()
184 case syntax::NodeKind::MemberExpression: in allocateTree()
186 case syntax::NodeKind::CallArguments: in allocateTree()
188 case syntax::NodeKind::ParameterDeclarationList: in allocateTree()
190 case syntax::NodeKind::DeclaratorList: in allocateTree()
200 syntax::NodeKind K) { in createTree()
230 NodeKind::EmptyStatement)); in createEmptyStatement()