org.eclipse.internal.xpand2.parser
Class XpandLocationAddingParser
java.lang.Object
org.antlr.runtime.BaseRecognizer
org.antlr.runtime.Parser
org.eclipse.internal.xpand2.parser.XpandParser
org.eclipse.internal.xpand2.parser.XpandLocationAddingParser
public class XpandLocationAddingParser
- extends XpandParser
| Fields inherited from class org.eclipse.internal.xpand2.parser.XpandParser |
COMMENT, dfa31, EOF, EscapeSequence, FOLLOW_100_in_collectionType2249, FOLLOW_20_in_anImport137, FOLLOW_21_in_anExtensionImport156, FOLLOW_22_in_around178, FOLLOW_23_in_around188, FOLLOW_23_in_castedExpression1115, FOLLOW_23_in_collectionExpression1991, FOLLOW_23_in_collectionExpression2060, FOLLOW_23_in_define310, FOLLOW_23_in_expandStatement586, FOLLOW_23_in_featureCall1819, FOLLOW_23_in_paranthesizedExpression1769, FOLLOW_23_in_switchExpression1254, FOLLOW_23_in_synpred1_Xpand1104, FOLLOW_24_in_around196, FOLLOW_24_in_declaredParameterList2103, FOLLOW_24_in_parameterList2158, FOLLOW_25_in_around200, FOLLOW_25_in_around209, FOLLOW_25_in_pointcut256, FOLLOW_25_in_pointcut271, FOLLOW_26_in_around213, FOLLOW_26_in_castedExpression1121, FOLLOW_26_in_collectionExpression1997, FOLLOW_26_in_collectionExpression2075, FOLLOW_26_in_define316, FOLLOW_26_in_expandStatement592, FOLLOW_26_in_featureCall1828, FOLLOW_26_in_paranthesizedExpression1775, FOLLOW_26_in_switchExpression1262, FOLLOW_26_in_synpred1_Xpand1108, FOLLOW_27_in_around217, FOLLOW_27_in_define320, FOLLOW_27_in_expandStatement598, FOLLOW_28_in_around234, FOLLOW_29_in_pointcut283, FOLLOW_29_in_simpleType2277, FOLLOW_30_in_define303, FOLLOW_31_in_define338, FOLLOW_32_in_text500, FOLLOW_32_in_unaryExpression1611, FOLLOW_33_in_errorStatement558, FOLLOW_34_in_expandStatement579, FOLLOW_35_in_expandStatement612, FOLLOW_35_in_foreachStatement735, FOLLOW_36_in_expandStatement619, FOLLOW_36_in_foreachStatement757, FOLLOW_37_in_expandStatement635, FOLLOW_38_in_fileStatement696, FOLLOW_39_in_fileStatement717, FOLLOW_40_in_foreachStatement741, FOLLOW_40_in_letStatement925, FOLLOW_41_in_foreachStatement748, FOLLOW_42_in_foreachStatement776, FOLLOW_43_in_ifStatement802, FOLLOW_44_in_ifStatement847, FOLLOW_45_in_elseIfStatement861, FOLLOW_46_in_elseStatement892, FOLLOW_47_in_letStatement919, FOLLOW_48_in_letStatement942, FOLLOW_49_in_protectStatement961, FOLLOW_50_in_protectStatement966, FOLLOW_51_in_protectStatement975, FOLLOW_52_in_protectStatement992, FOLLOW_53_in_protectStatement1001, FOLLOW_54_in_protectStatement1014, FOLLOW_55_in_letExpression1055, FOLLOW_56_in_letExpression1061, FOLLOW_57_in_ifExpression1195, FOLLOW_57_in_letExpression1067, FOLLOW_57_in_switchExpression1289, FOLLOW_57_in_switchExpression1314, FOLLOW_58_in_chainExpression1160, FOLLOW_59_in_ifExpression1189, FOLLOW_60_in_ifExpression1207, FOLLOW_61_in_ifExpression1213, FOLLOW_62_in_ifExpression1220, FOLLOW_63_in_switchExpression1251, FOLLOW_64_in_listLiteral1866, FOLLOW_64_in_switchExpression1269, FOLLOW_65_in_switchExpression1282, FOLLOW_66_in_switchExpression1312, FOLLOW_67_in_listLiteral1875, FOLLOW_67_in_switchExpression1325, FOLLOW_68_in_orExpression1364, FOLLOW_69_in_andExpression1398, FOLLOW_70_in_impliesExpression1431, FOLLOW_79_in_unaryExpression1599, FOLLOW_80_in_infixExpression1639, FOLLOW_80_in_numberLiteral1963, FOLLOW_81_in_globalVarExpression1795, FOLLOW_82_in_constructorCall1892, FOLLOW_85_in_nullLiteral1931, FOLLOW_86_in_collectionExpression1987, FOLLOW_95_in_collectionExpression2067, FOLLOW_99_in_collectionType2241, FOLLOW_additiveExpression_in_relationalExpression1459, FOLLOW_additiveExpression_in_relationalExpression1493, FOLLOW_andExpression_in_orExpression1357, FOLLOW_andExpression_in_orExpression1368, FOLLOW_anExtensionImport_in_template73, FOLLOW_anImport_in_template64, FOLLOW_around_in_template102, FOLLOW_booleanLiteral_in_primaryExpression1690, FOLLOW_castedExpression_in_letExpression1065, FOLLOW_castedExpression_in_letExpression1084, FOLLOW_castedExpression_in_synpred1_Xpand1110, FOLLOW_chainExpression_in_castedExpression1125, FOLLOW_chainExpression_in_castedExpression1134, FOLLOW_collectionExpression_in_featureCall1849, FOLLOW_collectionType_in_type2188, FOLLOW_COMMENT_in_template109, FOLLOW_COMMENT_in_template52, FOLLOW_COMMENT_in_template81, FOLLOW_COMMENT_in_textSequence475, FOLLOW_constructorCall_in_primaryExpression1730, FOLLOW_declaredParameter_in_declaredParameterList2099, FOLLOW_declaredParameter_in_declaredParameterList2107, FOLLOW_declaredParameterList_in_around193, FOLLOW_declaredParameterList_in_define314, FOLLOW_define_in_template95, FOLLOW_definitionName_in_expandStatement583, FOLLOW_elseIfStatement_in_ifStatement824, FOLLOW_elseStatement_in_ifStatement835, FOLLOW_errorStatement_in_simpleStatement525, FOLLOW_expandStatement_in_simpleStatement533, FOLLOW_expression_in_collectionExpression2073, FOLLOW_expression_in_elseIfStatement865, FOLLOW_expression_in_errorStatement562, FOLLOW_expression_in_expandStatement602, FOLLOW_expression_in_expandStatement616, FOLLOW_expression_in_expandStatement623, FOLLOW_expression_in_expressionStmt680, FOLLOW_expression_in_fileStatement700, FOLLOW_expression_in_foreachStatement739, FOLLOW_expression_in_foreachStatement761, FOLLOW_expression_in_ifExpression1224, FOLLOW_expression_in_ifStatement806, FOLLOW_expression_in_letExpression1071, FOLLOW_expression_in_letStatement923, FOLLOW_expression_in_parameterList2153, FOLLOW_expression_in_parameterList2162, FOLLOW_expression_in_paranthesizedExpression1773, FOLLOW_expression_in_protectStatement970, FOLLOW_expression_in_protectStatement979, FOLLOW_expression_in_protectStatement996, FOLLOW_expressionStmt_in_simpleStatement541, FOLLOW_featureCall_in_infixExpression1643, FOLLOW_featureCall_in_primaryExpression1680, FOLLOW_fileStatement_in_statement417, FOLLOW_foreachStatement_in_statement425, FOLLOW_globalVarExpression_in_primaryExpression1740, FOLLOW_identifier_in_collectionExpression2065, FOLLOW_identifier_in_declaredParameter2131, FOLLOW_identifier_in_define307, FOLLOW_identifier_in_featureCall1817, FOLLOW_identifier_in_fileStatement705, FOLLOW_identifier_in_foreachStatement745, FOLLOW_identifier_in_foreachStatement752, FOLLOW_identifier_in_globalVarExpression1799, FOLLOW_Identifier_in_identifier2304, FOLLOW_identifier_in_letExpression1059, FOLLOW_identifier_in_letStatement929, FOLLOW_identifier_in_pointcut262, FOLLOW_identifier_in_pointcut277, FOLLOW_identifier_in_simpleType2269, FOLLOW_identifier_in_simpleType2281, FOLLOW_ifExpression_in_chainExpression1154, FOLLOW_ifExpression_in_chainExpression1164, FOLLOW_ifStatement_in_statement433, FOLLOW_impliesExpression_in_andExpression1391, FOLLOW_impliesExpression_in_andExpression1402, FOLLOW_infixExpression_in_unaryExpression1591, FOLLOW_infixExpression_in_unaryExpression1603, FOLLOW_infixExpression_in_unaryExpression1615, FOLLOW_IntLiteral_in_numberLiteral1950, FOLLOW_IntLiteral_in_numberLiteral1959, FOLLOW_IntLiteral_in_numberLiteral1967, FOLLOW_letExpression_in_expression1036, FOLLOW_letStatement_in_statement441, FOLLOW_LG_in_template47, FOLLOW_listLiteral_in_primaryExpression1720, FOLLOW_multiplicativeExpression_in_additiveExpression1514, FOLLOW_multiplicativeExpression_in_additiveExpression1533, FOLLOW_nullLiteral_in_primaryExpression1710, FOLLOW_numberLiteral_in_primaryExpression1700, FOLLOW_orExpression_in_switchExpression1260, FOLLOW_orExpression_in_switchExpression1286, FOLLOW_orExpression_in_switchExpression1294, FOLLOW_orExpression_in_switchExpression1320, FOLLOW_orExpression_in_switchExpression1337, FOLLOW_parameterList_in_expandStatement590, FOLLOW_parameterList_in_featureCall1824, FOLLOW_parameterList_in_listLiteral1871, FOLLOW_paranthesizedExpression_in_primaryExpression1750, FOLLOW_pointcut_in_around182, FOLLOW_primaryExpression_in_infixExpression1633, FOLLOW_protectStatement_in_statement449, FOLLOW_relationalExpression_in_impliesExpression1424, FOLLOW_relationalExpression_in_impliesExpression1435, FOLLOW_sequence_in_around229, FOLLOW_sequence_in_define332, FOLLOW_sequence_in_elseIfStatement871, FOLLOW_sequence_in_elseStatement898, FOLLOW_sequence_in_fileStatement713, FOLLOW_sequence_in_foreachStatement771, FOLLOW_sequence_in_ifStatement812, FOLLOW_sequence_in_letStatement937, FOLLOW_sequence_in_protectStatement1010, FOLLOW_set_in_additiveExpression1524, FOLLOW_set_in_booleanLiteral0, FOLLOW_set_in_collectionExpression2010, FOLLOW_set_in_collectionType2220, FOLLOW_set_in_multiplicativeExpression1560, FOLLOW_set_in_relationalExpression1467, FOLLOW_simpleStatement_in_statement409, FOLLOW_simpleType_in_anExtensionImport160, FOLLOW_simpleType_in_anImport141, FOLLOW_simpleType_in_collectionType2245, FOLLOW_simpleType_in_constructorCall1896, FOLLOW_simpleType_in_definitionName662, FOLLOW_simpleType_in_type2198, FOLLOW_statement_in_sequence370, FOLLOW_StringLiteral_in_primaryExpression1669, FOLLOW_switchExpression_in_ifExpression1185, FOLLOW_switchExpression_in_ifExpression1193, FOLLOW_switchExpression_in_ifExpression1199, FOLLOW_switchExpression_in_ifExpression1211, FOLLOW_switchExpression_in_ifExpression1217, 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_castedExpression1119, FOLLOW_type_in_collectionExpression1995, FOLLOW_type_in_declaredParameter2127, FOLLOW_type_in_define324, FOLLOW_type_in_featureCall1838, FOLLOW_type_in_synpred1_Xpand1106, FOLLOW_unaryExpression_in_multiplicativeExpression1552, FOLLOW_unaryExpression_in_multiplicativeExpression1570, HexDigit, Identifier, IntLiteral, JavaIDDigit, Letter, LG, LINE_COMMENT, ML_COMMENT, OctalEscape, RG, StringLiteral, T__100, T__20, T__21, T__22, T__23, T__24, T__25, T__26, T__27, T__28, T__29, T__30, T__31, T__32, T__33, T__34, T__35, T__36, T__37, T__38, T__39, T__40, T__41, T__42, T__43, T__44, T__45, T__46, T__47, T__48, T__49, T__50, T__51, T__52, T__53, T__54, T__55, T__56, T__57, T__58, T__59, T__60, T__61, T__62, T__63, T__64, T__65, T__66, T__67, T__68, T__69, T__70, T__71, T__72, T__73, T__74, T__75, T__76, T__77, T__78, T__79, T__80, T__81, T__82, T__83, T__84, T__85, T__86, T__87, T__88, T__89, T__90, T__91, T__92, T__93, T__94, T__95, T__96, T__97, T__98, T__99, TEXT, tokenNames, UnicodeEscape, WS |
| 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 |
| 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, displayRecognitionError, emitErrorMessage, endResync, failed, getBacktrackingLevel, getErrorHeader, getErrorMessage, getNumberOfSyntaxErrors, getRuleInvocationStack, getRuleInvocationStack, getRuleMemoization, getRuleMemoizationCacheSize, getTokenErrorDisplay, match, matchAny, memoize, mismatchIsMissingToken, mismatchIsUnwantedToken, pushFollow, recover, recoverFromMismatchedSet, recoverFromMismatchedToken, setBacktrackingLevel, 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 ExtensionImportDeclaration 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