clang
10.0.0git
|
#include "clang/Basic/TokenKinds.h"
#include "clang/Lex/Token.h"
#include "clang/Tooling/Syntax/Tokens.h"
#include "clang/Tooling/Syntax/Tree.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Classes | |
class | clang::syntax::TranslationUnit |
A root node for a translation unit. Parent is always null. More... | |
class | clang::syntax::Expression |
A base class for all expressions. More... | |
class | clang::syntax::UnknownExpression |
An expression of an unknown kind, i.e. More... | |
class | clang::syntax::Statement |
An abstract node for C++ statements, e.g. More... | |
class | clang::syntax::UnknownStatement |
A statement of an unknown kind, i.e. More... | |
class | clang::syntax::DeclarationStatement |
E.g. 'int a, b = 10;'. More... | |
class | clang::syntax::EmptyStatement |
The no-op statement, i.e. ';'. More... | |
class | clang::syntax::SwitchStatement |
switch (<cond>) <body> More... | |
class | clang::syntax::CaseStatement |
case : <body> More... | |
class | clang::syntax::DefaultStatement |
default: <body> More... | |
class | clang::syntax::IfStatement |
if (cond) <then-statement> else <else-statement> FIXME: add condition that models 'expression or variable declaration' More... | |
class | clang::syntax::ForStatement |
for (<init>; <cond>; <increment>) <body> More... | |
class | clang::syntax::WhileStatement |
while (<cond>) <body> More... | |
class | clang::syntax::ContinueStatement |
continue; More... | |
class | clang::syntax::BreakStatement |
break; More... | |
class | clang::syntax::ReturnStatement |
return <expr>; return; More... | |
class | clang::syntax::RangeBasedForStatement |
for (<decl> : <init>) <body> More... | |
class | clang::syntax::ExpressionStatement |
Expression in a statement position, e.g. More... | |
class | clang::syntax::CompoundStatement |
{ statement1; statement2; … } More... | |
class | clang::syntax::Declaration |
A declaration that can appear at the top-level. More... | |
class | clang::syntax::UnknownDeclaration |
Declaration of an unknown kind, e.g. not yet supported in syntax trees. More... | |
class | clang::syntax::EmptyDeclaration |
A semicolon in the top-level context. Does not declare anything. More... | |
class | clang::syntax::StaticAssertDeclaration |
static_assert(<condition>, <message>) static_assert(<condition>) More... | |
class | clang::syntax::LinkageSpecificationDeclaration |
extern <string-literal> declaration extern <string-literal> { <decls> } More... | |
class | clang::syntax::SimpleDeclaration |
Groups multiple declarators (e.g. More... | |
class | clang::syntax::NamespaceDefinition |
namespace <name> { <decls> } More... | |
class | clang::syntax::NamespaceAliasDefinition |
namespace <name> = <namespace-reference> More... | |
class | clang::syntax::UsingNamespaceDirective |
using namespace <name> More... | |
class | clang::syntax::UsingDeclaration |
using <scope>::<name> using typename <scope>::<name> More... | |
class | clang::syntax::TypeAliasDeclaration |
using <name> = <type> More... | |
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
clang::syntax | |
Functions | |
llvm::raw_ostream & | clang::syntax::operator<< (llvm::raw_ostream &OS, NodeKind K) |
For debugging purposes. More... | |
llvm::raw_ostream & | clang::syntax::operator<< (llvm::raw_ostream &OS, NodeRole R) |
For debugging purposes. More... | |