org.openmrs.arden
Class ArdenBaseTreeParser

java.lang.Object
  extended by antlr.TreeParser
      extended by org.openmrs.arden.ArdenBaseTreeParser
All Implemented Interfaces:
ArdenBaseTreeParserTokenTypes

public class ArdenBaseTreeParser
extends antlr.TreeParser
implements ArdenBaseTreeParserTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_10
           
static antlr.collections.impl.BitSet _tokenSet_11
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_5
           
static antlr.collections.impl.BitSet _tokenSet_6
           
static antlr.collections.impl.BitSet _tokenSet_7
           
static antlr.collections.impl.BitSet _tokenSet_8
           
static antlr.collections.impl.BitSet _tokenSet_9
           
 
Fields inherited from class antlr.TreeParser
_retTree, astFactory, ASTNULL, inputState, returnAST, tokenNames, traceDepth
 
Fields inherited from interface org.openmrs.arden.ArdenBaseTreeParserTokenTypes
ACTION, ACTION_OP, AFTER, AGE_MAX, AGE_MIN, AGO, AMPERSAND, AND, ANY, APOSTROPHE, ARDEN_CURLY_BRACKETS, ARE, AT, AUTHOR, AVERAGE, AVG, BE, BECOMES, BEFORE, CALL, CITATIONS, COLON, COMMA, COMMENT, CONCLUDE, COUNT, DATA, DATE, DAY, DAYS, DIGIT, DIV, DOT, EARLIEST, ELSE, ELSEIF, ENDBLOCK, ENDIF, EOF, EQUAL, EQUALS, EVENT, EXIST, EXISTS, EXPLANATION, FALSE, FILENAME, FIRST, FROM, GREATER, GT, GTE, HTTP, ID, IF, IN, INSTITUTION, INTLIT, IS, IT, KEYWORDS, KNOWLEDGE, LAST, LATEST, LESS, LET, LIBRARY, LINKS, LITERAL_arden, LITERAL_BOOLEAN, LITERAL_CALL, LITERAL_DATA, LITERAL_data_driven, LITERAL_DURATION, LITERAL_end, LITERAL_EQ, LITERAL_evoke, LITERAL_expired, LITERAL_GE, LITERAL_GT, LITERAL_hour, LITERAL_hours, LITERAL_LE, LITERAL_LIST, LITERAL_LT, LITERAL_MERGE, LITERAL_minute, LITERAL_minutes, LITERAL_NE, LITERAL_NULL, LITERAL_NUMBER, LITERAL_OBJECT, LITERAL_Occur, LITERAL_OCCUR, LITERAL_Occurred, LITERAL_OCCURRED, LITERAL_occurs, LITERAL_Occurs, LITERAL_OCCURS, LITERAL_PRESENT, LITERAL_production, LITERAL_REFUTE, LITERAL_seconds, LITERAL_SEQTO, LITERAL_SORT, LITERAL_STRING, LITERAL_SUPPORT, LITERAL_testing, LITERAL_urgency, LITERAL_validation, LOGIC, LPAREN, LT, LTE, MAINTENANCE, MAX, MAXIMUM, MEDIAN, MIN, MINIMUM, MINUS, ML_COMMENT, MLMNAME, MONTH, MONTHS, NE, NOT, NOT_COMMENT, NOW, NULL, NULL_TREE_LOOKAHEAD, NUMBER, OCCUR, OF, OR, PAST, PERCENT, PLUS, POUND, PRESENT, PRIORITY, PURPOSE, READ, RESEARCH, RPAREN, SECOND, SEMI, SINGLE_QUOTE, SPECIALIST, STRING_LITERAL, SUM, TERM_LITERAL, THAN, THE, THEN, THEY, TIME, TIMES, TITLE, TO, TRUE, TYPE, UNDERSCORE, VERSION, WAS, WEEK, WEEKS, WEIRD_IDENT, WERE, WHERE, WITH, WITHIN, WRITE, YEAR, YEARS
 
