clang  10.0.0svn
Classes | Namespaces | Enumerations | Functions
Nodes.h File Reference
#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"
Include dependency graph for Nodes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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...


 Dataflow Directional Tag Classes.


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...


llvm::raw_ostream & clang::syntax::operator<< (llvm::raw_ostream &OS, NodeKind K)
 For debugging purposes. More...