java.lang.Object
antlr.Parser
antlr.LLkParser
org.media.mn8.parser.mn8Parser
- All Implemented Interfaces:
- mn8TokenTypes
- public class mn8Parser
- extends antlr.LLkParser
- implements mn8TokenTypes
The parser for mn8.
This class is automaticaly generated by
ANTLR.
- Version:
- $Revision: 1.78 $ $Date: 2002/10/22 19:22:41 $
| Fields inherited from class antlr.LLkParser |
|
| Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, traceDepth |
| Fields inherited from interface org.media.mn8.parser.mn8TokenTypes |
ARRAY_DECLARATOR, ASCENDING, ASSIGN, ATTR, ATTRIDENT, BLOCK, BREAK, BY, CASE, CHAR_LITERAL, COLON, COMMA, CONCEPT_DEFINITION, CONDITION, DEBUG_INFO, DEC, DEFINE, DESCENDING, DIV, DIV_ASSIGN, DO, DOT, EACH, ELEM, ELEM_VALREF, ELIF, ELIF_BLOCK, ELIST, ELMETIDENTIFIER, ELSE, ELSE_BLOCK, EOF, EOL, EQUAL, ESC, EXIT, EXPONENT, EXPR, EXTENDS, FALSE, FIND, FIND_FIRST, FIND_LAST, FIRST, FROM, GE, GT, HEX_DIGIT, IDENT, IF, IF_BLOCK, IMPLEMENTS_CLAUSE, IN, INC, INCLUDE, LABEL, LAND, LAST, LBRACK, LCONT, LCURLY, LE, LNOT, LOR, LPAREN, LT, METH, METHOD_CALL, METHOD_DEFINITION, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, NIL, NOT, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_INT, NUM_REAL, OLIST, OPTIONS, PARAMETER, PAREN_EXPR, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, PRINT, QUESTION, RANGE, RBRACK, RCURLY, RETURN, RPAREN, SEMI, SEP, SL_COMMENT, SOURCE, STAR, STAR_ASSIGN, STATIC, STRING_LITERAL, SUPER, SWITCH, THEN, THIS, TIMEOUT, TO, TRUE, TYPE, TYPEOF, UNARY_MINUS, UNARY_PLUS, VARIABLE, VOCAB, WHERE, WHILE, WS |
|
Constructor Summary |
|
mn8Parser(antlr.ParserSharedInputState state)
|
|
mn8Parser(antlr.TokenBuffer tokenBuf)
|
protected |
mn8Parser(antlr.TokenBuffer tokenBuf,
int k)
|
|
mn8Parser(antlr.TokenStream lexer)
|
protected |
mn8Parser(antlr.TokenStream lexer,
int k)
|
| Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
| Methods inherited from class antlr.Parser |
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
conceptFile
public java.lang.String conceptFile
_conceptName
private java.lang.String _conceptName
debug
boolean debug
_conceptDef
org.media.mn8.mn8ConceptDefinition _conceptDef
deepElementType
java.util.Vector deepElementType
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0_data_
private static final long[] _tokenSet_0_data_
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
_tokenSet_1_data_
private static final long[] _tokenSet_1_data_
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
_tokenSet_2_data_
private static final long[] _tokenSet_2_data_
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
_tokenSet_3_data_
private static final long[] _tokenSet_3_data_
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
_tokenSet_4_data_
private static final long[] _tokenSet_4_data_
_tokenSet_4
public static final antlr.collections.impl.BitSet _tokenSet_4
_tokenSet_5_data_
private static final long[] _tokenSet_5_data_
_tokenSet_5
public static final antlr.collections.impl.BitSet _tokenSet_5
_tokenSet_6_data_
private static final long[] _tokenSet_6_data_
_tokenSet_6
public static final antlr.collections.impl.BitSet _tokenSet_6
_tokenSet_7_data_
private static final long[] _tokenSet_7_data_
_tokenSet_7
public static final antlr.collections.impl.BitSet _tokenSet_7
_tokenSet_8_data_
private static final long[] _tokenSet_8_data_
_tokenSet_8
public static final antlr.collections.impl.BitSet _tokenSet_8
_tokenSet_9_data_
private static final long[] _tokenSet_9_data_
_tokenSet_9
public static final antlr.collections.impl.BitSet _tokenSet_9
_tokenSet_10_data_
private static final long[] _tokenSet_10_data_
_tokenSet_10
public static final antlr.collections.impl.BitSet _tokenSet_10
_tokenSet_11_data_
private static final long[] _tokenSet_11_data_
_tokenSet_11
public static final antlr.collections.impl.BitSet _tokenSet_11
_tokenSet_12_data_
private static final long[] _tokenSet_12_data_
_tokenSet_12
public static final antlr.collections.impl.BitSet _tokenSet_12
_tokenSet_13_data_
private static final long[] _tokenSet_13_data_
_tokenSet_13
public static final antlr.collections.impl.BitSet _tokenSet_13
_tokenSet_14_data_
private static final long[] _tokenSet_14_data_
_tokenSet_14
public static final antlr.collections.impl.BitSet _tokenSet_14
_tokenSet_15_data_
private static final long[] _tokenSet_15_data_
_tokenSet_15
public static final antlr.collections.impl.BitSet _tokenSet_15
_tokenSet_16_data_
private static final long[] _tokenSet_16_data_
_tokenSet_16
public static final antlr.collections.impl.BitSet _tokenSet_16
_tokenSet_17_data_
private static final long[] _tokenSet_17_data_
_tokenSet_17
public static final antlr.collections.impl.BitSet _tokenSet_17
_tokenSet_18_data_
private static final long[] _tokenSet_18_data_
_tokenSet_18
public static final antlr.collections.impl.BitSet _tokenSet_18
_tokenSet_19_data_
private static final long[] _tokenSet_19_data_
_tokenSet_19
public static final antlr.collections.impl.BitSet _tokenSet_19
_tokenSet_20_data_
private static final long[] _tokenSet_20_data_
_tokenSet_20
public static final antlr.collections.impl.BitSet _tokenSet_20
_tokenSet_21_data_
private static final long[] _tokenSet_21_data_
_tokenSet_21
public static final antlr.collections.impl.BitSet _tokenSet_21
_tokenSet_22_data_
private static final long[] _tokenSet_22_data_
_tokenSet_22
public static final antlr.collections.impl.BitSet _tokenSet_22
_tokenSet_23_data_
private static final long[] _tokenSet_23_data_
_tokenSet_23
public static final antlr.collections.impl.BitSet _tokenSet_23
_tokenSet_24_data_
private static final long[] _tokenSet_24_data_
_tokenSet_24
public static final antlr.collections.impl.BitSet _tokenSet_24
_tokenSet_25_data_
private static final long[] _tokenSet_25_data_
_tokenSet_25
public static final antlr.collections.impl.BitSet _tokenSet_25
_tokenSet_26_data_
private static final long[] _tokenSet_26_data_
_tokenSet_26
public static final antlr.collections.impl.BitSet _tokenSet_26
_tokenSet_27_data_
private static final long[] _tokenSet_27_data_
_tokenSet_27
public static final antlr.collections.impl.BitSet _tokenSet_27
_tokenSet_28_data_
private static final long[] _tokenSet_28_data_
_tokenSet_28
public static final antlr.collections.impl.BitSet _tokenSet_28
_tokenSet_29_data_
private static final long[] _tokenSet_29_data_
_tokenSet_29
public static final antlr.collections.impl.BitSet _tokenSet_29
_tokenSet_30_data_
private static final long[] _tokenSet_30_data_
_tokenSet_30
public static final antlr.collections.impl.BitSet _tokenSet_30
_tokenSet_31_data_
private static final long[] _tokenSet_31_data_
_tokenSet_31
public static final antlr.collections.impl.BitSet _tokenSet_31
_tokenSet_32_data_
private static final long[] _tokenSet_32_data_
_tokenSet_32
public static final antlr.collections.impl.BitSet _tokenSet_32
_tokenSet_33_data_
private static final long[] _tokenSet_33_data_
_tokenSet_33
public static final antlr.collections.impl.BitSet _tokenSet_33
_tokenSet_34_data_
private static final long[] _tokenSet_34_data_
_tokenSet_34
public static final antlr.collections.impl.BitSet _tokenSet_34
_tokenSet_35_data_
private static final long[] _tokenSet_35_data_
_tokenSet_35
public static final antlr.collections.impl.BitSet _tokenSet_35
_tokenSet_36_data_
private static final long[] _tokenSet_36_data_
_tokenSet_36
public static final antlr.collections.impl.BitSet _tokenSet_36
_tokenSet_37_data_
private static final long[] _tokenSet_37_data_
_tokenSet_37
public static final antlr.collections.impl.BitSet _tokenSet_37
_tokenSet_38_data_
private static final long[] _tokenSet_38_data_
_tokenSet_38
public static final antlr.collections.impl.BitSet _tokenSet_38
_tokenSet_39_data_
private static final long[] _tokenSet_39_data_
_tokenSet_39
public static final antlr.collections.impl.BitSet _tokenSet_39
_tokenSet_40_data_
private static final long[] _tokenSet_40_data_
_tokenSet_40
public static final antlr.collections.impl.BitSet _tokenSet_40
_tokenSet_41_data_
private static final long[] _tokenSet_41_data_
_tokenSet_41
public static final antlr.collections.impl.BitSet _tokenSet_41
mn8Parser
protected mn8Parser(antlr.TokenBuffer tokenBuf,
int k)
mn8Parser
public mn8Parser(antlr.TokenBuffer tokenBuf)
mn8Parser
protected mn8Parser(antlr.TokenStream lexer,
int k)
mn8Parser
public mn8Parser(antlr.TokenStream lexer)
mn8Parser
public mn8Parser(antlr.ParserSharedInputState state)
cloneASTNode
antlr.collections.AST cloneASTNode(antlr.collections.AST node)
imaginaryTokens
public final void imaginaryTokens()
throws antlr.RecognitionException,
antlr.TokenStreamException
mn8ScriptFile
public final void mn8ScriptFile(java.lang.String conceptName)
throws antlr.RecognitionException,
antlr.TokenStreamException
eol
public final void eol()
throws antlr.RecognitionException,
antlr.TokenStreamException
conceptDefinition
public final void conceptDefinition()
throws antlr.RecognitionException,
antlr.TokenStreamException
statement
public final void statement()
throws antlr.RecognitionException,
antlr.TokenStreamException
labelDeclaration
public final java.lang.String labelDeclaration()
throws antlr.RecognitionException,
antlr.TokenStreamException
extendsDeclaration
public final java.util.Vector extendsDeclaration()
throws antlr.RecognitionException,
antlr.TokenStreamException
conceptBodyComponent
public final void conceptBodyComponent()
throws antlr.RecognitionException,
antlr.TokenStreamException
extendedConceptsList
public final java.util.Vector extendedConceptsList()
throws antlr.RecognitionException,
antlr.TokenStreamException
attributeDeclaration
public final org.media.mn8.mn8ScriptAttribute attributeDeclaration(antlr.Token isStatic)
throws antlr.RecognitionException,
antlr.TokenStreamException
elementDeclaration
public final org.media.mn8.mn8ScriptElement elementDeclaration(antlr.Token isStatic,
org.media.mn8.ConceptDefinition conceptDef)
throws antlr.RecognitionException,
antlr.TokenStreamException
methodDeclaration
public final void methodDeclaration(antlr.Token isStatic)
throws antlr.RecognitionException,
antlr.TokenStreamException
primaryExpression
public final void primaryExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
operator
public final java.lang.String operator()
throws antlr.RecognitionException,
antlr.TokenStreamException
parameterList
public final void parameterList(java.util.Vector paramNames,
java.util.Vector paramTypes)
throws antlr.RecognitionException,
antlr.TokenStreamException
block
public final void block()
throws antlr.RecognitionException,
antlr.TokenStreamException
parameter
public final void parameter(java.util.Vector paramName,
java.util.Vector paramType)
throws antlr.RecognitionException,
antlr.TokenStreamException
expression
public final void expression()
throws antlr.RecognitionException,
antlr.TokenStreamException
toStatement
public final void toStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
typeofStatement
public final void typeofStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
fromStatement
public final void fromStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
printStatement
public final void printStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
statementBlock
public final void statementBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
caseBlock
public final void caseBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
exitStatement
public final void exitStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
whileDoLoopBlock
public final void whileDoLoopBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
doWhileLoopBlock
public final void doWhileLoopBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
ifThenBlock
public final void ifThenBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
findStatement
public final void findStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
returnStatement
public final void returnStatement()
throws antlr.RecognitionException,
antlr.TokenStreamException
eachBlock
public final void eachBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
caseItem
public final void caseItem()
throws antlr.RecognitionException,
antlr.TokenStreamException
elseBlock
public final void elseBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
sourceExpression
public final void sourceExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
breakExpression
public final void breakExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
fromExpression
public final void fromExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
byExpression
public final void byExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
ifBlock
public final void ifBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
elifBlock
public final void elifBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
expressionList
public final void expressionList()
throws antlr.RecognitionException,
antlr.TokenStreamException
additiveExpression
public final void additiveExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
optionsBlock
public final void optionsBlock()
throws antlr.RecognitionException,
antlr.TokenStreamException
optionList
public final void optionList()
throws antlr.RecognitionException,
antlr.TokenStreamException
optionItem
public final void optionItem()
throws antlr.RecognitionException,
antlr.TokenStreamException
assignmentExpression
public final void assignmentExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
logicalOrExpression
public final void logicalOrExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
logicalAndExpression
public final void logicalAndExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
equalityExpression
public final void equalityExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
relationalExpression
public final void relationalExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
multiplicativeExpression
public final void multiplicativeExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
unaryExpression
public final void unaryExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
seriesExpression
public final void seriesExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
literals
public final void literals()
throws antlr.RecognitionException,
antlr.TokenStreamException
identOrLiteral
public final void identOrLiteral()
throws antlr.RecognitionException,
antlr.TokenStreamException
basicExpressionComponents
public final void basicExpressionComponents()
throws antlr.RecognitionException,
antlr.TokenStreamException
postfixExpression
public final void postfixExpression()
throws antlr.RecognitionException,
antlr.TokenStreamException
postDecInc
public final void postDecInc()
throws antlr.RecognitionException,
antlr.TokenStreamException
attributeReference
public final void attributeReference()
throws antlr.RecognitionException,
antlr.TokenStreamException
elementReference
public final void elementReference()
throws antlr.RecognitionException,
antlr.TokenStreamException
methodReference
public final void methodReference()
throws antlr.RecognitionException,
antlr.TokenStreamException
parameterDeclaration
public final void parameterDeclaration()
throws antlr.RecognitionException,
antlr.TokenStreamException
argList
public final void argList()
throws antlr.RecognitionException,
antlr.TokenStreamException
constants
public final void constants()
throws antlr.RecognitionException,
antlr.TokenStreamException
identifier
public final void identifier()
throws antlr.RecognitionException,
antlr.TokenStreamException
logicalConstants
public final void logicalConstants()
throws antlr.RecognitionException,
antlr.TokenStreamException