Class AstNode
A node representing an AST node other than a DeclarationEntry.
Import path
import semmle.code.cpp.PrintASTDirect supertypes
Indirect supertypes
Known direct subtypes
Inherited fields
| ast | from BaseAstNode |
Inherited predicates
| getAChild | Gets the children of this node. | from PrintAstNode |
| getAst | Gets the AST represented by this node. | from BaseAstNode |
| getChild | Gets the child node at index | from PrintAstNode |
| getChildAccessorPredicate | Gets the QL predicate that can be used to access the child at | from PrintAstNode |
| getChildAccessorPredicateInternal | Gets the QL predicate that can be used to access the child at | from PrintAstNode |
| getChildInternal | Gets the child node at index | from PrintAstNode |
| getLocation | Gets the location of this node in the source code. | from BaseAstNode |
| getParent | Gets the parent of this node, if any. | from PrintAstNode |
| getProperty | Gets the value of the property of this node, where the name of the property is | from PrintAstNode |
| shouldPrint | Holds if this node should be printed in the output. By default, all nodes within functions and global and namespace variables are printed, but the query can override | from PrintAstNode |
| toString | Gets a textual representation of this node in the PrintAST output tree. | from BaseAstNode |