nitc :: ReduceAction626 :: defaultinit
nitc $ ReduceAction626 :: SELF
Type of this instance, automatically specialized in every classnitc $ ReduceAction626 :: action
nitc :: ReduceAction :: _goto
nitc :: ReduceAction :: action
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ReduceAction :: defaultinit
nitc :: ReduceAction626 :: 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 ReduceAction626
super ReduceAction
redef fun action(p: Parser)
do
var node_list: nullable Object = null
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 listnode4 = new Array[Object]
var tkwfornode2 = nodearraylist1
assert tkwfornode2 isa nullable TKwfor
var listnode3 = nodearraylist3
assert listnode3 isa Array[Object]
listnode4 = concat(listnode4, listnode3)
var tkwdonode5 = nodearraylist5
assert tkwdonode5 isa nullable TKwdo
var pexprnode6 = nodearraylist6
assert pexprnode6 isa nullable AExpr
var pexprnode1: nullable AForExpr = new AForExpr.init_aforexpr(
tkwfornode2,
listnode4,
tkwdonode5,
pexprnode6,
null
)
node_list = pexprnode1
p.push(p.go_to(_goto), node_list)
end
end
src/parser/parser.nit:26617,1--26648,3