nitc :: ReduceAction5 :: defaultinit
nitc $ ReduceAction5 :: SELF
Type of this instance, automatically specialized in every classnitc $ ReduceAction5 :: action
nitc :: ReduceAction :: _goto
nitc :: ReduceAction :: action
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ReduceAction :: defaultinit
nitc :: ReduceAction5 :: 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 ReduceAction5
super ReduceAction
redef fun action(p: Parser)
do
var node_list: nullable Object = null
var nodearraylist3 = p.pop
var nodearraylist2 = p.pop
var nodearraylist1 = p.pop
var listnode3 = new Array[Object]
var listnode5 = new Array[Object]
var listnode7 = new Array[Object]
var pmoduledeclnode2 = nodearraylist1
assert pmoduledeclnode2 isa nullable AModuledecl
var listnode4 = nodearraylist2
assert listnode4 isa Array[Object]
listnode5 = concat(listnode5, listnode4)
var pclassdefnode6 = nodearraylist3
assert pclassdefnode6 isa nullable AClassdef
if pclassdefnode6 != null then
listnode7.add(pclassdefnode6)
end
var pmodulenode1: nullable AModule = new AModule.init_amodule(
pmoduledeclnode2,
listnode3,
listnode5,
listnode7
)
node_list = pmodulenode1
p.push(p.go_to(_goto), node_list)
end
end
src/parser/parser.nit:1943,1--1973,3