nitc :: ReduceAction632 :: defaultinit
nitc $ ReduceAction632 :: SELF
Type of this instance, automatically specialized in every classnitc $ ReduceAction632 :: action
nitc :: ReduceAction :: _goto
nitc :: ReduceAction :: action
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: ReduceAction :: defaultinit
nitc :: ReduceAction632 :: 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 ReduceAction632
super ReduceAction
redef fun action(p: Parser)
do
var node_list: nullable Object = null
var nodearraylist5 = p.pop
var nodearraylist4 = p.pop
var nodearraylist3 = p.pop
var nodearraylist2 = p.pop
var nodearraylist1 = p.pop
var tidnode3 = nodearraylist1
assert tidnode3 isa nullable TId
var ptypenode4 = nodearraylist2
assert ptypenode4 isa nullable AType
var tassignnode5 = nodearraylist3
assert tassignnode5 isa nullable TAssign
var pexprnode6 = nodearraylist5
assert pexprnode6 isa nullable AExpr
var pexprnode1: nullable AVardeclExpr = new AVardeclExpr.init_avardeclexpr(
null,
tidnode3,
ptypenode4,
tassignnode5,
pexprnode6,
null
)
node_list = pexprnode1
p.push(p.go_to(_goto), node_list)
end
end
src/parser/parser.nit:26776,1--26805,3