Lines Matching refs:NodeKind

70 syntax::Tree *allocateTree(syntax::Arena &A, syntax::NodeKind Kind) {  in allocateTree()
72 case syntax::NodeKind::Leaf: in allocateTree()
75 case syntax::NodeKind::TranslationUnit: in allocateTree()
77 case syntax::NodeKind::UnknownExpression: in allocateTree()
79 case syntax::NodeKind::ParenExpression: in allocateTree()
81 case syntax::NodeKind::ThisExpression: in allocateTree()
83 case syntax::NodeKind::IntegerLiteralExpression: in allocateTree()
85 case syntax::NodeKind::CharacterLiteralExpression: in allocateTree()
87 case syntax::NodeKind::FloatingLiteralExpression: in allocateTree()
89 case syntax::NodeKind::StringLiteralExpression: in allocateTree()
91 case syntax::NodeKind::BoolLiteralExpression: in allocateTree()
93 case syntax::NodeKind::CxxNullPtrExpression: in allocateTree()
95 case syntax::NodeKind::IntegerUserDefinedLiteralExpression: in allocateTree()
97 case syntax::NodeKind::FloatUserDefinedLiteralExpression: in allocateTree()
99 case syntax::NodeKind::CharUserDefinedLiteralExpression: in allocateTree()
101 case syntax::NodeKind::StringUserDefinedLiteralExpression: in allocateTree()
103 case syntax::NodeKind::PrefixUnaryOperatorExpression: in allocateTree()
105 case syntax::NodeKind::PostfixUnaryOperatorExpression: in allocateTree()
107 case syntax::NodeKind::BinaryOperatorExpression: in allocateTree()
109 case syntax::NodeKind::UnqualifiedId: in allocateTree()
111 case syntax::NodeKind::IdExpression: in allocateTree()
113 case syntax::NodeKind::CallExpression: in allocateTree()
115 case syntax::NodeKind::UnknownStatement: in allocateTree()
117 case syntax::NodeKind::DeclarationStatement: in allocateTree()
119 case syntax::NodeKind::EmptyStatement: in allocateTree()
121 case syntax::NodeKind::SwitchStatement: in allocateTree()
123 case syntax::NodeKind::CaseStatement: in allocateTree()
125 case syntax::NodeKind::DefaultStatement: in allocateTree()
127 case syntax::NodeKind::IfStatement: in allocateTree()
129 case syntax::NodeKind::ForStatement: in allocateTree()
131 case syntax::NodeKind::WhileStatement: in allocateTree()
133 case syntax::NodeKind::ContinueStatement: in allocateTree()
135 case syntax::NodeKind::BreakStatement: in allocateTree()
137 case syntax::NodeKind::ReturnStatement: in allocateTree()
139 case syntax::NodeKind::RangeBasedForStatement: in allocateTree()
141 case syntax::NodeKind::ExpressionStatement: in allocateTree()
143 case syntax::NodeKind::CompoundStatement: in allocateTree()
145 case syntax::NodeKind::UnknownDeclaration: in allocateTree()
147 case syntax::NodeKind::EmptyDeclaration: in allocateTree()
149 case syntax::NodeKind::StaticAssertDeclaration: in allocateTree()
151 case syntax::NodeKind::LinkageSpecificationDeclaration: in allocateTree()
153 case syntax::NodeKind::SimpleDeclaration: in allocateTree()
155 case syntax::NodeKind::TemplateDeclaration: in allocateTree()
157 case syntax::NodeKind::ExplicitTemplateInstantiation: in allocateTree()
159 case syntax::NodeKind::NamespaceDefinition: in allocateTree()
161 case syntax::NodeKind::NamespaceAliasDefinition: in allocateTree()
163 case syntax::NodeKind::UsingNamespaceDirective: in allocateTree()
165 case syntax::NodeKind::UsingDeclaration: in allocateTree()
167 case syntax::NodeKind::TypeAliasDeclaration: in allocateTree()
169 case syntax::NodeKind::SimpleDeclarator: in allocateTree()
171 case syntax::NodeKind::ParenDeclarator: in allocateTree()
173 case syntax::NodeKind::ArraySubscript: in allocateTree()
175 case syntax::NodeKind::TrailingReturnType: in allocateTree()
177 case syntax::NodeKind::ParametersAndQualifiers: in allocateTree()
179 case syntax::NodeKind::MemberPointer: in allocateTree()
181 case syntax::NodeKind::GlobalNameSpecifier: in allocateTree()
183 case syntax::NodeKind::DecltypeNameSpecifier: in allocateTree()
185 case syntax::NodeKind::IdentifierNameSpecifier: in allocateTree()
187 case syntax::NodeKind::SimpleTemplateNameSpecifier: in allocateTree()
189 case syntax::NodeKind::NestedNameSpecifier: in allocateTree()
191 case syntax::NodeKind::MemberExpression: in allocateTree()
193 case syntax::NodeKind::CallArguments: in allocateTree()
195 case syntax::NodeKind::ParameterDeclarationList: in allocateTree()
197 case syntax::NodeKind::DeclaratorList: in allocateTree()
207 syntax::NodeKind K) { in createTree()
238 NodeKind::EmptyStatement)); in createEmptyStatement()