nitcc_runtime :: NProd :: children=
nitcc_runtime :: NProd :: defaultinit
nitcc_runtime :: NProd :: number_of_children
The exact number of direct childrennitcc_runtime $ NProd :: SELF
Type of this instance, automatically specialized in every classnitcc_runtime $ NProd :: children
A point of view on the direct children of the nodenitcc_runtime :: Node :: children
A point of view on the direct children of the nodenitcc_runtime :: NProd :: children=
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitcc_runtime :: Node :: defaultinit
core :: Object :: defaultinit
nitcc_runtime :: NProd :: defaultinit
nitcc_runtime :: Node :: depth
A point of view of a depth-first visit of all non-null childrennitcc_runtime :: Node :: depth=
A point of view of a depth-first visit of all non-null childrencore :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
nitcc_runtime :: Node :: node_name
The name of the node (as used in the grammar file)nitcc_runtime :: NProd :: number_of_children
The exact number of direct childrencore :: Object :: output_class_name
Display class name on stdout (debug only).nitcc_runtime :: Node :: position
The position of the node in the input streamnitcc_runtime :: Node :: position=
The position of the node in the input streamnitcc_runtime :: Node :: to_dot
Produce a graphiz file for the syntaxtic tree rooted atself
.
nitcc_runtime :: Node :: visit_children
Visit all the children of the node with the visitorv
# A production with a specific, named and statically typed children
abstract class NProd
super Node
redef var children: SequenceRead[nullable Node] = new NProdChildren(self)
# The exact number of direct children
# Used to implement `children` by generated parsers
fun number_of_children: Int is abstract
# The specific children got by its index
# Used to implement `children` by generated parsers
fun child(x: Int): nullable Node is abstract
end
lib/nitcc_runtime/nitcc_runtime.nit:554,1--566,3