| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| pack-priv Token | |
| public static final int | |
| public static final int | |
| public List | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv Rule | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv CodeGenerator | |
| pack-priv Grammar | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| pack-priv int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | alreadyParsedRule(IntStream input, int ruleIndex)
Overrides org. |
| public void | |
| public Lexer[] | |
| public Grammar. | |
| public String | getGrammarFileName()
Overrides org. |
| public Attribute | getRuleLabelAttribute(String ruleName, String attrName)
For $rulelabel.name, return the Attribute found for name. |
| public boolean | |
| public boolean | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public void | memoize(IntStream input, int ruleIndex, int ruleStartIndex)
Overrides org. |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public void | mTokens()
Implements abstract org. |
| public final void | |
| public final void | |
| public Token | nextToken()
Overrides org. Implements org. |
| pack-priv AttributeScope | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| public final boolean | |
| public final void | |
| protected ST | |
| public String | |
| public List | |
| public List |
| ACTION | back to summary |
|---|---|
| public static final int ACTION | |
| actionToken | back to summary |
|---|---|
| pack-priv Token actionToken | |
| ARG | back to summary |
|---|---|
| public static final int ARG | |
| ATTR_VALUE_EXPR | back to summary |
|---|---|
| public static final int ATTR_VALUE_EXPR | |
| chunks | back to summary |
|---|---|
| public List<Object> chunks | |
| DYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR | back to summary |
|---|---|
| public static final int DYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR | |
| DYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR | back to summary |
|---|---|
| public static final int DYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR | |
| DYNAMIC_SCOPE_ATTR | back to summary |
|---|---|
| public static final int DYNAMIC_SCOPE_ATTR | |
| ENCLOSING_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public static final int ENCLOSING_RULE_SCOPE_ATTR | |
| enclosingRule | back to summary |
|---|---|
| pack-priv Rule enclosingRule | |
| EOF | back to summary |
|---|---|
| public static final int EOF | |
| ERROR_SCOPED_XY | back to summary |
|---|---|
| public static final int ERROR_SCOPED_XY | |
| ERROR_X | back to summary |
|---|---|
| public static final int ERROR_X | |
| ERROR_XY | back to summary |
|---|---|
| public static final int ERROR_XY | |
| ESC | back to summary |
|---|---|
| public static final int ESC | |
| generator | back to summary |
|---|---|
| pack-priv CodeGenerator generator | |
| grammar | back to summary |
|---|---|
| pack-priv Grammar grammar | |
| ID | back to summary |
|---|---|
| public static final int ID | |
| INDIRECT_TEMPLATE_INSTANCE | back to summary |
|---|---|
| public static final int INDIRECT_TEMPLATE_INSTANCE | |
| INT | back to summary |
|---|---|
| public static final int INT | |
| ISOLATED_DYNAMIC_SCOPE | back to summary |
|---|---|
| public static final int ISOLATED_DYNAMIC_SCOPE | |
| ISOLATED_LEXER_RULE_REF | back to summary |
|---|---|
| public static final int ISOLATED_LEXER_RULE_REF | |
| ISOLATED_TOKEN_REF | back to summary |
|---|---|
| public static final int ISOLATED_TOKEN_REF | |
| LABEL_REF | back to summary |
|---|---|
| public static final int LABEL_REF | |
| LOCAL_ATTR | back to summary |
|---|---|
| public static final int LOCAL_ATTR | |
| outerAltNum | back to summary |
|---|---|
| pack-priv int outerAltNum | |
| RULE_SCOPE_ATTR | back to summary |
|---|---|
| public static final int RULE_SCOPE_ATTR | |
| SCOPE_INDEX_EXPR | back to summary |
|---|---|
| public static final int SCOPE_INDEX_EXPR | |
| SET_ATTRIBUTE | back to summary |
|---|---|
| public static final int SET_ATTRIBUTE | |
| SET_DYNAMIC_SCOPE_ATTR | back to summary |
|---|---|
| public static final int SET_DYNAMIC_SCOPE_ATTR | |
| SET_ENCLOSING_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public static final int SET_ENCLOSING_RULE_SCOPE_ATTR | |
| SET_EXPR_ATTRIBUTE | back to summary |
|---|---|
| public static final int SET_EXPR_ATTRIBUTE | |
| SET_LOCAL_ATTR | back to summary |
|---|---|
| public static final int SET_LOCAL_ATTR | |
| SET_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public static final int SET_RULE_SCOPE_ATTR | |
| SET_TOKEN_SCOPE_ATTR | back to summary |
|---|---|
| public static final int SET_TOKEN_SCOPE_ATTR | |
| TEMPLATE_EXPR | back to summary |
|---|---|
| public static final int TEMPLATE_EXPR | |
| TEMPLATE_INSTANCE | back to summary |
|---|---|
| public static final int TEMPLATE_INSTANCE | |
| TEXT | back to summary |
|---|---|
| public static final int TEXT | |
| TOKEN_SCOPE_ATTR | back to summary |
|---|---|
| public static final int TOKEN_SCOPE_ATTR | |
| UNKNOWN_SYNTAX | back to summary |
|---|---|
| public static final int UNKNOWN_SYNTAX | |
| WS | back to summary |
|---|---|
| public static final int WS | |
| ActionTranslator | back to summary |
|---|---|
| public ActionTranslator(CodeGenerator generator, String ruleName, GrammarAST actionAST) | |
| ActionTranslator | back to summary |
|---|---|
| public ActionTranslator(CodeGenerator generator, String ruleName, Token actionToken, int outerAltNum) | |
| ActionTranslator | back to summary |
|---|---|
| public ActionTranslator() | |
| ActionTranslator | back to summary |
|---|---|
| public ActionTranslator(CharStream input) | |
| ActionTranslator | back to summary |
|---|---|
| public ActionTranslator(CharStream input, RecognizerSharedState state) | |
| alreadyParsedRule | back to summary |
|---|---|
| public boolean alreadyParsedRule(IntStream input, int ruleIndex) Overrides org. Doc from org. Has this rule already parsed input at the current index in the input stream? Return the stop token index or MEMO_RULE_UNKNOWN. If we attempted but failed to parse properly before, return MEMO_RULE_FAILED. This method has a side-effect: if we have seen this input for this rule and successfully parsed before, then seek ahead to 1 past the stop token matched for this rule last time.
| |
| checkElementRefUniqueness | back to summary |
|---|---|
| public void checkElementRefUniqueness(String ref, boolean isToken) | |
| getDelegates | back to summary |
|---|---|
| public Lexer[] getDelegates() | |
| getElementLabel | back to summary |
|---|---|
| public Grammar. | |
| getGrammarFileName | back to summary |
|---|---|
| public String getGrammarFileName() Overrides org. Doc from org. For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.
| |
| getRuleLabelAttribute | back to summary |
|---|---|
| public Attribute getRuleLabelAttribute(String ruleName, String attrName) For $rulelabel.name, return the Attribute found for name. It will be a predefined property or a return value. | |
| isRuleRefInAlt | back to summary |
|---|---|
| public boolean isRuleRefInAlt(String id) | |
| isTokenRefInAlt | back to summary |
|---|---|
| public boolean isTokenRefInAlt(String id) | |
| mACTION | back to summary |
|---|---|
| public final void mACTION() throws RecognitionException | |
| mARG | back to summary |
|---|---|
| public final void mARG() throws RecognitionException | |
| mATTR_VALUE_EXPR | back to summary |
|---|---|
| public final void mATTR_VALUE_EXPR() throws RecognitionException | |
| mDYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR | back to summary |
|---|---|
| public final void mDYNAMIC_ABSOLUTE_INDEXED_SCOPE_ATTR() throws RecognitionException | |
| mDYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR | back to summary |
|---|---|
| public final void mDYNAMIC_NEGATIVE_INDEXED_SCOPE_ATTR() throws RecognitionException | |
| mDYNAMIC_SCOPE_ATTR | back to summary |
|---|---|
| public final void mDYNAMIC_SCOPE_ATTR() throws RecognitionException | |
| memoize | back to summary |
|---|---|
| public void memoize(IntStream input, int ruleIndex, int ruleStartIndex) Overrides org. Doc from org. Record whether or not this rule parsed the input at this position successfully. Use a standard java hashtable for now.
| |
| mENCLOSING_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public final void mENCLOSING_RULE_SCOPE_ATTR() throws RecognitionException | |
| mERROR_SCOPED_XY | back to summary |
|---|---|
| public final void mERROR_SCOPED_XY() throws RecognitionException | |
| mERROR_X | back to summary |
|---|---|
| public final void mERROR_X() throws RecognitionException | |
| mERROR_XY | back to summary |
|---|---|
| public final void mERROR_XY() throws RecognitionException | |
| mESC | back to summary |
|---|---|
| public final void mESC() throws RecognitionException | |
| mID | back to summary |
|---|---|
| public final void mID() throws RecognitionException | |
| mINDIRECT_TEMPLATE_INSTANCE | back to summary |
|---|---|
| public final void mINDIRECT_TEMPLATE_INSTANCE() throws RecognitionException | |
| mINT | back to summary |
|---|---|
| public final void mINT() throws RecognitionException | |
| mISOLATED_DYNAMIC_SCOPE | back to summary |
|---|---|
| public final void mISOLATED_DYNAMIC_SCOPE() throws RecognitionException | |
| mISOLATED_LEXER_RULE_REF | back to summary |
|---|---|
| public final void mISOLATED_LEXER_RULE_REF() throws RecognitionException | |
| mISOLATED_TOKEN_REF | back to summary |
|---|---|
| public final void mISOLATED_TOKEN_REF() throws RecognitionException | |
| mLABEL_REF | back to summary |
|---|---|
| public final void mLABEL_REF() throws RecognitionException | |
| mLOCAL_ATTR | back to summary |
|---|---|
| public final void mLOCAL_ATTR() throws RecognitionException | |
| mRULE_SCOPE_ATTR | back to summary |
|---|---|
| public final void mRULE_SCOPE_ATTR() throws RecognitionException | |
| mSCOPE_INDEX_EXPR | back to summary |
|---|---|
| public final void mSCOPE_INDEX_EXPR() throws RecognitionException | |
| mSET_ATTRIBUTE | back to summary |
|---|---|
| public final void mSET_ATTRIBUTE() throws RecognitionException | |
| mSET_DYNAMIC_SCOPE_ATTR | back to summary |
|---|---|
| public final void mSET_DYNAMIC_SCOPE_ATTR() throws RecognitionException | |
| mSET_ENCLOSING_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public final void mSET_ENCLOSING_RULE_SCOPE_ATTR() throws RecognitionException | |
| mSET_EXPR_ATTRIBUTE | back to summary |
|---|---|
| public final void mSET_EXPR_ATTRIBUTE() throws RecognitionException | |
| mSET_LOCAL_ATTR | back to summary |
|---|---|
| public final void mSET_LOCAL_ATTR() throws RecognitionException | |
| mSET_RULE_SCOPE_ATTR | back to summary |
|---|---|
| public final void mSET_RULE_SCOPE_ATTR() throws RecognitionException | |
| mSET_TOKEN_SCOPE_ATTR | back to summary |
|---|---|
| public final void mSET_TOKEN_SCOPE_ATTR() throws RecognitionException | |
| mTEMPLATE_EXPR | back to summary |
|---|---|
| public final void mTEMPLATE_EXPR() throws RecognitionException | |
| mTEMPLATE_INSTANCE | back to summary |
|---|---|
| public final void mTEMPLATE_INSTANCE() throws RecognitionException | |
| mTEXT | back to summary |
|---|---|
| public final void mTEXT() throws RecognitionException | |
| mTOKEN_SCOPE_ATTR | back to summary |
|---|---|
| public final void mTOKEN_SCOPE_ATTR() throws RecognitionException | |
| mTokens | back to summary |
|---|---|
| public void mTokens() throws RecognitionException Implements abstract org. Doc from org. This is the lexer entry point that sets instance var 'token'
| |
| mUNKNOWN_SYNTAX | back to summary |
|---|---|
| public final void mUNKNOWN_SYNTAX() throws RecognitionException | |
| mWS | back to summary |
|---|---|
| public final void mWS() throws RecognitionException | |
| nextToken | back to summary |
|---|---|
| public Token nextToken() Overrides org. Implements org. Doc from org. Return a token from this source; i.e., match a token on the char stream.
| |
| resolveDynamicScope | back to summary |
|---|---|
| pack-priv AttributeScope resolveDynamicScope(String scopeName) | |
| synpred10_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred10_ActionTranslator() | |
| synpred10_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred10_ActionTranslator_fragment() throws RecognitionException | |
| synpred11_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred11_ActionTranslator() | |
| synpred11_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred11_ActionTranslator_fragment() throws RecognitionException | |
| synpred12_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred12_ActionTranslator() | |
| synpred12_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred12_ActionTranslator_fragment() throws RecognitionException | |
| synpred13_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred13_ActionTranslator() | |
| synpred13_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred13_ActionTranslator_fragment() throws RecognitionException | |
| synpred14_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred14_ActionTranslator() | |
| synpred14_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred14_ActionTranslator_fragment() throws RecognitionException | |
| synpred15_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred15_ActionTranslator() | |
| synpred15_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred15_ActionTranslator_fragment() throws RecognitionException | |
| synpred16_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred16_ActionTranslator() | |
| synpred16_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred16_ActionTranslator_fragment() throws RecognitionException | |
| synpred17_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred17_ActionTranslator() | |
| synpred17_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred17_ActionTranslator_fragment() throws RecognitionException | |
| synpred18_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred18_ActionTranslator() | |
| synpred18_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred18_ActionTranslator_fragment() throws RecognitionException | |
| synpred19_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred19_ActionTranslator() | |
| synpred19_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred19_ActionTranslator_fragment() throws RecognitionException | |
| synpred1_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred1_ActionTranslator() | |
| synpred1_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred1_ActionTranslator_fragment() throws RecognitionException | |
| synpred20_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred20_ActionTranslator() | |
| synpred20_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred20_ActionTranslator_fragment() throws RecognitionException | |
| synpred21_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred21_ActionTranslator() | |
| synpred21_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred21_ActionTranslator_fragment() throws RecognitionException | |
| synpred22_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred22_ActionTranslator() | |
| synpred22_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred22_ActionTranslator_fragment() throws RecognitionException | |
| synpred24_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred24_ActionTranslator() | |
| synpred24_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred24_ActionTranslator_fragment() throws RecognitionException | |
| synpred25_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred25_ActionTranslator() | |
| synpred25_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred25_ActionTranslator_fragment() throws RecognitionException | |
| synpred26_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred26_ActionTranslator() | |
| synpred26_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred26_ActionTranslator_fragment() throws RecognitionException | |
| synpred2_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred2_ActionTranslator() | |
| synpred2_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred2_ActionTranslator_fragment() throws RecognitionException | |
| synpred3_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred3_ActionTranslator() | |
| synpred3_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred3_ActionTranslator_fragment() throws RecognitionException | |
| synpred4_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred4_ActionTranslator() | |
| synpred4_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred4_ActionTranslator_fragment() throws RecognitionException | |
| synpred5_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred5_ActionTranslator() | |
| synpred5_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred5_ActionTranslator_fragment() throws RecognitionException | |
| synpred6_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred6_ActionTranslator() | |
| synpred6_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred6_ActionTranslator_fragment() throws RecognitionException | |
| synpred7_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred7_ActionTranslator() | |
| synpred7_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred7_ActionTranslator_fragment() throws RecognitionException | |
| synpred8_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred8_ActionTranslator() | |
| synpred8_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred8_ActionTranslator_fragment() throws RecognitionException | |
| synpred9_ActionTranslator | back to summary |
|---|---|
| public final boolean synpred9_ActionTranslator() | |
| synpred9_ActionTranslator_fragment | back to summary |
|---|---|
| public final void synpred9_ActionTranslator_fragment() throws RecognitionException | |
| template | back to summary |
|---|---|
| protected ST template(String name) | |
| translate | back to summary |
|---|---|
| public String translate() | |
| translateAction | back to summary |
|---|---|
| public List | |
| translateToChunks | back to summary |
|---|---|
| public List Return a list of strings and ST objects that represent the translated action. | |