org.openarchitectureware.xpand2.parser
Class XpandLocationAddingParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.openarchitectureware.xpand2.parser.XpandParser
org.openarchitectureware.xpand2.parser.XpandLocationAddingParser
public class XpandLocationAddingParser
- extends XpandParser
Fields inherited from class org.openarchitectureware.xpand2.parser.XpandParser |
COMMENT, dfa30, EOF, EscapeSequence, FOLLOW_100_in_collectionType2240, FOLLOW_21_in_anImport137, FOLLOW_22_in_anExtensionImport156, FOLLOW_23_in_around178, FOLLOW_24_in_around188, FOLLOW_24_in_castedExpression1106, FOLLOW_24_in_collectionExpression1982, FOLLOW_24_in_collectionExpression2051, FOLLOW_24_in_define310, FOLLOW_24_in_expandStatement586, FOLLOW_24_in_featureCall1810, FOLLOW_24_in_paranthesizedExpression1760, FOLLOW_24_in_switchExpression1245, FOLLOW_24_in_synpred11095, FOLLOW_25_in_around196, FOLLOW_25_in_declaredParameterList2094, FOLLOW_25_in_parameterList2149, FOLLOW_26_in_around200, FOLLOW_26_in_around209, FOLLOW_26_in_pointcut256, FOLLOW_26_in_pointcut271, FOLLOW_27_in_around213, FOLLOW_27_in_castedExpression1112, FOLLOW_27_in_collectionExpression1988, FOLLOW_27_in_collectionExpression2066, FOLLOW_27_in_define316, FOLLOW_27_in_expandStatement592, FOLLOW_27_in_featureCall1819, FOLLOW_27_in_paranthesizedExpression1766, FOLLOW_27_in_switchExpression1253, FOLLOW_27_in_synpred11099, FOLLOW_28_in_around217, FOLLOW_28_in_define320, FOLLOW_28_in_expandStatement598, FOLLOW_29_in_around234, FOLLOW_30_in_pointcut283, FOLLOW_30_in_simpleType2268, FOLLOW_31_in_define303, FOLLOW_32_in_define338, FOLLOW_33_in_text500, FOLLOW_33_in_unaryExpression1602, FOLLOW_34_in_errorStatement558, FOLLOW_35_in_expandStatement579, FOLLOW_36_in_expandStatement612, FOLLOW_36_in_foreachStatement726, FOLLOW_37_in_expandStatement619, FOLLOW_37_in_foreachStatement748, FOLLOW_38_in_fileStatement687, FOLLOW_39_in_fileStatement708, FOLLOW_40_in_foreachStatement732, FOLLOW_40_in_letStatement916, FOLLOW_41_in_foreachStatement739, FOLLOW_42_in_foreachStatement767, FOLLOW_43_in_ifStatement793, FOLLOW_44_in_ifStatement838, FOLLOW_45_in_elseIfStatement852, FOLLOW_46_in_elseStatement883, FOLLOW_47_in_letStatement910, FOLLOW_48_in_letStatement933, FOLLOW_49_in_protectStatement952, FOLLOW_50_in_protectStatement957, FOLLOW_51_in_protectStatement966, FOLLOW_52_in_protectStatement983, FOLLOW_53_in_protectStatement992, FOLLOW_54_in_protectStatement1005, FOLLOW_55_in_letExpression1046, FOLLOW_56_in_letExpression1052, FOLLOW_57_in_ifExpression1186, FOLLOW_57_in_letExpression1058, FOLLOW_57_in_switchExpression1280, FOLLOW_57_in_switchExpression1305, FOLLOW_58_in_chainExpression1151, FOLLOW_59_in_ifExpression1180, FOLLOW_60_in_ifExpression1198, FOLLOW_61_in_ifExpression1204, FOLLOW_62_in_ifExpression1211, FOLLOW_63_in_switchExpression1242, FOLLOW_64_in_listLiteral1857, FOLLOW_64_in_switchExpression1260, FOLLOW_65_in_switchExpression1273, FOLLOW_66_in_switchExpression1303, FOLLOW_67_in_listLiteral1866, FOLLOW_67_in_switchExpression1316, FOLLOW_68_in_orExpression1355, FOLLOW_69_in_andExpression1389, FOLLOW_70_in_impliesExpression1422, FOLLOW_79_in_unaryExpression1590, FOLLOW_80_in_infixExpression1630, FOLLOW_80_in_numberLiteral1954, FOLLOW_81_in_globalVarExpression1786, FOLLOW_82_in_constructorCall1883, FOLLOW_85_in_nullLiteral1922, FOLLOW_86_in_collectionExpression1978, FOLLOW_95_in_collectionExpression2058, FOLLOW_99_in_collectionType2232, FOLLOW_additiveExpression_in_relationalExpression1450, FOLLOW_additiveExpression_in_relationalExpression1484, FOLLOW_andExpression_in_orExpression1348, FOLLOW_andExpression_in_orExpression1359, FOLLOW_anExtensionImport_in_template73, FOLLOW_anImport_in_template64, FOLLOW_around_in_template102, FOLLOW_booleanLiteral_in_primaryExpression1681, FOLLOW_castedExpression_in_letExpression1056, FOLLOW_castedExpression_in_letExpression1075, FOLLOW_castedExpression_in_synpred11101, FOLLOW_chainExpression_in_castedExpression1116, FOLLOW_chainExpression_in_castedExpression1125, FOLLOW_collectionExpression_in_featureCall1840, FOLLOW_collectionType_in_type2179, FOLLOW_COMMENT_in_template109, FOLLOW_COMMENT_in_template52, FOLLOW_COMMENT_in_template81, FOLLOW_COMMENT_in_textSequence475, FOLLOW_constructorCall_in_primaryExpression1721, FOLLOW_declaredParameter_in_declaredParameterList2090, FOLLOW_declaredParameter_in_declaredParameterList2098, FOLLOW_declaredParameterList_in_around193, FOLLOW_declaredParameterList_in_define314, FOLLOW_define_in_template95, FOLLOW_definitionName_in_expandStatement583, FOLLOW_elseIfStatement_in_ifStatement815, FOLLOW_elseStatement_in_ifStatement826, FOLLOW_errorStatement_in_simpleStatement525, FOLLOW_expandStatement_in_simpleStatement533, FOLLOW_expression_in_collectionExpression2064, FOLLOW_expression_in_elseIfStatement856, FOLLOW_expression_in_errorStatement562, FOLLOW_expression_in_expandStatement602, FOLLOW_expression_in_expandStatement616, FOLLOW_expression_in_expandStatement623, FOLLOW_expression_in_expressionStmt671, FOLLOW_expression_in_fileStatement691, FOLLOW_expression_in_foreachStatement730, FOLLOW_expression_in_foreachStatement752, FOLLOW_expression_in_ifExpression1215, FOLLOW_expression_in_ifStatement797, FOLLOW_expression_in_letExpression1062, FOLLOW_expression_in_letStatement914, FOLLOW_expression_in_parameterList2144, FOLLOW_expression_in_parameterList2153, FOLLOW_expression_in_paranthesizedExpression1764, FOLLOW_expression_in_protectStatement961, FOLLOW_expression_in_protectStatement970, FOLLOW_expression_in_protectStatement987, FOLLOW_expressionStmt_in_simpleStatement541, FOLLOW_featureCall_in_infixExpression1634, FOLLOW_featureCall_in_primaryExpression1671, FOLLOW_fileStatement_in_statement417, FOLLOW_foreachStatement_in_statement425, FOLLOW_globalVarExpression_in_primaryExpression1731, FOLLOW_identifier_in_collectionExpression2056, FOLLOW_identifier_in_declaredParameter2122, FOLLOW_identifier_in_define307, FOLLOW_identifier_in_featureCall1808, FOLLOW_identifier_in_fileStatement696, FOLLOW_identifier_in_foreachStatement736, FOLLOW_identifier_in_foreachStatement743, FOLLOW_identifier_in_globalVarExpression1790, FOLLOW_Identifier_in_identifier2295, FOLLOW_identifier_in_letExpression1050, FOLLOW_identifier_in_letStatement920, FOLLOW_identifier_in_pointcut262, FOLLOW_identifier_in_pointcut277, FOLLOW_identifier_in_simpleType2260, FOLLOW_identifier_in_simpleType2272, FOLLOW_ifExpression_in_chainExpression1145, FOLLOW_ifExpression_in_chainExpression1155, FOLLOW_ifStatement_in_statement433, FOLLOW_impliesExpression_in_andExpression1382, FOLLOW_impliesExpression_in_andExpression1393, FOLLOW_infixExpression_in_unaryExpression1582, FOLLOW_infixExpression_in_unaryExpression1594, FOLLOW_infixExpression_in_unaryExpression1606, FOLLOW_IntLiteral_in_numberLiteral1941, FOLLOW_IntLiteral_in_numberLiteral1950, FOLLOW_IntLiteral_in_numberLiteral1958, FOLLOW_letExpression_in_expression1027, FOLLOW_letStatement_in_statement441, FOLLOW_LG_in_template47, FOLLOW_listLiteral_in_primaryExpression1711, FOLLOW_multiplicativeExpression_in_additiveExpression1505, FOLLOW_multiplicativeExpression_in_additiveExpression1524, FOLLOW_nullLiteral_in_primaryExpression1701, FOLLOW_numberLiteral_in_primaryExpression1691, FOLLOW_orExpression_in_switchExpression1251, FOLLOW_orExpression_in_switchExpression1277, FOLLOW_orExpression_in_switchExpression1285, FOLLOW_orExpression_in_switchExpression1311, FOLLOW_orExpression_in_switchExpression1328, FOLLOW_parameterList_in_expandStatement590, FOLLOW_parameterList_in_featureCall1815, FOLLOW_parameterList_in_listLiteral1862, FOLLOW_paranthesizedExpression_in_primaryExpression1741, FOLLOW_pointcut_in_around182, FOLLOW_primaryExpression_in_infixExpression1624, FOLLOW_protectStatement_in_statement449, FOLLOW_relationalExpression_in_impliesExpression1415, FOLLOW_relationalExpression_in_impliesExpression1426, FOLLOW_sequence_in_around229, FOLLOW_sequence_in_define332, FOLLOW_sequence_in_elseIfStatement862, FOLLOW_sequence_in_elseStatement889, FOLLOW_sequence_in_fileStatement704, FOLLOW_sequence_in_foreachStatement762, FOLLOW_sequence_in_ifStatement803, FOLLOW_sequence_in_letStatement928, FOLLOW_sequence_in_protectStatement1001, FOLLOW_set_in_additiveExpression1515, FOLLOW_set_in_booleanLiteral0, FOLLOW_set_in_collectionExpression2001, FOLLOW_set_in_collectionType2211, FOLLOW_set_in_multiplicativeExpression1551, FOLLOW_set_in_relationalExpression1458, FOLLOW_simpleStatement_in_statement409, FOLLOW_simpleType_in_anExtensionImport160, FOLLOW_simpleType_in_anImport141, FOLLOW_simpleType_in_collectionType2236, FOLLOW_simpleType_in_constructorCall1887, FOLLOW_simpleType_in_definitionName653, FOLLOW_simpleType_in_type2189, FOLLOW_statement_in_sequence370, FOLLOW_StringLiteral_in_primaryExpression1660, FOLLOW_switchExpression_in_ifExpression1176, FOLLOW_switchExpression_in_ifExpression1184, FOLLOW_switchExpression_in_ifExpression1190, FOLLOW_switchExpression_in_ifExpression1202, FOLLOW_switchExpression_in_ifExpression1208, FOLLOW_TEXT_in_template106, FOLLOW_TEXT_in_template111, FOLLOW_TEXT_in_template54, FOLLOW_TEXT_in_template78, FOLLOW_TEXT_in_template83, FOLLOW_TEXT_in_text506, FOLLOW_text_in_textSequence468, FOLLOW_text_in_textSequence479, FOLLOW_textSequence_in_sequence361, FOLLOW_textSequence_in_sequence379, FOLLOW_type_in_around221, FOLLOW_type_in_castedExpression1110, FOLLOW_type_in_collectionExpression1986, FOLLOW_type_in_declaredParameter2118, FOLLOW_type_in_define324, FOLLOW_type_in_featureCall1829, FOLLOW_type_in_synpred11097, FOLLOW_unaryExpression_in_multiplicativeExpression1543, FOLLOW_unaryExpression_in_multiplicativeExpression1561, HexDigit, Identifier, IntLiteral, JavaIDDigit, Letter, LG, LINE_COMMENT, ML_COMMENT, OctalEscape, RG, StringLiteral, TEXT, tokenNames, UnicodeEscape, VOCAB, WS |
Fields inherited from class org.antlr.runtime.Parser |
input |
Fields inherited from class org.antlr.runtime.BaseRecognizer |
_fsp, backtracking, DEFAULT_TOKEN_CHANNEL, errorRecovery, failed, following, HIDDEN, INITIAL_FOLLOW_STACK_SIZE, lastErrorIndex, MEMO_RULE_FAILED, MEMO_RULE_FAILED_I, MEMO_RULE_UNKNOWN, NEXT_TOKEN_RULE_NAME, ruleMemo |
Methods inherited from class org.antlr.runtime.Parser |
getTokenStream, reset, setTokenStream, traceIn, traceOut |
Methods inherited from class org.antlr.runtime.BaseRecognizer |
alreadyParsedRule, beginResync, combineFollows, computeContextSensitiveRuleFOLLOW, computeErrorRecoverySet, consumeUntil, consumeUntil, displayRecognitionError, emitErrorMessage, endResync, getBacktrackingLevel, getErrorHeader, getErrorMessage, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatch, pushFollow, recover, recoverFromMismatchedElement, recoverFromMismatchedSet, recoverFromMismatchedToken, toStrings, traceIn, traceOut |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reportError
public void reportError(org.antlr.runtime.RecognitionException e)
- Overrides:
reportError
in class org.antlr.runtime.BaseRecognizer
additiveExpression
public Expression additiveExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
additiveExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
andExpression
public Expression andExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
andExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
anExtensionImport
public ImportDeclaration anExtensionImport()
throws org.antlr.runtime.RecognitionException
- Overrides:
anExtensionImport
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
anImport
public ImportDeclaration anImport()
throws org.antlr.runtime.RecognitionException
- Overrides:
anImport
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
around
public Advice around()
throws org.antlr.runtime.RecognitionException
- Overrides:
around
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
booleanLiteral
public Expression booleanLiteral()
throws org.antlr.runtime.RecognitionException
- Overrides:
booleanLiteral
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
castedExpression
public Expression castedExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
castedExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
chainExpression
public Expression chainExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
chainExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
collectionExpression
public FeatureCall collectionExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
collectionExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
collectionType
public Identifier collectionType()
throws org.antlr.runtime.RecognitionException
- Overrides:
collectionType
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
constructorCall
public Expression constructorCall()
throws org.antlr.runtime.RecognitionException
- Overrides:
constructorCall
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
declaredParameter
public DeclaredParameter declaredParameter()
throws org.antlr.runtime.RecognitionException
- Overrides:
declaredParameter
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
define
public Definition define()
throws org.antlr.runtime.RecognitionException
- Overrides:
define
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
definitionName
public Identifier definitionName()
throws org.antlr.runtime.RecognitionException
- Overrides:
definitionName
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
elseIfStatement
public IfStatement elseIfStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
elseIfStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
elseStatement
public IfStatement elseStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
elseStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
errorStatement
public ErrorStatement errorStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
errorStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
expandStatement
public ExpandStatement expandStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
expandStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
expression
public Expression expression()
throws org.antlr.runtime.RecognitionException
- Overrides:
expression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
expressionStmt
public ExpressionStatement expressionStmt()
throws org.antlr.runtime.RecognitionException
- Overrides:
expressionStmt
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
featureCall
public FeatureCall featureCall()
throws org.antlr.runtime.RecognitionException
- Overrides:
featureCall
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
fileStatement
public FileStatement fileStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
fileStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
foreachStatement
public ForEachStatement foreachStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
foreachStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
globalVarExpression
public GlobalVarExpression globalVarExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
globalVarExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
identifier
public Identifier identifier()
throws org.antlr.runtime.RecognitionException
- Overrides:
identifier
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
ifExpression
public Expression ifExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
ifExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
ifStatement
public IfStatement ifStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
ifStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
impliesExpression
public Expression impliesExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
impliesExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
infixExpression
public Expression infixExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
infixExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
letExpression
public Expression letExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
letExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
letStatement
public LetStatement letStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
letStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
listLiteral
public Expression listLiteral()
throws org.antlr.runtime.RecognitionException
- Overrides:
listLiteral
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
multiplicativeExpression
public Expression multiplicativeExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
multiplicativeExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
nullLiteral
public Expression nullLiteral()
throws org.antlr.runtime.RecognitionException
- Overrides:
nullLiteral
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
numberLiteral
public Expression numberLiteral()
throws org.antlr.runtime.RecognitionException
- Overrides:
numberLiteral
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
orExpression
public Expression orExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
orExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
paranthesizedExpression
public Expression paranthesizedExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
paranthesizedExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
pointcut
public Identifier pointcut()
throws org.antlr.runtime.RecognitionException
- Overrides:
pointcut
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
primaryExpression
public Expression primaryExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
primaryExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
protectStatement
public ProtectStatement protectStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
protectStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
relationalExpression
public Expression relationalExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
relationalExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
simpleStatement
public Statement simpleStatement()
throws org.antlr.runtime.RecognitionException
- Overrides:
simpleStatement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
simpleType
public Identifier simpleType()
throws org.antlr.runtime.RecognitionException
- Overrides:
simpleType
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
statement
public Statement statement()
throws org.antlr.runtime.RecognitionException
- Overrides:
statement
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
switchExpression
public Expression switchExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
switchExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
template
public Template template()
throws org.antlr.runtime.RecognitionException
- Overrides:
template
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
text
public Statement text()
throws org.antlr.runtime.RecognitionException
- Overrides:
text
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
type
public Identifier type()
throws org.antlr.runtime.RecognitionException
- Overrides:
type
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException
unaryExpression
public Expression unaryExpression()
throws org.antlr.runtime.RecognitionException
- Overrides:
unaryExpression
in class XpandParser
- Throws:
org.antlr.runtime.RecognitionException