nitc :: ReduceAction772 :: defaultinit
nitc $ ReduceAction772 :: SELF
Type of this instance, automatically specialized in every classnitc $ ReduceAction772 :: action
nitc :: ReduceAction :: _goto
nitc :: ReduceAction :: action
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ReduceAction :: defaultinit
nitc :: ReduceAction772 :: 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 ReduceAction772
super ReduceAction
redef fun action(p: Parser)
do
var node_list: nullable Object = null
var nodearraylist8 = p.pop
var nodearraylist7 = p.pop
var nodearraylist6 = p.pop
var nodearraylist5 = p.pop
var nodearraylist4 = p.pop
var nodearraylist3 = p.pop
var nodearraylist2 = p.pop
var nodearraylist1 = p.pop
var tkwmethnode2 = nodearraylist1
assert tkwmethnode2 isa nullable TKwmeth
var psignaturenode3 = nodearraylist2
assert psignaturenode3 isa nullable ASignature
var tkwdonode4 = nodearraylist3
assert tkwdonode4 isa nullable TKwdo
var listnode8 = new Array[Object]
var pexprnode6 = nodearraylist5
assert pexprnode6 isa nullable AExpr
var listnode7 = nodearraylist6
assert listnode7 isa Array[Object]
if pexprnode6 != null then
listnode8.add(pexprnode6)
end
listnode8 = concat(listnode8, listnode7)
var pexprnode5: nullable ABlockExpr = new ABlockExpr.init_ablockexpr(
listnode8,
null
)
var pexprnode1: nullable ALambdaExpr = new ALambdaExpr.init_alambdaexpr(
tkwmethnode2,
psignaturenode3,
tkwdonode4,
pexprnode5
)
node_list = pexprnode1
p.push(p.go_to(_goto), node_list)
end
end
src/parser/parser.nit:30112,1--30153,3