INNER CODE UNIT · Java

mTARS_IDENTIFIER

TarsCloud/TarsJava · tools/tars-maven-plugin/src/main/resources/antlr/TarsLexer.java:618

	public final void mTARS_IDENTIFIER() throws RecognitionException {
		try {
			int _type = TARS_IDENTIFIER;
			int _channel = DEFAULT_TOKEN_CHANNEL;
			// TarsLexer.g:85:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )* )
			// TarsLexer.g:85:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )*
			{
				if ( (input.LA(1) >= 'A' && input.LA(1) <= 'Z')||input.LA(1)=='_'||(input.LA(1) >= 'a' && input.LA(1) <= 'z') ) {
					input.consume();
				}
				else {
					MismatchedSetException mse = new MismatchedSetException(null,input);
					recover(mse);
					throw mse;
				}
				// TarsLexer.g:85:31: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' )*
				loop1:
				while (true) {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…