Package org.eclipse.epsilon.ewl.parse
Class Ewl_EwlParserRules
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.eclipse.epsilon.common.parse.EpsilonParser
org.eclipse.epsilon.ewl.parse.Ewl_EwlParserRules
Copyright (c) 2008 The University of York.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Dimitrios Kolovos - initial API and implementation
-----------------------------------------------------------------------------
ANTLR 3 License
[The "BSD licence"]
Copyright (c) 2005-2008 Terence Parr
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
protected org.antlr.runtime.tree.TreeAdaptor
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final org.antlr.runtime.BitSet
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.epsilon.common.parse.EpsilonParser
parseProblems
Fields inherited from class org.antlr.runtime.Parser
input
Fields inherited from class org.antlr.runtime.BaseRecognizer
DEFAULT_TOKEN_CHANNEL, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, MEMO_RULE_FAILED, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, state
-
Constructor Summary
ConstructorDescriptionEwl_EwlParserRules
(org.antlr.runtime.TokenStream input, org.antlr.runtime.RecognizerSharedState state, EwlParser gEwl) Ewl_EwlParserRules
(org.antlr.runtime.TokenStream input, EwlParser gEwl) -
Method Summary
Modifier and TypeMethodDescriptiondoBlock()
String[]
org.antlr.runtime.tree.TreeAdaptor
void
setTreeAdaptor
(org.antlr.runtime.tree.TreeAdaptor adaptor) wizard()
Methods inherited from class org.eclipse.epsilon.common.parse.EpsilonParser
displayRecognitionError, getParseProblems, isSupertype, prepareForGUnit, reportException, setDeepTreeAdaptor
Methods inherited from class org.antlr.runtime.Parser
getCurrentInputSymbol, getMissingSymbol, getSourceName, getTokenStream, reset, setTokenStream, traceIn, traceOut
Methods inherited from class org.antlr.runtime.BaseRecognizer
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, reportError, setBacktrackingLevel, toStrings, traceIn, traceOut
-
Field Details
-
T__144
public static final int T__144- See Also:
-
T__143
public static final int T__143- See Also:
-
T__146
public static final int T__146- See Also:
-
MODELDECLARATIONPARAMETER
public static final int MODELDECLARATIONPARAMETER- See Also:
-
T__145
public static final int T__145- See Also:
-
BREAKALL
public static final int BREAKALL- See Also:
-
T__140
public static final int T__140- See Also:
-
T__142
public static final int T__142- See Also:
-
VAR
public static final int VAR- See Also:
-
MODELDECLARATIONPARAMETERS
public static final int MODELDECLARATIONPARAMETERS- See Also:
-
T__141
public static final int T__141- See Also:
-
THROW
public static final int THROW- See Also:
-
SpecialTypeName
public static final int SpecialTypeName- See Also:
-
PARAMLIST
public static final int PARAMLIST- See Also:
-
EXPRLIST
public static final int EXPRLIST- See Also:
-
EXPRRANGE
public static final int EXPRRANGE- See Also:
-
BREAK
public static final int BREAK- See Also:
-
ELSE
public static final int ELSE- See Also:
-
T__137
public static final int T__137- See Also:
-
T__136
public static final int T__136- See Also:
-
FORMAL
public static final int FORMAL- See Also:
-
IF
public static final int IF- See Also:
-
MultiplicativeExpression
public static final int MultiplicativeExpression- See Also:
-
TYPE
public static final int TYPE- See Also:
-
T__139
public static final int T__139- See Also:
-
T__138
public static final int T__138- See Also:
-
T__133
public static final int T__133- See Also:
-
T__132
public static final int T__132- See Also:
-
T__135
public static final int T__135- See Also:
-
T__134
public static final int T__134- See Also:
-
T__131
public static final int T__131- See Also:
-
NewExpression
public static final int NewExpression- See Also:
-
T__130
public static final int T__130- See Also:
-
CASE
public static final int CASE- See Also:
-
Letter
public static final int Letter- See Also:
-
LINE_COMMENT
public static final int LINE_COMMENT- See Also:
-
T__129
public static final int T__129- See Also:
-
T__126
public static final int T__126- See Also:
-
JavaIDDigit
public static final int JavaIDDigit- See Also:
-
T__125
public static final int T__125- See Also:
-
LAMBDAEXPR
public static final int LAMBDAEXPR- See Also:
-
MAP
public static final int MAP- See Also:
-
T__128
public static final int T__128- See Also:
-
T__127
public static final int T__127- See Also:
-
T__165
public static final int T__165- See Also:
-
T__162
public static final int T__162- See Also:
-
T__161
public static final int T__161- See Also:
-
T__164
public static final int T__164- See Also:
-
MODELDECLARATION
public static final int MODELDECLARATION- See Also:
-
T__163
public static final int T__163- See Also:
-
EXPRESSIONINBRACKETS
public static final int EXPRESSIONINBRACKETS- See Also:
-
T__160
public static final int T__160- See Also:
-
TERNARY
public static final int TERNARY- See Also:
-
TRANSACTION
public static final int TRANSACTION- See Also:
-
FLOAT_TYPE_SUFFIX
public static final int FLOAT_TYPE_SUFFIX- See Also:
-
ITEMSELECTOR
public static final int ITEMSELECTOR- See Also:
-
COMMENT
public static final int COMMENT- See Also:
-
ModelElementType
public static final int ModelElementType- See Also:
-
IMPORT
public static final int IMPORT- See Also:
-
DELETE
public static final int DELETE- See Also:
-
ARROW
public static final int ARROW- See Also:
-
MapTypeName
public static final int MapTypeName- See Also:
-
T__159
public static final int T__159- See Also:
-
T__158
public static final int T__158- See Also:
-
T__155
public static final int T__155- See Also:
-
SPECIAL_ASSIGNMENT
public static final int SPECIAL_ASSIGNMENT- See Also:
-
T__154
public static final int T__154- See Also:
-
T__157
public static final int T__157- See Also:
-
T__156
public static final int T__156- See Also:
-
T__151
public static final int T__151- See Also:
-
T__150
public static final int T__150- See Also:
-
T__153
public static final int T__153- See Also:
-
T__152
public static final int T__152- See Also:
-
Annotation
public static final int Annotation- See Also:
-
CONTINUE
public static final int CONTINUE- See Also:
-
ENUMERATION_VALUE
public static final int ENUMERATION_VALUE- See Also:
-
OPERATOR
public static final int OPERATOR- See Also:
-
EXPONENT
public static final int EXPONENT- See Also:
-
STRING
public static final int STRING- See Also:
-
T__148
public static final int T__148- See Also:
-
T__147
public static final int T__147- See Also:
-
T__149
public static final int T__149- See Also:
-
T__91
public static final int T__91- See Also:
-
T__100
public static final int T__100- See Also:
-
NAMESPACE
public static final int NAMESPACE- See Also:
-
T__92
public static final int T__92- See Also:
-
COLLECTION
public static final int COLLECTION- See Also:
-
NEW
public static final int NEW- See Also:
-
EXTENDS
public static final int EXTENDS- See Also:
-
T__93
public static final int T__93- See Also:
-
T__102
public static final int T__102- See Also:
-
PRE
public static final int PRE- See Also:
-
T__94
public static final int T__94- See Also:
-
T__101
public static final int T__101- See Also:
-
POST
public static final int POST- See Also:
-
ALIAS
public static final int ALIAS- See Also:
-
DRIVER
public static final int DRIVER- See Also:
-
DO
public static final int DO- See Also:
-
KEYVAL
public static final int KEYVAL- See Also:
-
POINT_POINT
public static final int POINT_POINT- See Also:
-
GUARD
public static final int GUARD- See Also:
-
T__99
public static final int T__99- See Also:
-
T__95
public static final int T__95- See Also:
-
HELPERMETHOD
public static final int HELPERMETHOD- See Also:
-
T__96
public static final int T__96- See Also:
-
T__97
public static final int T__97- See Also:
-
StatementBlock
public static final int StatementBlock- See Also:
-
T__98
public static final int T__98- See Also:
-
ABORT
public static final int ABORT- See Also:
-
StrangeNameLiteral
public static final int StrangeNameLiteral- See Also:
-
FOR
public static final int FOR- See Also:
-
BLOCK
public static final int BLOCK- See Also:
-
PARAMETERS
public static final int PARAMETERS- See Also:
-
SpecialNameChar
public static final int SpecialNameChar- See Also:
-
BOOLEAN
public static final int BOOLEAN- See Also:
-
NAME
public static final int NAME- See Also:
-
SWITCH
public static final int SWITCH- See Also:
-
FeatureCall
public static final int FeatureCall- See Also:
-
T__122
public static final int T__122- See Also:
-
T__121
public static final int T__121- See Also:
-
T__124
public static final int T__124- See Also:
-
FLOAT
public static final int FLOAT- See Also:
-
T__123
public static final int T__123- See Also:
-
T__120
public static final int T__120- See Also:
-
NativeType
public static final int NativeType- See Also:
-
INT
public static final int INT- See Also:
-
WIZARD
public static final int WIZARD- See Also:
-
ANNOTATIONBLOCK
public static final int ANNOTATIONBLOCK- See Also:
-
RETURN
public static final int RETURN- See Also:
-
KEYVALLIST
public static final int KEYVALLIST- See Also:
-
FEATURECALL
public static final int FEATURECALL- See Also:
-
CollectionType
public static final int CollectionType- See Also:
-
T__119
public static final int T__119- See Also:
-
ASSIGNMENT
public static final int ASSIGNMENT- See Also:
-
T__118
public static final int T__118- See Also:
-
T__115
public static final int T__115- See Also:
-
WS
public static final int WS- See Also:
-
EOF
public static final int EOF- See Also:
-
T__114
public static final int T__114- See Also:
-
T__117
public static final int T__117- See Also:
-
T__116
public static final int T__116- See Also:
-
T__111
public static final int T__111- See Also:
-
T__110
public static final int T__110- See Also:
-
T__113
public static final int T__113- See Also:
-
T__112
public static final int T__112- See Also:
-
EscapeSequence
public static final int EscapeSequence- See Also:
-
EOLMODULE
public static final int EOLMODULE- See Also:
-
CollectionTypeName
public static final int CollectionTypeName- See Also:
-
DIGIT
public static final int DIGIT- See Also:
-
EXECUTABLEANNOTATION
public static final int EXECUTABLEANNOTATION- See Also:
-
EWLMODULE
public static final int EWLMODULE- See Also:
-
T__108
public static final int T__108- See Also:
-
T__107
public static final int T__107- See Also:
-
WHILE
public static final int WHILE- See Also:
-
TITLE
public static final int TITLE- See Also:
-
T__109
public static final int T__109- See Also:
-
NAVIGATION
public static final int NAVIGATION- See Also:
-
T__104
public static final int T__104- See Also:
-
POINT
public static final int POINT- See Also:
-
T__103
public static final int T__103- See Also:
-
T__106
public static final int T__106- See Also:
-
DEFAULT
public static final int DEFAULT- See Also:
-
T__105
public static final int T__105- See Also:
-
gEwl
-
adaptor
protected org.antlr.runtime.tree.TreeAdaptor adaptor -
FOLLOW_annotationBlock_in_ewlModuleContent44
public static final org.antlr.runtime.BitSet FOLLOW_annotationBlock_in_ewlModuleContent44 -
FOLLOW_wizard_in_ewlModuleContent48
public static final org.antlr.runtime.BitSet FOLLOW_wizard_in_ewlModuleContent48 -
FOLLOW_operationDeclaration_in_ewlModuleContent52
public static final org.antlr.runtime.BitSet FOLLOW_operationDeclaration_in_ewlModuleContent52 -
FOLLOW_163_in_wizard72
public static final org.antlr.runtime.BitSet FOLLOW_163_in_wizard72 -
FOLLOW_NAME_in_wizard75
public static final org.antlr.runtime.BitSet FOLLOW_NAME_in_wizard75 -
FOLLOW_96_in_wizard79
public static final org.antlr.runtime.BitSet FOLLOW_96_in_wizard79 -
FOLLOW_guard_in_wizard82
public static final org.antlr.runtime.BitSet FOLLOW_guard_in_wizard82 -
FOLLOW_titleBlock_in_wizard85
public static final org.antlr.runtime.BitSet FOLLOW_titleBlock_in_wizard85 -
FOLLOW_doBlock_in_wizard88
public static final org.antlr.runtime.BitSet FOLLOW_doBlock_in_wizard88 -
FOLLOW_97_in_wizard93
public static final org.antlr.runtime.BitSet FOLLOW_97_in_wizard93 -
FOLLOW_164_in_titleBlock110
public static final org.antlr.runtime.BitSet FOLLOW_164_in_titleBlock110 -
FOLLOW_expressionOrStatementBlock_in_titleBlock113
public static final org.antlr.runtime.BitSet FOLLOW_expressionOrStatementBlock_in_titleBlock113 -
FOLLOW_165_in_doBlock129
public static final org.antlr.runtime.BitSet FOLLOW_165_in_doBlock129 -
FOLLOW_statementBlock_in_doBlock132
public static final org.antlr.runtime.BitSet FOLLOW_statementBlock_in_doBlock132
-
-
Constructor Details
-
Ewl_EwlParserRules
-
-
Method Details
-
setTreeAdaptor
public void setTreeAdaptor(org.antlr.runtime.tree.TreeAdaptor adaptor) - Specified by:
setTreeAdaptor
in classEpsilonParser
-
getTreeAdaptor
public org.antlr.runtime.tree.TreeAdaptor getTreeAdaptor()- Specified by:
getTreeAdaptor
in classEpsilonParser
-
getTokenNames
- Overrides:
getTokenNames
in classorg.antlr.runtime.BaseRecognizer
-
getGrammarFileName
- Overrides:
getGrammarFileName
in classorg.antlr.runtime.BaseRecognizer
-
ewlModuleContent
public final Ewl_EwlParserRules.ewlModuleContent_return ewlModuleContent() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
wizard
public final Ewl_EwlParserRules.wizard_return wizard() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
titleBlock
public final Ewl_EwlParserRules.titleBlock_return titleBlock() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-
doBlock
public final Ewl_EwlParserRules.doBlock_return doBlock() throws org.antlr.runtime.RecognitionException- Throws:
org.antlr.runtime.RecognitionException
-