class documentation
A single node in a Program Graph.
Corresponds to either a SyntaxNode or an Instruction (as in a ControlFlowGraph).
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | has |
Whether the node's instruction is an instance of type t . |
Method | has |
Undocumented |
Instance Variable | ast |
If available, the AST node corresponding to the ProgramGraphNode. |
Instance Variable | ast |
If available, the type of the AST node, as a string. |
Instance Variable | ast |
If available, the primitive Python value corresponding to the node. |
Instance Variable | id |
A unique id for the node. |
Instance Variable | instruction |
If applicable, the corresponding Instruction. |
Instance Variable | node |
One of the node types from pb.NodeType. |
Instance Variable | syntax |
For SYNTAX_NODEs, the syntax information stored in the node. |
Property | node |
Undocumented |