Class MyPCMStoExParser
- java.lang.Object
-
- org.antlr.runtime.BaseRecognizer
-
- org.antlr.runtime.Parser
-
- org.palladiosimulator.pcm.stochasticexpressions.parser.PCMStoExParser
-
- org.palladiosimulator.pcm.stochasticexpressions.parser.MyPCMStoExParser
-
public class MyPCMStoExParser extends PCMStoExParser
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.pcm.stochasticexpressions.parser.PCMStoExParser
ALPHA, AND, BOOL, BOOLPMF, BYTESIZE, COLON, COMMENT, DEFINITION, DIGIT, DIV, DOT, DOUBLEPDF, DOUBLEPMF, ENUMPMF, EOF, EQUAL, Exponent, FALSE, FOLLOW_55_in_ifelseExpr79, FOLLOW_56_in_ifelseExpr89, FOLLOW_AND_in_boolAndExpr131, FOLLOW_arguments_in_atom823, FOLLOW_atom_in_unaryExpr633, FOLLOW_boolAndExpr_in_expressionList959, FOLLOW_boolAndExpr_in_expressionList970, FOLLOW_boolAndExpr_in_ifelseExpr66, FOLLOW_boolAndExpr_in_ifelseExpr85, FOLLOW_boolAndExpr_in_ifelseExpr95, FOLLOW_boolean_keywords_in_atom747, FOLLOW_boolean_keywords_in_boolsample1678, FOLLOW_boolOrExpr_in_boolAndExpr120, FOLLOW_boolOrExpr_in_boolAndExpr142, FOLLOW_BOOLPMF_in_definition1306, FOLLOW_boolsample_in_definition1363, FOLLOW_BYTESIZE_in_characterisation_keywords1795, FOLLOW_characterisation_in_atom783, FOLLOW_characterisation_keywords_in_characterisation1003, FOLLOW_COLON_in_expressionList964, FOLLOW_compareExpr_in_boolOrExpr169, FOLLOW_compareExpr_in_boolOrExpr202, FOLLOW_definition_in_atom695, FOLLOW_DIV_in_prodExpr462, FOLLOW_DOT_in_atom777, FOLLOW_DOT_in_scoped_id1864, FOLLOW_DOUBLEPDF_in_definition1247, FOLLOW_DOUBLEPMF_in_definition1101, FOLLOW_ENUMPMF_in_definition1163, FOLLOW_EOF_in_expression43, FOLLOW_EQUAL_in_compareExpr277, FOLLOW_expressionList_in_arguments916, FOLLOW_FALSE_in_boolean_keywords1722, FOLLOW_GREATER_in_compareExpr257, FOLLOW_GREATEREQUAL_in_compareExpr297, FOLLOW_ID_in_atom810, FOLLOW_ID_in_scoped_id1853, FOLLOW_ID_in_scoped_id1869, FOLLOW_ifelseExpr_in_atom858, FOLLOW_ifelseExpr_in_expression41, FOLLOW_INNER_in_scoped_id1875, FOLLOW_INTPMF_in_definition1040, FOLLOW_LESS_in_compareExpr267, FOLLOW_LESSEQUAL_in_compareExpr307, FOLLOW_LPAREN_in_arguments910, FOLLOW_LPAREN_in_atom848, FOLLOW_LPAREN_in_boolsample1664, FOLLOW_LPAREN_in_definition1176, FOLLOW_LPAREN_in_definition1319, FOLLOW_LPAREN_in_numeric_int_sample1406, FOLLOW_LPAREN_in_numeric_real_sample1473, FOLLOW_LPAREN_in_real_pdf_sample1541, FOLLOW_LPAREN_in_stringsample1606, FOLLOW_MINUS_in_signed_number1765, FOLLOW_MINUS_in_sumExpr380, FOLLOW_MINUS_in_unaryExpr581, FOLLOW_MOD_in_prodExpr473, FOLLOW_MUL_in_prodExpr451, FOLLOW_NOT_in_unaryExpr605, FOLLOW_NOTEQUAL_in_compareExpr287, FOLLOW_NUMBER_in_atom668, FOLLOW_NUMBER_in_boolsample1692, FOLLOW_NUMBER_in_numeric_int_sample1438, FOLLOW_NUMBER_in_numeric_real_sample1505, FOLLOW_NUMBER_in_real_pdf_sample1573, FOLLOW_NUMBER_in_signed_number1773, FOLLOW_NUMBER_in_stringsample1635, FOLLOW_NUMBER_OF_ELEMENTS_in_characterisation_keywords1809, FOLLOW_numeric_int_sample_in_definition1071, FOLLOW_numeric_real_sample_in_definition1132, FOLLOW_OR_in_boolOrExpr182, FOLLOW_ORDERED_DEF_in_definition1183, FOLLOW_ORDERED_DEF_in_definition1326, FOLLOW_PLUS_in_sumExpr372, FOLLOW_POW_in_powExpr539, FOLLOW_powExpr_in_prodExpr431, FOLLOW_powExpr_in_prodExpr489, FOLLOW_prodExpr_in_sumExpr354, FOLLOW_prodExpr_in_sumExpr393, FOLLOW_real_pdf_sample_in_definition1278, FOLLOW_RPAREN_in_arguments921, FOLLOW_RPAREN_in_atom864, FOLLOW_RPAREN_in_boolsample1703, FOLLOW_RPAREN_in_definition1195, FOLLOW_RPAREN_in_definition1338, FOLLOW_RPAREN_in_numeric_int_sample1450, FOLLOW_RPAREN_in_numeric_real_sample1517, FOLLOW_RPAREN_in_real_pdf_sample1585, FOLLOW_RPAREN_in_stringsample1646, FOLLOW_scoped_id_in_atom775, FOLLOW_SEMI_in_boolsample1686, FOLLOW_SEMI_in_numeric_int_sample1430, FOLLOW_SEMI_in_numeric_real_sample1497, FOLLOW_SEMI_in_real_pdf_sample1565, FOLLOW_SEMI_in_stringsample1629, FOLLOW_signed_number_in_numeric_int_sample1419, FOLLOW_signed_number_in_numeric_real_sample1486, FOLLOW_signed_number_in_real_pdf_sample1554, FOLLOW_SQUARE_PAREN_L_in_definition1051, FOLLOW_SQUARE_PAREN_L_in_definition1114, FOLLOW_SQUARE_PAREN_L_in_definition1202, FOLLOW_SQUARE_PAREN_L_in_definition1258, FOLLOW_SQUARE_PAREN_L_in_definition1345, FOLLOW_SQUARE_PAREN_R_in_definition1088, FOLLOW_SQUARE_PAREN_R_in_definition1149, FOLLOW_SQUARE_PAREN_R_in_definition1237, FOLLOW_SQUARE_PAREN_R_in_definition1295, FOLLOW_SQUARE_PAREN_R_in_definition1380, FOLLOW_STRING_LITERAL_in_atom720, FOLLOW_STRING_LITERAL_in_stringsample1618, FOLLOW_stringsample_in_definition1220, FOLLOW_STRUCTURE_in_characterisation_keywords1802, FOLLOW_sumExpr_in_compareExpr240, FOLLOW_sumExpr_in_compareExpr322, FOLLOW_TRUE_in_boolean_keywords1736, FOLLOW_TYPE_in_characterisation_keywords1816, FOLLOW_unaryExpr_in_powExpr530, FOLLOW_unaryExpr_in_powExpr545, FOLLOW_unaryExpr_in_unaryExpr587, FOLLOW_unaryExpr_in_unaryExpr611, FOLLOW_VALUE_in_characterisation_keywords1823, FOLLOW_XOR_in_boolOrExpr190, GREATER, GREATEREQUAL, ID, IDPART, IDSTART, INNER, INTPMF, LESS, LESSEQUAL, LINE_COMMENT, LPAREN, MINUS, MOD, MUL, NOT, NOTEQUAL, NUMBER, NUMBER_OF_ELEMENTS, OR, ORDERED_DEF, PLUS, POW, RPAREN, SEMI, SQUARE_PAREN_L, SQUARE_PAREN_R, STRING_LITERAL, STRUCTURE, T__55, T__56, tokenNames, TRUE, TYPE, UNIT, VALUE, WS, XOR
-
-
Constructor Summary
Constructors Constructor Description MyPCMStoExParser(org.antlr.runtime.TokenStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ErrorEntry>
getErrors()
boolean
hasErrors()
void
reportError(org.antlr.runtime.RecognitionException arg0)
-
Methods inherited from class org.palladiosimulator.pcm.stochasticexpressions.parser.PCMStoExParser
arguments, atom, boolAndExpr, boolean_keywords, boolOrExpr, boolsample, characterisation, characterisation_keywords, compareExpr, definition, expression, expressionList, getGrammarFileName, getTokenNames, ifelseExpr, numeric_int_sample, numeric_real_sample, powExpr, prodExpr, real_pdf_sample, scoped_id, signed_number, stringsample, sumExpr, unaryExpr
-
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
-
-
-
-
Method Detail
-
reportError
public void reportError(org.antlr.runtime.RecognitionException arg0)
- Overrides:
reportError
in classorg.antlr.runtime.BaseRecognizer
-
hasErrors
public boolean hasErrors()
-
getErrors
public Collection<ErrorEntry> getErrors()
-
-