Constructor Summary
ArdenBaseTreeParser()
           
 
Method Summary
 java.lang.String action(antlr.collections.AST _t, MLMObject obj)
          ACTION
 java.lang.String binary_comp_opAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj, java.lang.String key)
           
 java.lang.String callSectionAST(antlr.collections.AST _t, MLMObject obj, java.lang.String key, java.lang.String section)
           
 java.lang.String callStringAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj, java.lang.String instr)
           
 java.lang.String concludeAST(antlr.collections.AST _t, MLMObject obj, java.lang.String key)
           
 java.lang.String data_elseifAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String data(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String dataIfAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String dateAST(antlr.collections.AST _t, java.util.GregorianCalendar calendar)
           
 java.lang.String doubleAST(antlr.collections.AST _t, MLMObject obj)
           
 void duration_op(antlr.collections.AST _t)
           
 java.lang.String eventAST(antlr.collections.AST _t)
           
 java.lang.String expr_andAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj)
           
 java.lang.String expr_comparisonAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj)
           
 java.lang.String expr_functionAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String expr_notAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj)
           
 java.lang.String expr_orAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj)
           
 java.lang.String exprAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj)
           
 java.lang.String exprStringAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj, java.lang.String instr)
           
 java.lang.String from_of_func_opAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String ifAST(antlr.collections.AST _t, MLMObject obj, java.lang.String section)
           
 java.lang.String knowledge_text(antlr.collections.AST _t, MLMObject obj)
          KNOWLEDGE TEXT- To return data, logic and action text to populate the DB
 java.lang.String knowledge(antlr.collections.AST _t, MLMObject obj)
          KNOWLEDGE
 java.lang.String library(antlr.collections.AST _t, MLMObject obj)
          LIBRARY
 java.lang.String logic_elseifAST(antlr.collections.AST _t, MLMObject obj, java.lang.Integer i)
           
 java.lang.String logic(antlr.collections.AST _t, MLMObject obj)
          LOGIC
 java.lang.String logicAssignmentAST(antlr.collections.AST _t, MLMObject obj, java.lang.String key)
           
 java.lang.String maintenance(antlr.collections.AST _t, MLMObject obj)
          MAINTENANCE
 java.lang.String of_noread_func_opAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String of_read_func_opAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String readAST(antlr.collections.AST _t, MLMObject obj, java.lang.String instr)
           
 java.lang.String simple_comp_opAST(antlr.collections.AST _t, java.lang.String section, MLMObject obj, java.lang.String key)
           
 java.lang.String textAST(antlr.collections.AST _t, MLMObject obj)
           
 java.lang.String where_it_occurredAST(antlr.collections.AST _t, MLMObject obj, java.lang.String key)
           
 java.lang.String writeAST(antlr.collections.AST _t, MLMObject obj)
           
 
Methods inherited from class antlr.TreeParser
getAST, getASTFactory, getTokenName, getTokenNames, match, match, matchNot, panic, reportError, reportError, reportWarning, setASTFactory, setASTNodeClass, setASTNodeType, traceIn, traceIndent, traceOut
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3

_tokenSet_4

public static final antlr.collections.impl.BitSet _tokenSet_4

_tokenSet_5

public static final antlr.collections.impl.BitSet _tokenSet_5

_tokenSet_6

public static final antlr.collections.impl.BitSet _tokenSet_6

_tokenSet_7

public static final antlr.collections.impl.BitSet _tokenSet_7

_tokenSet_8

public static final antlr.collections.impl.BitSet _tokenSet_8

_tokenSet_9

public static final antlr.collections.impl.BitSet _tokenSet_9

_tokenSet_10

public static final antlr.collections.impl.BitSet _tokenSet_10

_tokenSet_11

public static final antlr.collections.impl.BitSet _tokenSet_11
Constructor Detail

ArdenBaseTreeParser

public ArdenBaseTreeParser()
Method Detail

data

public final java.lang.String data(antlr.collections.AST _t,
                                   MLMObject obj)
                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

readAST

public final java.lang.String readAST(antlr.collections.AST _t,
                                      MLMObject obj,
                                      java.lang.String instr)
                               throws antlr.RecognitionException
Throws:
antlr.RecognitionException

eventAST

public final java.lang.String eventAST(antlr.collections.AST _t)
                                throws antlr.RecognitionException
Throws:
antlr.RecognitionException

dataIfAST

public final java.lang.String dataIfAST(antlr.collections.AST _t,
                                        MLMObject obj)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

data_elseifAST

public final java.lang.String data_elseifAST(antlr.collections.AST _t,
                                             MLMObject obj)
                                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

callSectionAST

public final java.lang.String callSectionAST(antlr.collections.AST _t,
                                             MLMObject obj,
                                             java.lang.String key,
                                             java.lang.String section)
                                      throws antlr.RecognitionException
Throws:
antlr.RecognitionException

exprAST

public final java.lang.String exprAST(antlr.collections.AST _t,
                                      java.lang.String section,
                                      MLMObject obj)
                               throws antlr.RecognitionException
Throws:
antlr.RecognitionException

where_it_occurredAST

public final java.lang.String where_it_occurredAST(antlr.collections.AST _t,
                                                   MLMObject obj,
                                                   java.lang.String key)
                                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

duration_op

public final void duration_op(antlr.collections.AST _t)
                       throws antlr.RecognitionException
Throws:
antlr.RecognitionException

from_of_func_opAST

public final java.lang.String from_of_func_opAST(antlr.collections.AST _t,
                                                 MLMObject obj)
                                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

of_read_func_opAST

public final java.lang.String of_read_func_opAST(antlr.collections.AST _t,
                                                 MLMObject obj)
                                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

