public final String super_spec() throws RecognitionException { String type = null; CommonTree CLASS_DESCRIPTOR11=null; try { // smaliTreeWalker.g:197:3: ( ^( I_SUPER CLASS_DESCRIPTOR ) ) // smaliTreeWalker.g:197:5: ^( I_SUPER CLASS_DESCRIPTOR ) { match(input,I_SUPER,FOLLOW_I_SUPER_in_super_spec130); match(input, Token.DOWN, null); CLASS_DESCRIPTOR11=(CommonTree)match(input,CLASS_DESCRIPTOR,FOLLOW_CLASS_DESCRIPTOR_in_super_spec132); match(input, Token.UP, null); type = (CLASS_DESCRIPTOR11!=null?CLASS_DESCRIPTOR11.getText():null); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return type; } // $ANTLR end "super_spec"
public final void label_def() throws RecognitionException { CommonTree SIMPLE_NAME93=null; try { // smaliTreeWalker.g:580:3: ( ^( I_LABEL SIMPLE_NAME ) ) // smaliTreeWalker.g:580:5: ^( I_LABEL SIMPLE_NAME ) { match(input,I_LABEL,FOLLOW_I_LABEL_in_label_def1415); match(input, Token.DOWN, null); SIMPLE_NAME93=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_label_def1417); match(input, Token.UP, null); method_stack.peek().methodBuilder.addLabel((SIMPLE_NAME93!=null?SIMPLE_NAME93.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "label_def"
public final void restart_local() throws RecognitionException { CommonTree REGISTER103=null; try { // smaliTreeWalker.g:672:3: ( ^( I_RESTART_LOCAL REGISTER ) ) // smaliTreeWalker.g:672:5: ^( I_RESTART_LOCAL REGISTER ) { match(input,I_RESTART_LOCAL,FOLLOW_I_RESTART_LOCAL_in_restart_local1691); match(input, Token.DOWN, null); REGISTER103=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_restart_local1693); match(input, Token.UP, null); int registerNumber = parseRegister_short((REGISTER103!=null?REGISTER103.getText():null)); method_stack.peek().methodBuilder.addRestartLocal(registerNumber); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "restart_local"
public final void end_local() throws RecognitionException { CommonTree REGISTER102=null; try { // smaliTreeWalker.g:665:3: ( ^( I_END_LOCAL REGISTER ) ) // smaliTreeWalker.g:665:5: ^( I_END_LOCAL REGISTER ) { match(input,I_END_LOCAL,FOLLOW_I_END_LOCAL_in_end_local1671); match(input, Token.DOWN, null); REGISTER102=(CommonTree)match(input,REGISTER,FOLLOW_REGISTER_in_end_local1673); match(input, Token.UP, null); int registerNumber = parseRegister_short((REGISTER102!=null?REGISTER102.getText():null)); method_stack.peek().methodBuilder.addEndLocal(registerNumber); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "end_local"
public final ImmutableFieldReference field_literal() throws RecognitionException { ImmutableFieldReference value = null; TreeRuleReturnScope field_reference241 =null; try { // smaliTreeWalker.g:1418:3: ( ^( I_ENCODED_FIELD field_reference ) ) // smaliTreeWalker.g:1418:5: ^( I_ENCODED_FIELD field_reference ) { match(input,I_ENCODED_FIELD,FOLLOW_I_ENCODED_FIELD_in_field_literal4013); match(input, Token.DOWN, null); pushFollow(FOLLOW_field_reference_in_field_literal4015); field_reference241=field_reference(); state._fsp--; match(input, Token.UP, null); value = (field_reference241!=null?((smaliTreeWalker.field_reference_return)field_reference241).fieldReference:null); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "field_literal"
public final void insn_format10x() throws RecognitionException { CommonTree INSTRUCTION_FORMAT10x116=null; try { // smaliTreeWalker.g:818:3: ( ^( I_STATEMENT_FORMAT10x INSTRUCTION_FORMAT10x ) ) // smaliTreeWalker.g:819:5: ^( I_STATEMENT_FORMAT10x INSTRUCTION_FORMAT10x ) { match(input,I_STATEMENT_FORMAT10x,FOLLOW_I_STATEMENT_FORMAT10x_in_insn_format10x2244); match(input, Token.DOWN, null); INSTRUCTION_FORMAT10x116=(CommonTree)match(input,INSTRUCTION_FORMAT10x,FOLLOW_INSTRUCTION_FORMAT10x_in_insn_format10x2246); match(input, Token.UP, null); Opcode opcode = opcodes.getOpcodeByName((INSTRUCTION_FORMAT10x116!=null?INSTRUCTION_FORMAT10x116.getText():null)); method_stack.peek().methodBuilder.addInstruction(new BuilderInstruction10x(opcode)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "insn_format10x"
public final void line() throws RecognitionException { int integral_literal99 =0; try { // smaliTreeWalker.g:649:3: ( ^( I_LINE integral_literal ) ) // smaliTreeWalker.g:649:5: ^( I_LINE integral_literal ) { match(input,I_LINE,FOLLOW_I_LINE_in_line1610); match(input, Token.DOWN, null); pushFollow(FOLLOW_integral_literal_in_line1612); integral_literal99=integral_literal(); state._fsp--; match(input, Token.UP, null); method_stack.peek().methodBuilder.addLineNumber(integral_literal99); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "line"
public final String string_literal() throws RecognitionException { String value = null; CommonTree STRING_LITERAL231=null; try { // smaliTreeWalker.g:1363:3: ( STRING_LITERAL ) // smaliTreeWalker.g:1363:5: STRING_LITERAL { STRING_LITERAL231=(CommonTree)match(input,STRING_LITERAL,FOLLOW_STRING_LITERAL_in_string_literal3796); value = (STRING_LITERAL231!=null?STRING_LITERAL231.getText():null); value = value.substring(1,value.length()-1); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "string_literal"
public final void prologue() throws RecognitionException { try { // smaliTreeWalker.g:679:3: ( I_PROLOGUE ) // smaliTreeWalker.g:679:5: I_PROLOGUE { match(input,I_PROLOGUE,FOLLOW_I_PROLOGUE_in_prologue1710); method_stack.peek().methodBuilder.addPrologue(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "prologue"
public final void epilogue() throws RecognitionException { try { // smaliTreeWalker.g:685:3: ( I_EPILOGUE ) // smaliTreeWalker.g:685:5: I_EPILOGUE { match(input,I_EPILOGUE,FOLLOW_I_EPILOGUE_in_epilogue1726); method_stack.peek().methodBuilder.addEpilogue(); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "epilogue"
public final boolean bool_literal() throws RecognitionException { boolean value = false; CommonTree BOOL_LITERAL232=null; try { // smaliTreeWalker.g:1370:3: ( BOOL_LITERAL ) // smaliTreeWalker.g:1370:5: BOOL_LITERAL { BOOL_LITERAL232=(CommonTree)match(input,BOOL_LITERAL,FOLLOW_BOOL_LITERAL_in_bool_literal3815); value = Boolean.parseBoolean((BOOL_LITERAL232!=null?BOOL_LITERAL232.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "bool_literal"
public final char char_literal() throws RecognitionException { char value = 0; CommonTree CHAR_LITERAL230=null; try { // smaliTreeWalker.g:1360:3: ( CHAR_LITERAL ) // smaliTreeWalker.g:1360:5: CHAR_LITERAL { CHAR_LITERAL230=(CommonTree)match(input,CHAR_LITERAL,FOLLOW_CHAR_LITERAL_in_char_literal3781); value = (CHAR_LITERAL230!=null?CHAR_LITERAL230.getText():null).charAt(1); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "char_literal"
public final Label label_ref() throws RecognitionException { Label label = null; CommonTree SIMPLE_NAME106=null; try { // smaliTreeWalker.g:704:3: ( SIMPLE_NAME ) // smaliTreeWalker.g:704:5: SIMPLE_NAME { SIMPLE_NAME106=(CommonTree)match(input,SIMPLE_NAME,FOLLOW_SIMPLE_NAME_in_label_ref1817); label = method_stack.peek().methodBuilder.getLabel((SIMPLE_NAME106!=null?SIMPLE_NAME106.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return label; } // $ANTLR end "label_ref"
public final int verification_error_type() throws RecognitionException { int verificationError = 0; CommonTree VERIFICATION_ERROR_TYPE113=null; try { // smaliTreeWalker.g:758:3: ( VERIFICATION_ERROR_TYPE ) // smaliTreeWalker.g:758:5: VERIFICATION_ERROR_TYPE { VERIFICATION_ERROR_TYPE113=(CommonTree)match(input,VERIFICATION_ERROR_TYPE,FOLLOW_VERIFICATION_ERROR_TYPE_in_verification_error_type1945); verificationError = VerificationError.getVerificationError((VERIFICATION_ERROR_TYPE113!=null?VERIFICATION_ERROR_TYPE113.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return verificationError; } // $ANTLR end "verification_error_type"
public final byte byte_literal() throws RecognitionException { byte value = 0; CommonTree BYTE_LITERAL227=null; try { // smaliTreeWalker.g:1351:3: ( BYTE_LITERAL ) // smaliTreeWalker.g:1351:5: BYTE_LITERAL { BYTE_LITERAL227=(CommonTree)match(input,BYTE_LITERAL,FOLLOW_BYTE_LITERAL_in_byte_literal3736); value = LiteralTools.parseByte((BYTE_LITERAL227!=null?BYTE_LITERAL227.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "byte_literal"
public final int integer_literal() throws RecognitionException { int value = 0; CommonTree INTEGER_LITERAL224=null; try { // smaliTreeWalker.g:1342:3: ( INTEGER_LITERAL ) // smaliTreeWalker.g:1342:5: INTEGER_LITERAL { INTEGER_LITERAL224=(CommonTree)match(input,INTEGER_LITERAL,FOLLOW_INTEGER_LITERAL_in_integer_literal3691); value = LiteralTools.parseInt((INTEGER_LITERAL224!=null?INTEGER_LITERAL224.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "integer_literal"
public final short short_literal() throws RecognitionException { short value = 0; CommonTree SHORT_LITERAL226=null; try { // smaliTreeWalker.g:1348:3: ( SHORT_LITERAL ) // smaliTreeWalker.g:1348:5: SHORT_LITERAL { SHORT_LITERAL226=(CommonTree)match(input,SHORT_LITERAL,FOLLOW_SHORT_LITERAL_in_short_literal3721); value = LiteralTools.parseShort((SHORT_LITERAL226!=null?SHORT_LITERAL226.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "short_literal"
public final long long_literal() throws RecognitionException { long value = 0; CommonTree LONG_LITERAL225=null; try { // smaliTreeWalker.g:1345:3: ( LONG_LITERAL ) // smaliTreeWalker.g:1345:5: LONG_LITERAL { LONG_LITERAL225=(CommonTree)match(input,LONG_LITERAL,FOLLOW_LONG_LITERAL_in_long_literal3706); value = LiteralTools.parseLong((LONG_LITERAL225!=null?LONG_LITERAL225.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "long_literal"
public final float float_literal() throws RecognitionException { float value = 0.0f; CommonTree FLOAT_LITERAL228=null; try { // smaliTreeWalker.g:1354:3: ( FLOAT_LITERAL ) // smaliTreeWalker.g:1354:5: FLOAT_LITERAL { FLOAT_LITERAL228=(CommonTree)match(input,FLOAT_LITERAL,FOLLOW_FLOAT_LITERAL_in_float_literal3751); value = LiteralTools.parseFloat((FLOAT_LITERAL228!=null?FLOAT_LITERAL228.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "float_literal"
public final double double_literal() throws RecognitionException { double value = 0.0; CommonTree DOUBLE_LITERAL229=null; try { // smaliTreeWalker.g:1357:3: ( DOUBLE_LITERAL ) // smaliTreeWalker.g:1357:5: DOUBLE_LITERAL { DOUBLE_LITERAL229=(CommonTree)match(input,DOUBLE_LITERAL,FOLLOW_DOUBLE_LITERAL_in_double_literal3766); value = LiteralTools.parseDouble((DOUBLE_LITERAL229!=null?DOUBLE_LITERAL229.getText():null)); } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } return value; } // $ANTLR end "double_literal"