clang
9.0.0
|
#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::TopLevelDeclaration |
FIXME: this node is temporary and will be replaced with nodes for various 'declarations' and 'declarators' from the C/C++ grammar. More... | |
class | clang::syntax::Statement |
An abstract node for C++ statements, e.g. 'while', 'if', etc. More... | |
class | clang::syntax::CompoundStatement |
{ statement1; statement2; … } More... | |
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
clang::syntax | |
Enumerations | |
enum | clang::syntax::NodeKind : uint16_t { clang::syntax::NodeKind::Leaf, clang::syntax::NodeKind::TranslationUnit, clang::syntax::NodeKind::TopLevelDeclaration, clang::syntax::NodeKind::CompoundStatement } |
A kind of a syntax node, used for implementing casts. More... | |
enum | clang::syntax::NodeRole : uint8_t { clang::syntax::NodeRole::Detached, clang::syntax::NodeRole::Unknown, clang::syntax::NodeRole::CompoundStatement_lbrace, clang::syntax::NodeRole::CompoundStatement_rbrace } |
A relation between a parent and child node. Used for implementing accessors. More... | |
Functions | |
llvm::raw_ostream & | clang::syntax::operator<< (llvm::raw_ostream &OS, NodeKind K) |
For debugging purposes. More... | |