Lines Matching refs:AST
2 Introduction to the Clang AST
6 AST. It is targeted at developers who either want to contribute to
7 Clang, or use tools that work based on Clang's AST, like the AST
19 Clang's AST is different from ASTs produced by some other compilers in
22 constants are available in an unreduced form in the AST. This makes
23 Clang's AST a good fit for refactoring tools.
25 Documentation for all Clang AST nodes is available via the generated
28 make a search for clang and the AST node's class name usually turn up
32 Examining the AST
35 A good way to familarize yourself with the Clang AST is to actually look
36 at it on some simple example code. Clang has a builtin AST-dump mode,
39 Let's look at a simple example AST:
80 AST Context
83 All information about the AST for a translation unit is bundled up in
92 AST Nodes
95 Clang's AST nodes are modeled on a class hierarchy that does not have a
100 important AST nodes derive from
107 There are also a multitude of nodes in the AST that are not part of a
111 Thus, to traverse the full AST, one starts from the
120 The two most basic nodes in the Clang AST are statements
126 also statements in Clang's AST.