Class PrintAstNode
A node in the output tree.
Import path
import semmle.code.cpp.PrintAST
Direct supertypes
Known direct subtypes
Predicates
getAChild | Gets the children of this node. |
getChild | Gets the child node at index |
getChildAccessorPredicate | Gets the QL predicate that can be used to access the child at |
getChildAccessorPredicateInternal | Gets the QL predicate that can be used to access the child at |
getChildInternal | Gets the child node at index |
getLocation | Gets the location of this node in the source code. |
getParent | Gets the parent of this node, if any. |
getProperty | Gets the value of the property of this node, where the name of the property is |
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 |
toString | Gets a textual representation of this node in the PrintAST output tree. |