The Meta-Environment API

toolbus.parsercup
Class CUP$parser$actions

java.lang.Object
  extended by toolbus.parsercup.CUP$parser$actions

 class CUP$parser$actions
extends java.lang.Object

Cup generated class to encapsulate user supplied action code.


Field Summary
private  parser parser
           
 
Constructor Summary
CUP$parser$actions(parser parser)
          Constructor
 
Method Summary
 java_cup.runtime.Symbol CUP$parser$do_action(int CUP$parser$act_num, java_cup.runtime.lr_parser CUP$parser$parser, java.util.Stack CUP$parser$stack, int CUP$parser$top)
          Method with the actual generated action code.
private  PositionInformation makePosInfo(java_cup.runtime.Symbol beginSymbol, java_cup.runtime.Symbol endSymbol)
           
private  PositionInformation makePosInfoWithEndColumnOffset(java_cup.runtime.Symbol beginSymbol, java_cup.runtime.Symbol endSymbol, int endColumnOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parser

private final parser parser
Constructor Detail

CUP$parser$actions

CUP$parser$actions(parser parser)
Constructor

Method Detail

makePosInfo

private PositionInformation makePosInfo(java_cup.runtime.Symbol beginSymbol,
                                        java_cup.runtime.Symbol endSymbol)

makePosInfoWithEndColumnOffset

private PositionInformation makePosInfoWithEndColumnOffset(java_cup.runtime.Symbol beginSymbol,
                                                           java_cup.runtime.Symbol endSymbol,
                                                           int endColumnOffset)

CUP$parser$do_action

public final java_cup.runtime.Symbol CUP$parser$do_action(int CUP$parser$act_num,
                                                          java_cup.runtime.lr_parser CUP$parser$parser,
                                                          java.util.Stack CUP$parser$stack,
                                                          int CUP$parser$top)
                                                   throws java.lang.Exception
Method with the actual generated action code.

Throws:
java.lang.Exception

The Meta-Environment API