Skip to content

CodeGenNode

Source code in docs_src/capo_glue/types/code_gen_node.py
class CodeGenNode(TypedDict, closed=True):
    id: "capo_glue.types.code_gen_identifier.CodeGenIdentifier"
    """<p>A node identifier that is unique within the node's graph.</p>"""
    node_type: "capo_glue.types.code_gen_node_type.CodeGenNodeType"
    """<p>The type of node that this is.</p>"""
    args: "capo_glue.types.code_gen_node_args.CodeGenNodeArgs"
    """<p>Properties of the node, in the form of name-value pairs.</p>"""
    line_number: "capo_glue.types.integer.Integer"
    """<p>The line number of the node.</p>"""

args instance-attribute

Properties of the node, in the form of name-value pairs.

id instance-attribute

A node identifier that is unique within the node's graph.

line_number instance-attribute

line_number: Integer

The line number of the node.

node_type instance-attribute

node_type: CodeGenNodeType

The type of node that this is.