public final smaliParser.instruction_format31i_return instruction_format31i() throws RecognitionException { smaliParser.instruction_format31i_return retval = new smaliParser.instruction_format31i_return(); retval.start = input.LT(1); RewriteRuleTokenStream stream_INSTRUCTION_FORMAT31i_OR_ID=new RewriteRuleTokenStream(adaptor,"token INSTRUCTION_FORMAT31i_OR_ID"); int LA52_0 = input.LA(1); if ( (LA52_0==INSTRUCTION_FORMAT31i) ) { alt52=1; new NoViableAltException("", 52, 0, input); throw nvae; root_0 = (CommonTree)adaptor.nil(); INSTRUCTION_FORMAT31i267_tree = (CommonTree)adaptor.create(INSTRUCTION_FORMAT31i267); adaptor.addChild(root_0, INSTRUCTION_FORMAT31i267_tree); stream_INSTRUCTION_FORMAT31i_OR_ID.add(INSTRUCTION_FORMAT31i_OR_ID268); RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null); root_0 = (CommonTree)adaptor.nil(); retval.stop = input.LT(-1); retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
public final smaliParser.reference_type_descriptor_return reference_type_descriptor() throws RecognitionException { smaliParser.reference_type_descriptor_return retval = new smaliParser.reference_type_descriptor_return(); retval.start = input.LT(1); int LA17_0 = input.LA(1); if ( (LA17_0==CLASS_DESCRIPTOR) ) { alt17=1; new NoViableAltException("", 17, 0, input); throw nvae; root_0 = (CommonTree)adaptor.nil(); CLASS_DESCRIPTOR109_tree = (CommonTree)adaptor.create(CLASS_DESCRIPTOR109); adaptor.addChild(root_0, CLASS_DESCRIPTOR109_tree); state._fsp--; adaptor.addChild(root_0, array_descriptor110.getTree()); retval.stop = input.LT(-1); retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);
int LA34_0 = input.LA(1); if ( (LA34_0=='v') ) { alt34=1; new NoViableAltException("", 34, 0, input); throw nvae;
@Override public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { TokenStream input = (TokenStream)_input; int _s = s; switch ( s ) { case 0 : int LA42_70 = input.LA(1); int index42_70 = input.index(); input.rewind(); s = -1; if ( ((input.LA(1) == ANNOTATION_DIRECTIVE)) ) {s = 71;} else if ( (true) ) {s = 1;} input.seek(index42_70); if ( s>=0 ) return s; break; } NoViableAltException nvae = new NoViableAltException(getDescription(), 42, _s, input); error(nvae); throw nvae; } }
public final FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return tag_index_id_val() throws RecognitionException { FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return retval = new FastSimpleGenericEdifactDirectXMLParser.tag_index_id_val_return(); retval.start = input.LT( 1 ); int LA8_0 = input.LA( 1 ); alt8 = 2; } else { NoViableAltException nvae = new NoViableAltException( "", 8, 0, input ); retval.stop = input.LT( -1 );
int LA45_0 = input.LA(1); if ( (LA45_0=='l') ) { int LA45_1 = input.LA(2); if ( (LA45_1=='d') ) { int LA45_2 = input.LA(3); if ( (LA45_2=='c') ) { switch ( input.LA(4) ) { new NoViableAltException("", 45, 2, input); throw nvae; } finally { input.consume(); NoViableAltException nvae = new NoViableAltException("", 45, 1, input); throw nvae; } finally { new NoViableAltException("", 45, 0, input); throw nvae;
int LA49_0 = input.LA(1); if ( (LA49_0=='\\') ) { alt49=1; new NoViableAltException("", 49, 0, input); throw nvae; if ( (input.LA(1) >= '\u0000' && input.LA(1) <= '\b')||(input.LA(1) >= '\u000B' && input.LA(1) <= '\f')||(input.LA(1) >= '\u000E' && input.LA(1) <= '\u001F')||(input.LA(1) >= '!' && input.LA(1) <= '\'')||(input.LA(1) >= '*' && input.LA(1) <= '+')||(input.LA(1) >= '.' && input.LA(1) <= '9')||(input.LA(1) >= ';' && input.LA(1) <= '<')||(input.LA(1) >= '>' && input.LA(1) <= '[')||(input.LA(1) >= ']' && input.LA(1) <= 'z')||input.LA(1)=='|'||(input.LA(1) >= '~' && input.LA(1) <= '\uFFFF') ) { input.consume();
int LA67_0 = input.LA(1); if ( ((LA67_0 >= ARRAY_B && LA67_0 <= ARRAY_J)||(LA67_0 >= ARRAY_S && LA67_0 <= ARRAY_Z)||LA67_0==OBJECT_TYPE||LA67_0==PARRAY_TYPE) ) { alt67=1; new NoViableAltException("", 67, 0, input); throw nvae; int LA66_0 = input.LA(1); if ( ((LA66_0 >= ARRAY_B && LA66_0 <= ARRAY_J)||(LA66_0 >= ARRAY_S && LA66_0 <= ARRAY_Z)||LA66_0==PARRAY_TYPE) ) { alt66=1; new NoViableAltException("", 66, 0, input); throw nvae; state._fsp--; desc =unEscape((a!=null?input.toString(a.start,a.stop):null));
int LA15_0 = input.LA(1); if ( (LA15_0==135) ) { alt15=1; new NoViableAltException("", 15, 0, input); throw nvae; while (true) { int alt16=2; int LA16_0 = input.LA(1); if ( (LA16_0==92) ) { alt16=1;
default: NoViableAltException nvae = new NoViableAltException("", 40, 0, input); throw nvae; retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start)); retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start));
public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : int LA14_17 = input.LA(1); s = -1; if ( ((LA14_17>='\u0000' && LA14_17<='\uFFFF')) ) {s = 45;} else s = 46; if ( s>=0 ) return s; break; case 1 : int LA14_16 = input.LA(1); s = -1; if ( ((LA14_16>='\u0000' && LA14_16<='\uFFFF')) ) {s = 45;} else s = 44; if ( s>=0 ) return s; break; } NoViableAltException nvae = new NoViableAltException(getDescription(), 14, _s, input); error(nvae); throw nvae; } }
@Override public String toString() { if ( input instanceof CharStream ) { return "NoViableAltException('"+(char)getUnexpectedType()+"'@["+grammarDecisionDescription+"])"; } else { return "NoViableAltException("+getUnexpectedType()+"@["+grammarDecisionDescription+"])"; } } }
public final HiveParser_IdentifiersParser.identifier_return identifier() throws RecognitionException { HiveParser_IdentifiersParser.identifier_return retval = new HiveParser_IdentifiersParser.identifier_return(); retval.start = input.LT(1); RewriteRuleSubtreeStream stream_nonReserved=new RewriteRuleSubtreeStream(adaptor,"rule nonReserved"); int LA66_0 = input.LA(1); if ( (LA66_0==Identifier) ) { alt66=1; if (state.backtracking>0) {state.failed=true; return retval;} NoViableAltException nvae = new NoViableAltException("", 66, 0, input); throw nvae; root_0 = (ASTNode)adaptor.nil(); Identifier304_tree = (ASTNode)adaptor.create(Identifier304); adaptor.addChild(root_0, Identifier304_tree); state._fsp--; if (state.failed) return retval; if ( state.backtracking==0 ) stream_nonReserved.add(nonReserved305.getTree()); RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():null); root_0 = (ASTNode)adaptor.nil(); retval.stop = input.LT(-1);
int LA35_0 = input.LA(1); if ( (LA35_0=='v') ) { alt35=1; new NoViableAltException("", 35, 0, input); throw nvae;
switch ( s ) { case 0 : int LA23_30 = input.LA(1); int index23_30 = input.index(); input.rewind(); s = -1; if ( (synpred4_FromClauseParser()) ) {s = 70;} new NoViableAltException(getDescription(), 23, _s, input); error(nvae); throw nvae;
public final FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return composite_data_item_val() throws RecognitionException { FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return retval = new FastSimpleGenericEdifactDirectXMLParser.composite_data_item_val_return(); retval.start = input.LT( 1 ); int LA6_0 = input.LA( 1 ); alt6 = 2; } else { NoViableAltException nvae = new NoViableAltException( "", 6, 0, input ); retval.stop = input.LT( -1 );
switch ( input.LA(1) ) { case 'a': case 'd': case 'l': int LA41_1 = input.LA(2); if ( (LA41_1=='l') ) { alt41=1; int nvaeMark = input.mark(); try { input.consume(); NoViableAltException nvae = new NoViableAltException("", 41, 1, input); throw nvae; } finally { default: NoViableAltException nvae = new NoViableAltException("", 41, 0, input); throw nvae;
int LA53_0 = input.LA(1); if ( ((LA53_0 >= 'B' && LA53_0 <= 'D')||LA53_0=='F'||(LA53_0 >= 'I' && LA53_0 <= 'J')||LA53_0=='S'||LA53_0=='Z') ) { alt53=1; new NoViableAltException("", 53, 0, input); throw nvae; while (true) { int alt50=2; int LA50_0 = input.LA(1); if ( ((LA50_0 >= '\u0000' && LA50_0 <= '\b')||(LA50_0 >= '\u000B' && LA50_0 <= '\f')||(LA50_0 >= '\u000E' && LA50_0 <= '\u001F')||(LA50_0 >= '!' && LA50_0 <= '\'')||(LA50_0 >= '*' && LA50_0 <= '+')||(LA50_0 >= '.' && LA50_0 <= '9')||(LA50_0 >= ';' && LA50_0 <= '<')||(LA50_0 >= '>' && LA50_0 <= 'z')||LA50_0=='|'||(LA50_0 >= '~' && LA50_0 <= '\uFFFF')) ) { alt50=1; while (true) { int alt51=2; int LA51_0 = input.LA(1); if ( ((LA51_0 >= '\u0000' && LA51_0 <= '\b')||(LA51_0 >= '\u000B' && LA51_0 <= '\f')||(LA51_0 >= '\u000E' && LA51_0 <= '\u001F')||(LA51_0 >= '!' && LA51_0 <= '\'')||(LA51_0 >= '*' && LA51_0 <= '+')||(LA51_0 >= '.' && LA51_0 <= '9')||(LA51_0 >= ';' && LA51_0 <= '<')||(LA51_0 >= '>' && LA51_0 <= 'z')||LA51_0=='|'||(LA51_0 >= '~' && LA51_0 <= '\uFFFF')) ) { alt51=1;
new NoViableAltException("", 41, 0, input); throw nvae; retval.type = input.getTokenStream().toString(input.getTreeAdaptor().getTokenStartIndex(retval.start),input.getTreeAdaptor().getTokenStopIndex(retval.start));
new NoViableAltException("", 42, 0, input); throw nvae;