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.72 $ $Date: 2002/06/05 14:55:06 $
Author:
Remus Pereni

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_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_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
           
 java.lang.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, 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, 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, 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 block()
           
 void breakExpression()
           
 void byExpression()
           
 void caseBlock()
           
 void caseItem()
           
 void conceptBodyComponent()
           
 void conceptDefinition()
           
 void constant()
           
 void doWhileLoopBlock()
           
 void eachBlock()
           
 mn8ScriptElement elementDeclaration(antlr.Token isStatic, ConceptDefinition conceptDef)
           
 void elementOrAttribute()
           
 void elifBlock()
           
 void elseBlock()
           
 void eol()
           
 void equalityExpression()
           
 void exitStatement()
           
 void expression()
           
 void expressionList()
           
 java.util.Vector extendedConceptsList()
           
 java.util.Vector extendsDeclaration()
           
 void findStatement()
           
 void fromExpression()
           
 void fromStatement()
           
 void identOrConstant()
           
 void ifBlock()
           
 void ifThenBlock()
           
 void imaginaryTokens()
           
 java.lang.String labelDeclaration()
           
 void logicalAndExpression()
           
 void logicalOrExpression()
           
 void methodDeclaration(antlr.Token isStatic)
           
 void methodInvocation()
           
 void mn8ScriptFile(java.lang.String conceptName)
           
 void multiplicativeExpression()
           
 void optionItem()
           
 void optionList()
           
 void optionsBlock()
           
 void parameter(java.util.Vector paramName, java.util.Vector paramType)
           
 void parameterList(java.util.Vector paramNames, java.util.Vector paramTypes)
           
 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 java.lang.String conceptFile

_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

_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
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

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 mn8ScriptAttribute attributeDeclaration(antlr.Token isStatic)
                                              throws antlr.RecognitionException,
                                                     antlr.TokenStreamException

elementDeclaration

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

methodDeclaration

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

constant

public final void constant()
                    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

postfixExpression

public final void postfixExpression()
                             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

identOrConstant

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

methodInvocation

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

elementOrAttribute

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

primaryExpression

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

argList

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


"Copyright © 2001 Internet Multicasting Services & media.org. All Rights Reserved."