Logo Search packages:      
Sourcecode: jflex version File versions

abstract Symbol java_cup::runtime::lr_parser::do_action ( int  act_num,
lr_parser  parser,
Stack  stack,
int  top 
) throws java.lang.Exception [pure virtual]

Perform a bit of user supplied action code (supplied by generated subclass). Actions are indexed by an internal action number assigned at parser generation time.

act_num the internal index of the action to be performed.
parser the parser object we are acting for.
stack the parse stack of that object.
top the index of the top element of the parse stack.

Referenced by debug_parse(), parse(), and parse_lookahead().

Generated by  Doxygen 1.6.0   Back to index