nitc :: ReduceAction0 :: defaultinit
nitc $ ReduceAction0 :: SELF
Type of this instance, automatically specialized in every classnitc $ ReduceAction0 :: action
nitc :: ReduceAction :: _goto
nitc :: ReduceAction :: action
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ReduceAction :: defaultinit
nitc :: ReduceAction0 :: defaultinit
core :: Object :: defaultinit
nitc :: ReduceAction :: goto
nitc :: ReduceAction :: goto=
core :: 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.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: ReduceAction
Each reduce action has its own class, this one is the root of the hierarchy.
private class ReduceAction0
super ReduceAction
redef fun action(p: Parser)
do
var node_list: nullable Object = null
var nodearraylist1 = p.pop
var listnode3 = new Array[Object]
var listnode4 = new Array[Object]
var listnode6 = new Array[Object]
var pclassdefnode5 = nodearraylist1
assert pclassdefnode5 isa nullable AClassdef
if pclassdefnode5 != null then
listnode6.add(pclassdefnode5)
end
var pmodulenode1: nullable AModule = new AModule.init_amodule(
null,
listnode3,
listnode4,
listnode6
)
node_list = pmodulenode1
p.push(p.go_to(_goto), node_list)
end
end
src/parser/parser.nit:1805,1--1828,3