of_noread_func_opAST

public final java.lang.String of_noread_func_opAST(antlr.collections.AST _t,
                                                   MLMObject obj)
                                            throws antlr.RecognitionException
Throws:
antlr.RecognitionException

logic

public final java.lang.String logic(antlr.collections.AST _t,
                                    MLMObject obj)
                             throws antlr.RecognitionException
LOGIC

Throws:
antlr.RecognitionException

ifAST

public final java.lang.String ifAST(antlr.collections.AST _t,
                                    MLMObject obj,
                                    java.lang.String section)
                             throws antlr.RecognitionException
Throws:
antlr.RecognitionException

logicAssignmentAST

public final java.lang.String logicAssignmentAST(antlr.collections.AST _t,
                                                 MLMObject obj,
                                                 java.lang.String key)
                                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

concludeAST

public final java.lang.String concludeAST(antlr.collections.AST _t,
                                          MLMObject obj,
                                          java.lang.String key)
                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

logic_elseifAST

public final java.lang.String logic_elseifAST(antlr.collections.AST _t,
                                              MLMObject obj,
                                              java.lang.Integer i)
                                       throws antlr.RecognitionException
Throws:
antlr.RecognitionException

callStringAST

public final java.lang.String callStringAST(antlr.collections.AST _t,
                                            java.lang.String section,
                                            MLMObject obj,
                                            java.lang.String instr)
                                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

exprStringAST

public final java.lang.String exprStringAST(antlr.collections.AST _t,
                                            java.lang.String section,
                                            MLMObject obj,
                                            java.lang.String instr)
                                     throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expr_comparisonAST

public final java.lang.String expr_comparisonAST(antlr.collections.AST _t,
                                                 java.lang.String section,
                                                 MLMObject obj)
                                          throws antlr.RecognitionException
Throws:
antlr.RecognitionException

simple_comp_opAST

public final java.lang.String simple_comp_opAST(antlr.collections.AST _t,
                                                java.lang.String section,
                                                MLMObject obj,
                                                java.lang.String key)
                                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

binary_comp_opAST

public final java.lang.String binary_comp_opAST(antlr.collections.AST _t,
                                                java.lang.String section,
                                                MLMObject obj,
                                                java.lang.String key)
                                         throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expr_functionAST

public final java.lang.String expr_functionAST(antlr.collections.AST _t,
                                               MLMObject obj)
                                        throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expr_notAST

public final java.lang.String expr_notAST(antlr.collections.AST _t,
                                          java.lang.String section,
                                          MLMObject obj)
                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expr_andAST

public final java.lang.String expr_andAST(antlr.collections.AST _t,
                                          java.lang.String section,
                                          MLMObject obj)
                                   throws antlr.RecognitionException
Throws:
antlr.RecognitionException

expr_orAST

public final java.lang.String expr_orAST(antlr.collections.AST _t,
                                         java.lang.String section,
                                         MLMObject obj)
                                  throws antlr.RecognitionException
Throws:
antlr.RecognitionException

action

public final java.lang.String action(antlr.collections.AST _t,
                                     MLMObject obj)
                              throws antlr.RecognitionException
ACTION

Throws:
antlr.RecognitionException

writeAST

public final java.lang.String writeAST(antlr.collections.AST _t,
                                       MLMObject obj)
                                throws antlr.RecognitionException
Throws:
antlr.RecognitionException

knowledge

public final java.lang.String knowledge(antlr.collections.AST _t,
                                        MLMObject obj)
                                 throws antlr.RecognitionException
KNOWLEDGE

Throws:
antlr.RecognitionException

doubleAST

public final java.lang.String doubleAST(antlr.collections.AST _t,
                                        MLMObject obj)
                                 throws antlr.RecognitionException
Throws:
antlr.RecognitionException

textAST

public final java.lang.String textAST(antlr.collections.AST _t,
                                      MLMObject obj)
                               throws antlr.RecognitionException
Throws:
antlr.RecognitionException

knowledge_text

public final java.lang.String knowledge_text(antlr.collections.AST _t,
                                             MLMObject obj)
                                      throws antlr.RecognitionException
KNOWLEDGE TEXT- To return data, logic and action text to populate the DB

Throws:
antlr.RecognitionException

maintenance

public final java.lang.String maintenance(antlr.collections.AST _t,
                                          MLMObject obj)
                                   throws antlr.RecognitionException
MAINTENANCE

Throws:
antlr.RecognitionException

library

public final java.lang.String library(antlr.collections.AST _t,
                                      MLMObject obj)
                               throws antlr.RecognitionException
LIBRARY

Throws:
antlr.RecognitionException

dateAST

public final java.lang.String dateAST(antlr.collections.AST _t,
                                      java.util.GregorianCalendar calendar)
                               throws antlr.RecognitionException
Throws:
antlr.RecognitionException

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change