org.opennms.bb.common.filter
Class CUP$BBRulesParser$actions

java.lang.Object
  |
  +--org.opennms.bb.common.filter.CUP$BBRulesParser$actions

class CUP$BBRulesParser$actions
extends Object

Cup generated class to encapsulate user supplied action code.


Field Summary
(package private)  SQLExpressionMapper mapper
           
private  BBRulesParser parser
           
 
Constructor Summary
(package private) CUP$BBRulesParser$actions(BBRulesParser parser)
          Constructor
 
Method Summary
private  SQLConstruct buildStatement(StringBuffer aWhereClause)
          This method is called by the parser once the entire expression has been parsed.
 java_cup.runtime.Symbol CUP$BBRulesParser$do_action(int CUP$BBRulesParser$act_num, java_cup.runtime.lr_parser CUP$BBRulesParser$parser, Stack CUP$BBRulesParser$stack, int CUP$BBRulesParser$top)
          Method with the actual generated action code.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

mapper

SQLExpressionMapper mapper

parser

private final BBRulesParser parser
Constructor Detail

CUP$BBRulesParser$actions

CUP$BBRulesParser$actions(BBRulesParser parser)
Constructor
Method Detail

buildStatement

private SQLConstruct buildStatement(StringBuffer aWhereClause)
This method is called by the parser once the entire expression has been parsed. It builds a SQLConstruct using the information gathered by the SQLExpressionMapper class as the expression was being parsed.
Parameters:
StringBuffer - aWhereClause, the where clause that was constructed from the parsing of the rule.
Returns:
SQLConstruct, the complete statement

CUP$BBRulesParser$do_action

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