INNER CODE UNIT · Java
mTARS_INTEGER_LITERAL
TarsCloud/TarsJava · tools/tars-maven-plugin/src/main/resources/antlr/TarsLexer.java:674
public final void mTARS_INTEGER_LITERAL() throws RecognitionException {
try {
int _type = TARS_INTEGER_LITERAL;
int _channel = DEFAULT_TOKEN_CHANNEL;
// TarsLexer.g:89:5: ( ( '0X' | '0x' ) ( '0' .. '9' | 'a' .. 'f' | 'A' .. 'F' )+ | ( 'O' | 'o' ) ( '0' .. '7' )+ | ( '+' | '-' )? ( '0' .. '9' )+ )
int alt7=3;
switch ( input.LA(1) ) {
case '0':
{
int LA7_1 = input.LA(2);
if ( (LA7_1=='X'||LA7_1=='x') ) {
alt7=1;
}
else {
alt7=3;
}