Class PrintAstNode
A node in the output tree.
Import path
import semmle.python.PrintAstDirect supertypes
Known direct subtypes
Predicates
| getAChild | Gets a child of this node. |
| getChild | Gets the child node at index |
| getChildEdgeLabel | Gets the label for the edge from this node to the specified child. By default, this is just the index of the child, but subclasses can override this. |
| 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 |
| toString | Gets a textual representation of this node in the PrintAst output tree. |