public final void mBOOLEAN() throws RecognitionException {
        try {
            int _type = BOOLEAN;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/victor/srec/core/src/main/antlr/srec.g:114:2: ( 'true' | 'false' )
            int alt1=2;
            int LA1_0 = input.LA(1);

            if ( (LA1_0=='t') ) {
                alt1=1;
            }
            else if ( (LA1_0=='f') ) {
                alt1=2;
            }
            else {
                NoViableAltException nvae =
                    new NoViableAltException("", 1, 0, input);

                throw nvae;
            }
            switch (alt1) {
                case 1 :
                    // /home/victor/srec/core/src/main/antlr/srec.g:114:4: 'true'
                    {
                    match("true"); 


                    }
                    break;
                case 2 :
                    // /home/victor/srec/core/src/main/antlr/srec.g:114:13: 'false'
                    {
                    match("false"); 


                    }
                    break;

            }
            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
public final void mBOOLEAN ( ) throws RecognitionException { try { int _type = BOOLEAN ; int _channel = DEFAULT_TOKEN_CHANNEL ; int alt1 = 2 ; int LA1_0 = input . LA ( 1 ) ; if ( ( LA1_0 == 't' ) ) { alt1 = 1 ; } else if ( ( LA1_0 == 'f' ) ) { alt1 = 2 ; } else { NoViableAltException nvae = new NoViableAltException ( "" , 1 , 0 , input ) ; throw nvae ; } switch ( alt1 ) { case 1 : { match ( "true" ) ; } break ; case 2 : { match ( "false" ) ; } break ; } state . type = _type ; state . channel = _channel ; } finally { } }
$ANTLR start "BOOLEAN"