/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start NEWLINE * * Looks to match the characters the constitute the token NEWLINE * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mNEWLINE(pExprCppTreeLexer ctx) { ANTLR3_UINT32 _type; _type = NEWLINE; // D:\\message\\ExprCppTree.g:44:8: ( ( '\\r' )? '\\n' ) // D:\\message\\ExprCppTree.g:44:10: ( '\\r' )? '\\n' { // D:\\message\\ExprCppTree.g:44:10: ( '\\r' )? { int alt4=2; switch ( LA(1) ) { case '\r': { alt4=1; } break; } switch (alt4) { case 1: // D:\\message\\ExprCppTree.g:44:10: '\\r' { MATCHC('\r'); if (HASEXCEPTION()) { goto ruleNEWLINEEx; } } break; } } MATCHC('\n'); if (HASEXCEPTION()) { goto ruleNEWLINEEx; } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto ruleNEWLINEEx; /* Prevent compiler warnings */ ruleNEWLINEEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start SPACE * * Looks to match the characters the constitute the token SPACE * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mSPACE(pbelle_sdpLexer ctx) { ANTLR3_UINT32 _type; _type = SPACE; // /Users/huyheo/Documents/Linphone/linphone-iphone/submodules/build/..//belle-sip/src/belle_sdp.g:323:6: ( ' ' ) // /Users/huyheo/Documents/Linphone/linphone-iphone/submodules/build/..//belle-sip/src/belle_sdp.g:323:8: ' ' { MATCHC(' '); if (HASEXCEPTION()) { goto ruleSPACEEx; } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto ruleSPACEEx; /* Prevent compiler warnings */ ruleSPACEEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start ZERO * * Looks to match the characters the constitute the token ZERO * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mZERO(pbelle_sdpLexer ctx) { ANTLR3_UINT32 _type; // /Users/huyheo/Documents/Linphone/linphone-iphone/submodules/build/..//belle-sip/src/belle_sdp.g:316:14: ( '0' ) // /Users/huyheo/Documents/Linphone/linphone-iphone/submodules/build/..//belle-sip/src/belle_sdp.g:316:16: '0' { MATCHC('0'); if (HASEXCEPTION()) { goto ruleZEROEx; } } // This is where rules clean up and exit // goto ruleZEROEx; /* Prevent compiler warnings */ ruleZEROEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start ASSIGN * * Looks to match the characters the constitute the token ASSIGN * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mASSIGN(pExprCppTreeLexer ctx) { ANTLR3_UINT32 _type; _type = ASSIGN; // D:\\message\\ExprCppTree.g:32:7: ( '=' ) // D:\\message\\ExprCppTree.g:32:9: '=' { MATCHC('='); if (HASEXCEPTION()) { goto ruleASSIGNEx; } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto ruleASSIGNEx; /* Prevent compiler warnings */ ruleASSIGNEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start TIMES * * Looks to match the characters the constitute the token TIMES * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mTIMES(pExprCppTreeLexer ctx) { ANTLR3_UINT32 _type; _type = TIMES; // D:\\message\\ExprCppTree.g:20:6: ( '*' ) // D:\\message\\ExprCppTree.g:20:8: '*' { MATCHC('*'); if (HASEXCEPTION()) { goto ruleTIMESEx; } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto ruleTIMESEx; /* Prevent compiler warnings */ ruleTIMESEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start PLUS * * Looks to match the characters the constitute the token PLUS * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mPLUS(pExprCppTreeLexer ctx) { ANTLR3_UINT32 _type; _type = PLUS; // D:\\message\\ExprCppTree.g:13:5: ( '+' ) // D:\\message\\ExprCppTree.g:13:7: '+' { MATCHC('+'); if (HASEXCEPTION()) { goto rulePLUSEx; } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto rulePLUSEx; /* Prevent compiler warnings */ rulePLUSEx: ; }
/** \brief Lexer rule generated by ANTLR3 * * $ANTLR start INT * * Looks to match the characters the constitute the token INT * from the attached input stream. * * * \remark * - lexer->error == ANTLR3_TRUE if an exception was thrown. */ static ANTLR3_INLINE void mINT(pExprCppTreeLexer ctx) { ANTLR3_UINT32 _type; _type = INT; // D:\\message\\ExprCppTree.g:43:4: ( ( '~' )? ( '0' .. '9' )+ ) // D:\\message\\ExprCppTree.g:43:6: ( '~' )? ( '0' .. '9' )+ { // D:\\message\\ExprCppTree.g:43:6: ( '~' )? { int alt2=2; switch ( LA(1) ) { case '~': { alt2=1; } break; } switch (alt2) { case 1: // D:\\message\\ExprCppTree.g:43:6: '~' { MATCHC('~'); if (HASEXCEPTION()) { goto ruleINTEx; } } break; } } // D:\\message\\ExprCppTree.g:43:11: ( '0' .. '9' )+ { int cnt3=0; for (;;) { int alt3=2; switch ( LA(1) ) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': { alt3=1; } break; } switch (alt3) { case 1: // D:\\message\\ExprCppTree.g:43:11: '0' .. '9' { MATCHRANGE('0', '9'); if (HASEXCEPTION()) { goto ruleINTEx; } } break; default: if ( cnt3 >= 1 ) { goto loop3; } /* mismatchedSetEx() */ CONSTRUCTEX(); EXCEPTION->type = ANTLR3_EARLY_EXIT_EXCEPTION; EXCEPTION->name = (void *)ANTLR3_EARLY_EXIT_NAME; goto ruleINTEx; } cnt3++; } loop3: ; /* Jump to here if this rule does not match */ } } LEXSTATE->type = _type; // This is where rules clean up and exit // goto ruleINTEx; /* Prevent compiler warnings */ ruleINTEx: ; }