org.media.mn8.parser
Class mn8Parser

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 $
Author:
Remus Pereni

Field Summary
static 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_12
           
static antlr.collections.impl.BitSet _tokenSet_13
           
static antlr.collections.impl.BitSet _tokenSet_14
           
static antlr.collections.impl.BitSet _tokenSet_15
           
static antlr.collections.impl.BitSet _tokenSet_16
           
static antlr.collections.impl.BitSet _tokenSet_17
           
static antlr.collections.impl.BitSet _tokenSet_18
           
static antlr.collections.impl.BitSet _tokenSet_19
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_20
           
static antlr.collections.impl.BitSet _tokenSet_21
           
static antlr.collections.impl.BitSet _tokenSet_22
           
static antlr.collections.impl.BitSet _tokenSet_23
           
static antlr.collections.impl.BitSet _tokenSet_24
           
static antlr.collections.impl.BitSet _tokenSet_25
           
static antlr.collections.impl.BitSet _tokenSet_26
           
static antlr.collections.impl.BitSet _tokenSet_27
           
static antlr.collections.impl.BitSet _tokenSet_28
           
static antlr.collections.impl.BitSet _tokenSet_29
           
static antlr.collections.impl.BitSet _tokenSet_3
           
static antlr.collections.impl.BitSet _tokenSet_30
           
static antlr.collections.impl.BitSet _tokenSet_31
           
static antlr.collections.impl.BitSet _tokenSet_32
           
static antlr.collections.impl.BitSet _tokenSet_33
           
static antlr.collections.impl.BitSet _tokenSet_34
           
static antlr.collections.impl.BitSet _tokenSet_35
           
static antlr.collections.impl.BitSet _tokenSet_36
           
static antlr.collections.impl.BitSet _tokenSet_37
           
static antlr.collections.impl.BitSet _tokenSet_38
           
static antlr.collections.impl.BitSet _tokenSet_39
           
static antlr.collections.impl.BitSet _tokenSet_4
           
static antlr.collections.impl.BitSet _tokenSet_40
           
static antlr.collections.impl.BitSet _tokenSet_41
           
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
           
 String conceptFile
           
 
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)
           
 
Method Summary
 void additiveExpression()
           
 void argList()
           
 void assignmentExpression()
           
 mn8ScriptAttribute attributeDeclaration(antlr.Token isStatic)
           
 void attributeReference()
           
 void basicExpressionComponents()
           
 void block()
           
 void breakExpression()
           
 void byExpression()
           
 void caseBlock()
           
 void caseItem()
           
 void conceptBodyComponent()
           
 void conceptDefinition()
           
 void constants()
           
 void doWhileLoopBlock()
           
 void eachBlock()
           
 mn8ScriptElement elementDeclaration(antlr.Token isStatic, ConceptDefinition conceptDef)
           
 void elementReference()
           
 void elifBlock()
           
 void elseBlock()
           
 void eol()
           
 void equalityExpression()
           
 void exitStatement()
           
 void expression()
           
 void expressionList()
           
 Vector extendedConceptsList()
           
 Vector extendsDeclaration()
           
 void findStatement()
           
 void fromExpression()
           
 void fromStatement()
           
 void identifier()
           
 void identOrLiteral()
           
 void ifBlock()
           
 void ifThenBlock()
           
 void imaginaryTokens()
           
 String labelDeclaration()
           
 void literals()
           
 void logicalAndExpression()
           
 void logicalConstants()
           
 void logicalOrExpression()
           
 void methodDeclaration(antlr.Token isStatic)
           
 void methodReference()
           
 void mn8ScriptFile(String conceptName)
           
 void multiplicativeExpression()
           
 String operator()
           
 void optionItem()
           
 void optionList()
           
 void optionsBlock()
           
 void parameter(Vector paramName, Vector paramType)
           
 void parameterDeclaration()
           
 void parameterList(Vector paramNames, Vector paramTypes)
           
 void postDecInc()
           
 void postfixExpression()
           
 void primaryExpression()
           
 void printStatement()
           
 void relationalExpression()
           
 void returnStatement()
           
 void seriesExpression()
           
 void sourceExpression()
           
 void statement()
           
 void statementBlock()
           
 void toStatement()
           
 void typeofStatement()
           
 void unaryExpression()
           
 void whileDoLoopBlock()
           
 
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
 

Field Detail

conceptFile

public String conceptFile

_tokenNames

public static final 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

_tokenSet_12

public static final antlr.collections.impl.BitSet _tokenSet_12

_tokenSet_13

public static final antlr.collections.impl.BitSet _tokenSet_13

_tokenSet_14

public static final antlr.collections.impl.BitSet _tokenSet_14

_tokenSet_15

public static final antlr.collections.impl.BitSet _tokenSet_15

_tokenSet_16

public static final antlr.collections.impl.BitSet _tokenSet_16

_tokenSet_17

public static final antlr.collections.impl.BitSet _tokenSet_17

_tokenSet_18

public static final antlr.collections.impl.BitSet _tokenSet_18

_tokenSet_19

public static final antlr.collections.impl.BitSet _tokenSet_19

_tokenSet_20

