syn.python.b package¶
Submodules¶
syn.python.b.base module¶
-
class
syn.python.b.base.
PythonNode
(**kwargs)¶ Bases:
syn.tree.b.node.Node
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
as_return
(**kwargs)¶
-
as_value
(obj, *args, **kwargs)¶
-
ast
= None¶
-
emit
(**kwargs)¶
-
expressify_statements
(obj, *args, **kwargs)¶
-
classmethod
from_ast
(ast, **kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
resolve_progn
(obj, *args, **kwargs)¶
-
to_ast
(**kwargs)¶
-
validate
()¶
-
variables
(**kwargs)¶
-
viewable
(**kwargs)¶
-
class
syn.python.b.base.
PythonTree
(root, **kwargs)¶ Bases:
syn.tree.b.tree.Tree
Positional Arguments:
- root: RootNode
- The root node of the tree
Keyword-Only Arguments:
- id_dict: dict (any => Node)
- Mapping of ids to nodes
- node_counter: Counter
- Node id counter
- node_types: list (basestring)
- List of all tree node types
- nodes: list (Node)
- List of all tree nodes
- type_dict: dict (any => list (Node))
- Mapping of type names to node lists
Class Options:
- args: (‘root’,)
- autodoc: True
- coerce_args: False
- id_equality: False
- init_validate: True
- make_hashable: False
- make_type_object: True
- optional_none: False
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Groups:
- _all: id_dict, node_counter, node_types, nodes, root, type_dict
- generate_exclude: id_dict, node_counter, node_types, nodes, type_dict
- eq_exclude: node_counter
- str_exclude: id_dict, node_counter, node_types, nodes, type_dict
-
abstract
()¶
-
emit
(**kwargs)¶
-
to_ast
(**kwargs)¶
-
exception
syn.python.b.base.
AstUnsupported
¶ Bases:
exceptions.Exception
-
exception
syn.python.b.base.
PythonError
¶ Bases:
exceptions.Exception
-
class
syn.python.b.base.
Context
(**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
classmethod
from_ast
(ast, **kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
to_ast
(**kwargs)¶
-
class
syn.python.b.base.
Load
(**kwargs)¶ Bases:
syn.python.b.base.Context
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Store
(**kwargs)¶ Bases:
syn.python.b.base.Context
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Del
(**kwargs)¶ Bases:
syn.python.b.base.Context
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Param
(**kwargs)¶ Bases:
syn.python.b.base.Context
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '2.9999999999'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
RootNode
(**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
expressify_statements
(obj, *args, **kwargs)¶
-
classmethod
from_ast
(ast, **kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
resolve_progn
(obj, *args, **kwargs)¶
-
to_ast
(**kwargs)¶
-
class
syn.python.b.base.
Module
(**kwargs)¶ Bases:
syn.python.b.base.RootNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Expression_
(**kwargs)¶ Bases:
syn.python.b.base.RootNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 1
- min_len: 1
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
Expression
-
body
¶ itemgetter(item, ...) –> itemgetter object
Return a callable object that fetches the given item(s) from its operand. After f = itemgetter(2), the call f(r) returns r[2]. After g = itemgetter(2, 5, 3), the call g(r) returns (r[2], r[5], r[3])
-
emit
(**kwargs)¶
-
classmethod
from_ast
(ast, **kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
to_ast
(**kwargs)¶
-
class
syn.python.b.base.
Interactive
(**kwargs)¶ Bases:
syn.python.b.base.RootNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
Interactive
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Special
(**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
validate
()¶
-
class
syn.python.b.base.
ProgN
(**kwargs)¶ Bases:
syn.python.b.base.Special
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: None
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
expressify_statements
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
resolve_progn
(obj, *args, **kwargs)¶
-
value
(obj, *args, **kwargs)¶
-
valuify
(**kwargs)¶
-
class
syn.python.b.base.
NoAST
¶ Bases:
object
Dummy class to prevent binding to a specific ast object.
-
class
syn.python.b.base.
Expression
(**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.base.
Statement
(**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
syn.python.b.base.
from_ast
(ast, **kwargs)¶
-
syn.python.b.base.
from_source
(src, mode='exec')¶
syn.python.b.blocks module¶
-
class
syn.python.b.blocks.
Block
(**kwargs)¶ Bases:
syn.python.b.base.Statement
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object body: list (Expression | Statement) col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, body, col_offset, indent_amount, lineno
- copy_copy: _list, body
- ast_convert_attr: body
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: body, col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit_block
(head, body, **kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
valuify_block
(body, name, **kwargs)¶
-
class
syn.python.b.blocks.
If
(test, body, orelse, **kwargs)¶ Bases:
syn.python.b.blocks.Block
Positional Arguments:
test: Expression body: list (Expression | Statement) orelse: list (Expression | Statement)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘test’, ‘body’, ‘orelse’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, body, col_offset, indent_amount, lineno, orelse, test
- copy_copy: _list, body, orelse
- ast_convert_attr: body, orelse, test
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: body, col_offset, lineno, orelse, test
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
as_return
(**kwargs)¶
-
as_value
(obj, *args, **kwargs)¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
resolve_progn
(obj, *args, **kwargs)¶
-
class
syn.python.b.blocks.
For
(target, iter, body, orelse, **kwargs)¶ Bases:
syn.python.b.blocks.Block
Positional Arguments:
target: Name | Tuple | List iter: Expression body: list (Expression | Statement) orelse: list (Expression | Statement)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘target’, ‘iter’, ‘body’, ‘orelse’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, body, col_offset, indent_amount, iter, lineno, orelse, target
- copy_copy: _list, body, orelse
- ast_convert_attr: body, iter, orelse, target
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: body, col_offset, iter, lineno, orelse, target
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.blocks.
While
(test, body, orelse, **kwargs)¶ Bases:
syn.python.b.blocks.Block
Positional Arguments:
test: Expression body: list (Expression | Statement) orelse: list (Expression | Statement)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘test’, ‘body’, ‘orelse’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, body, col_offset, indent_amount, lineno, orelse, test
- copy_copy: _list, body, orelse
- ast_convert_attr: body, orelse, test
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: body, col_offset, lineno, orelse, test
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.blocks.
Arg
(arg, [annotation, ]**kwargs)¶ Bases:
syn.python.b.base.PythonNode
Positional Arguments:
arg: basestring annotation [Optional]: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: [‘arg’, ‘annotation’]
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, annotation, arg, col_offset, indent_amount, lineno
- copy_copy: _list
- ast_convert_attr: annotation
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: annotation, arg, col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.blocks.
Arguments
(args, [vararg, ][kwarg, ]defaults, **kwargs)¶ Bases:
syn.python.b.base.PythonNode
Positional Arguments:
args: list (Name) vararg [Optional]: basestring kwarg [Optional]: basestring defaults: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: [‘args’, ‘vararg’, ‘kwarg’, ‘defaults’]
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, args, col_offset, defaults, indent_amount, kwarg, lineno, vararg
- copy_copy: _list, args, defaults
- ast_convert_attr: args, defaults
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: args, col_offset, defaults, kwarg, lineno, vararg
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
arguments
-
emit
(**kwargs)¶
-
emit2
(**kwargs)¶
-
emit3
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.blocks.
FunctionDef
(name, args, body, [decorator_list, ]**kwargs)¶ Bases:
syn.python.b.blocks.Block
Positional Arguments:
name: basestring args: Arguments body: list (Expression | Statement) decorator_list [Optional]: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: [‘name’, ‘args’, ‘body’, ‘decorator_list’]
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, args, body, col_offset, decorator_list, indent_amount, lineno, name
- copy_copy: _list, body, decorator_list
- ast_convert_attr: args, body, decorator_list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: args, body, col_offset, decorator_list, lineno, name
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
FunctionDef
-
emit
(**kwargs)¶
-
emit_decorators
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
syn.python.b.expressions module¶
-
class
syn.python.b.expressions.
Expr
(value, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
value: PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘value’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, value
- copy_copy: _list
- ast_convert_attr: value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Operator
(**kwargs)¶ Bases:
syn.python.b.base.Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= None¶
-
class
syn.python.b.expressions.
UnaryOperator
(**kwargs)¶ Bases:
syn.python.b.expressions.Operator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
UnaryOp
(op, operand, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
op: UnaryOperator operand: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: [‘op’, ‘operand’]
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, op, operand
- copy_copy: _list
- ast_convert_attr: op, operand
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, op, operand
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
UAdd
(**kwargs)¶ Bases:
syn.python.b.expressions.UnaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '+'¶
-
class
syn.python.b.expressions.
USub
(**kwargs)¶ Bases:
syn.python.b.expressions.UnaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '-'¶
-
class
syn.python.b.expressions.
Not
(**kwargs)¶ Bases:
syn.python.b.expressions.UnaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'not'¶
-
class
syn.python.b.expressions.
Invert
(**kwargs)¶ Bases:
syn.python.b.expressions.UnaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '~'¶
-
class
syn.python.b.expressions.
BinaryOperator
(**kwargs)¶ Bases:
syn.python.b.expressions.Operator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
BinOp
(left, op, right, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
left: Expression op: BinaryOperator right: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘left’, ‘op’, ‘right’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, left, lineno, op, right
- copy_copy: _list
- ast_convert_attr: left, op, right
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, left, lineno, op, right
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
A
¶ attrgetter(attr, ...) –> attrgetter object
Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter(‘name’), the call f(r) returns r.name. After g = attrgetter(‘name’, ‘date’), the call g(r) returns (r.name, r.date). After h = attrgetter(‘name.first’, ‘name.last’), the call h(r) returns (r.name.first, r.name.last).
-
B
¶ attrgetter(attr, ...) –> attrgetter object
Return a callable object that fetches the given attribute(s) from its operand. After f = attrgetter(‘name’), the call f(r) returns r.name. After g = attrgetter(‘name’, ‘date’), the call g(r) returns (r.name, r.date). After h = attrgetter(‘name.first’, ‘name.last’), the call h(r) returns (r.name.first, r.name.last).
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Add
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '+'¶
-
class
syn.python.b.expressions.
Sub
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '-'¶
-
class
syn.python.b.expressions.
Mult
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '*'¶
-
class
syn.python.b.expressions.
Div
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '/'¶
-
class
syn.python.b.expressions.
FloorDiv
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '//'¶
-
class
syn.python.b.expressions.
Mod
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '%'¶
-
class
syn.python.b.expressions.
Pow
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '**'¶
-
class
syn.python.b.expressions.
LShift
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '<<'¶
-
class
syn.python.b.expressions.
RShift
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '>>'¶
-
class
syn.python.b.expressions.
BitOr
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '|'¶
-
class
syn.python.b.expressions.
BitXor
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '^'¶
-
class
syn.python.b.expressions.
BitAnd
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '&'¶
-
class
syn.python.b.expressions.
MatMult
(**kwargs)¶ Bases:
syn.python.b.expressions.BinaryOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '3.5'¶
-
symbol
= '@'¶
-
class
syn.python.b.expressions.
BooleanOperator
(**kwargs)¶ Bases:
syn.python.b.expressions.Operator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
BoolOp
(op, values, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
op: BooleanOperator values: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘op’, ‘values’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, op, values
- copy_copy: _list, values
- ast_convert_attr: op, values
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, op, values
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
And
(**kwargs)¶ Bases:
syn.python.b.expressions.BooleanOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'and'¶
-
class
syn.python.b.expressions.
Or
(**kwargs)¶ Bases:
syn.python.b.expressions.BooleanOperator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'or'¶
-
class
syn.python.b.expressions.
Comparator
(**kwargs)¶ Bases:
syn.python.b.expressions.Operator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Compare
(left, ops, comparators, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
left: Expression ops: list (Comparator) comparators: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘left’, ‘ops’, ‘comparators’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, comparators, indent_amount, left, lineno, ops
- copy_copy: _list, comparators, ops
- ast_convert_attr: comparators, left, ops
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, comparators, left, lineno, ops
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Eq
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '=='¶
-
class
syn.python.b.expressions.
NotEq
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '!='¶
-
class
syn.python.b.expressions.
Lt
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '<'¶
-
class
syn.python.b.expressions.
LtE
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '<='¶
-
class
syn.python.b.expressions.
Gt
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '>'¶
-
class
syn.python.b.expressions.
GtE
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= '>='¶
-
class
syn.python.b.expressions.
Is
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'is'¶
-
class
syn.python.b.expressions.
IsNot
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'is not'¶
-
class
syn.python.b.expressions.
In
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'in'¶
-
class
syn.python.b.expressions.
NotIn
(**kwargs)¶ Bases:
syn.python.b.expressions.Comparator
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
symbol
= 'not in'¶
-
class
syn.python.b.expressions.
Keyword
(arg, value, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
arg: basestring value: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘arg’, ‘value’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, arg, col_offset, indent_amount, lineno, value
- copy_copy: _list
- ast_convert_attr: value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: arg, col_offset, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
keyword
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Call
(func, [args, ][keywords, ][starargs, ][kwargs, ]**kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
func: Expression args [Optional]: list (Expression) keywords [Optional]: list (Keyword) starargs [Optional]: PythonNode kwargs [Optional]: PythonNode
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: [‘func’, ‘args’, ‘keywords’, ‘starargs’, ‘kwargs’]
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, args, col_offset, func, indent_amount, keywords, kwargs, lineno, starargs
- copy_copy: _list, args, keywords
- ast_convert_attr: args, func, keywords, kwargs, starargs
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: args, col_offset, func, keywords, kwargs, lineno, starargs
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
IfExp
(test, body, orelse, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
test: Expression body: Expression orelse: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘test’, ‘body’, ‘orelse’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, body, col_offset, indent_amount, lineno, orelse, test
- copy_copy: _list
- ast_convert_attr: body, orelse, test
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: body, col_offset, lineno, orelse, test
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.expressions.
Attribute
(value, attr, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
value: Expression attr: basestring
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int ctx (default = Load(_child_map = {}, _children_set = True, _progn_value = None, col_offset = None, indent_amount = 4, lineno = None)): Context indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘value’, ‘attr’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, attr, col_offset, ctx, indent_amount, lineno, value
- copy_copy: _list
- ast_convert_attr: ctx, value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: attr, col_offset, ctx, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
syn.python.b.literals module¶
-
class
syn.python.b.literals.
Literal
(**kwargs)¶ Bases:
syn.python.b.base.Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
Num
(n, **kwargs)¶ Bases:
syn.python.b.literals.Literal
Positional Arguments:
- n: int | long | float | complex
- The numerical value
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘n’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, n
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, n
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
Str
(s, **kwargs)¶ Bases:
syn.python.b.literals.Literal
Positional Arguments:
- s: basestring
- The string contents
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘s’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, s
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, s
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
Bytes
(s, **kwargs)¶ Bases:
syn.python.b.literals.Literal
Positional Arguments:
s: str
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘s’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, s
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, s
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '3'¶
-
class
syn.python.b.literals.
Sequence
(elts, **kwargs)¶ Bases:
syn.python.b.literals.Literal
Positional Arguments:
elts: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘elts’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, elts, indent_amount, lineno
- copy_copy: _list, elts
- ast_convert_attr: elts
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, elts, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
bounds
= ('[', ']')¶
-
delim
= ', '¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
List
(elts, **kwargs)¶ Bases:
syn.python.b.literals.Sequence
Positional Arguments:
elts: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int ctx (default = Load(_child_map = {}, _children_set = True, _progn_value = None, col_offset = None, indent_amount = 4, lineno = None)): Context indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘elts’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, ctx, elts, indent_amount, lineno
- copy_copy: _list, elts
- ast_convert_attr: ctx, elts
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, ctx, elts, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
Tuple
(elts, **kwargs)¶ Bases:
syn.python.b.literals.List
Positional Arguments:
elts: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int ctx (default = Load(_child_map = {}, _children_set = True, _progn_value = None, col_offset = None, indent_amount = 4, lineno = None)): Context indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘elts’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, ctx, elts, indent_amount, lineno
- copy_copy: _list, elts
- ast_convert_attr: ctx, elts
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, ctx, elts, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
bounds
= ('(', ')')¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
Set
(elts, **kwargs)¶ Bases:
syn.python.b.literals.Sequence
Positional Arguments:
elts: list (Expression)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘elts’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, elts, indent_amount, lineno
- copy_copy: _list, elts
- ast_convert_attr: elts
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, elts, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
bounds
= ('{', '}')¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.literals.
NameConstant
(value, **kwargs)¶ Bases:
syn.python.b.literals.Literal
Positional Arguments:
value: [True, False, None]
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘value’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, value
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '3.4'¶
syn.python.b.statements module¶
-
class
syn.python.b.statements.
Assign
(targets, value, **kwargs)¶ Bases:
syn.python.b.base.Statement
Positional Arguments:
targets: list (Expression) value: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘targets’, ‘value’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, targets, value
- copy_copy: _list, targets
- ast_convert_attr: targets, value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, targets, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
as_value
(obj, *args, **kwargs)¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Return
([value, ]**kwargs)¶ Bases:
syn.python.b.base.Statement
Positional Arguments:
value [Optional]: Expression
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘value’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, value
- copy_copy: _list
- ast_convert_attr: value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Alias
(name, [asname, ]**kwargs)¶ Bases:
syn.python.b.base.Statement
Positional Arguments:
name: basestring asname [Optional]: basestring
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘name’, ‘asname’)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, asname, col_offset, indent_amount, lineno, name
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: asname, col_offset, lineno, name
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
¶ alias of
alias
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Import
(names, **kwargs)¶ Bases:
syn.python.b.base.Statement
Positional Arguments:
names: list (Alias)
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘names’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno, names
- copy_copy: _list, names
- ast_convert_attr: names
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno, names
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
EmptyStatement
(**kwargs)¶ Bases:
syn.python.b.base.Statement
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Break
(**kwargs)¶ Bases:
syn.python.b.statements.EmptyStatement
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Continue
(**kwargs)¶ Bases:
syn.python.b.statements.EmptyStatement
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
maxver
= '100'¶
-
minver
= '0'¶
-
class
syn.python.b.statements.
Pass
(**kwargs)¶ Bases:
syn.python.b.statements.EmptyStatement
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: ()
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, indent_amount, lineno
- copy_copy: _list
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
as_return
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
syn.python.b.variables module¶
-
class
syn.python.b.variables.
Name
(id, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
id: basestring
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int ctx (default = Load(_child_map = {}, _children_set = True, _progn_value = None, col_offset = None, indent_amount = 4, lineno = None)): Context indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘id’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, ctx, id, indent_amount, lineno
- copy_copy: _list
- ast_convert_attr: ctx
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, ctx, id, lineno
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '0'¶
-
variables
(**kwargs)¶
-
class
syn.python.b.variables.
Starred
(value, **kwargs)¶ Bases:
syn.python.b.base.Expression
Positional Arguments:
value: Name
Keyword-Only Arguments:
_child_map: dict _children_set (default = False): bool _id [Optional]: int
Integer id of the node- _list: list
- Child nodes
- _name [Optional]: basestring
- Name of the node (for display purposes)
- _node_count: int
- The number of nodes in the subtreerooted by this node.
- _parent [Optional]: Node
- Parent of this node
_progn_value [Optional]: object col_offset [Optional]: int ctx (default = Load(_child_map = {}, _children_set = True, _progn_value = None, col_offset = None, indent_amount = 4, lineno = None)): Context indent_amount [Optional] (default = 4): int
The number of spaces to indent per indent levellineno [Optional]: int
Class Options:
- args: (‘value’,)
- autodoc: True
- coerce_args: False
- descendant_exclude: ()
- id_equality: False
- init_validate: False
- make_hashable: False
- make_type_object: True
- max_len: 0
- min_len: None
- must_be_root: False
- optional_none: True
- register_subclasses: False
- repr_template:
- coerce_hooks: ()
- create_hooks: ()
- init_hooks: ()
- init_order: ()
- metaclass_lookup: (‘coerce_hooks’, ‘init_hooks’, ‘create_hooks’, ‘setstate_hooks’)
- setstate_hooks: ()
Aliases:
- _list: _children
Groups:
- _all: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value, col_offset, ctx, indent_amount, lineno, value
- copy_copy: _list
- ast_convert_attr: ctx, value
- hash_exclude: _parent
- generate_exclude: _node_count, _parent
- _internal: _child_map, _children_set, _id, _list, _name, _node_count, _parent, _progn_value
- repr_exclude: _list, _parent
- ast_attr: col_offset, ctx, lineno, value
- eq_exclude: _parent
- getstate_exclude: _parent
- str_exclude: _id, _list, _name, _node_count, _parent
-
ast
= None¶
-
emit
(**kwargs)¶
-
maxver
= '100'¶
-
minver
= '3'¶