public static final antlr.collections.impl.BitSet _tokenSet_20

_tokenSet_21

public static final antlr.collections.impl.BitSet _tokenSet_21

_tokenSet_22

public static final antlr.collections.impl.BitSet _tokenSet_22

_tokenSet_23

public static final antlr.collections.impl.BitSet _tokenSet_23

_tokenSet_24

public static final antlr.collections.impl.BitSet _tokenSet_24

_tokenSet_25

public static final antlr.collections.impl.BitSet _tokenSet_25

_tokenSet_26

public static final antlr.collections.impl.BitSet _tokenSet_26

_tokenSet_27

public static final antlr.collections.impl.BitSet _tokenSet_27

_tokenSet_28

public static final antlr.collections.impl.BitSet _tokenSet_28

_tokenSet_29

public static final antlr.collections.impl.BitSet _tokenSet_29

_tokenSet_30

public static final antlr.collections.impl.BitSet _tokenSet_30

_tokenSet_31

public static final antlr.collections.impl.BitSet _tokenSet_31

_tokenSet_32

public static final antlr.collections.impl.BitSet _tokenSet_32

_tokenSet_33

public static final antlr.collections.impl.BitSet _tokenSet_33

_tokenSet_34

public static final antlr.collections.impl.BitSet _tokenSet_34

_tokenSet_35

public static final antlr.collections.impl.BitSet _tokenSet_35

_tokenSet_36

public static final antlr.collections.impl.BitSet _tokenSet_36

_tokenSet_37

public static final antlr.collections.impl.BitSet _tokenSet_37

_tokenSet_38

public static final antlr.collections.impl.BitSet _tokenSet_38

_tokenSet_39

public static final antlr.collections.impl.BitSet _tokenSet_39

_tokenSet_40

public static final antlr.collections.impl.BitSet _tokenSet_40

_tokenSet_41

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

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)
Method Detail

imaginaryTokens

public final void imaginaryTokens()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

mn8ScriptFile

public final void mn8ScriptFile(String conceptName)
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

eol

public final void eol()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

conceptDefinition

public final void conceptDefinition()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

statement

public final void statement()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

labelDeclaration

public final String labelDeclaration()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

extendsDeclaration

public final Vector extendsDeclaration()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

conceptBodyComponent

public final void conceptBodyComponent()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

extendedConceptsList

public final Vector extendedConceptsList()
                                  throws antlr.RecognitionException,
                                         antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

attributeDeclaration

public final mn8ScriptAttribute attributeDeclaration(antlr.Token isStatic)
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

elementDeclaration

public final mn8ScriptElement elementDeclaration(antlr.Token isStatic,
                                                 ConceptDefinition conceptDef)
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

methodDeclaration

public final void methodDeclaration(antlr.Token isStatic)
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

primaryExpression

public final void primaryExpression()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

operator

public final String operator()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

parameterList

public final void parameterList(Vector paramNames,
                                Vector paramTypes)
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

block

public final void block()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

parameter

public final void parameter(Vector paramName,
                            Vector paramType)
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

expression

public final void expression()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

toStatement

public final void toStatement()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

typeofStatement

public final void typeofStatement()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

fromStatement

public final void fromStatement()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

printStatement

public final void printStatement()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

statementBlock

public final void statementBlock()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

caseBlock

public final void caseBlock()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

exitStatement

public final void exitStatement()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

whileDoLoopBlock

public final void whileDoLoopBlock()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

doWhileLoopBlock

public final void doWhileLoopBlock()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

ifThenBlock

public final void ifThenBlock()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

findStatement

public final void findStatement()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

returnStatement

public final void returnStatement()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

eachBlock

public final void eachBlock()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

caseItem

public final void caseItem()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

elseBlock

public final void elseBlock()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

sourceExpression

public final void sourceExpression()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

breakExpression

public final void breakExpression()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

fromExpression

public final void fromExpression()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

byExpression

public final void byExpression()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

ifBlock

public final void ifBlock()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

elifBlock

public final void elifBlock()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

expressionList

public final void expressionList()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

additiveExpression

public final void additiveExpression()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

optionsBlock

public final void optionsBlock()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

optionList

public final void optionList()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

optionItem

public final void optionItem()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

assignmentExpression

public final void assignmentExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

logicalOrExpression

public final void logicalOrExpression()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

logicalAndExpression

public final void logicalAndExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

equalityExpression

public final void equalityExpression()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

relationalExpression

public final void relationalExpression()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

multiplicativeExpression

public final void multiplicativeExpression()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

unaryExpression

public final void unaryExpression()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

seriesExpression

public final void seriesExpression()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

literals

public final void literals()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

identOrLiteral

public final void identOrLiteral()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

basicExpressionComponents

public final void basicExpressionComponents()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

postfixExpression

public final void postfixExpression()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

postDecInc

public final void postDecInc()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

attributeReference

public final void attributeReference()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

elementReference

public final void elementReference()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

methodReference

public final void methodReference()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

parameterDeclaration

public final void parameterDeclaration()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

argList

public final void argList()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

constants

public final void constants()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

identifier

public final void identifier()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

logicalConstants

public final void logicalConstants()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException


"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."