📄 javaparserlexer.java
字号:
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:52:8: ( 'instanceof' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:52:8: 'instanceof'
{
match( "instanceof" );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end T111
// $ANTLR start T112
public void mT112() throws RecognitionException {
try {
final int type = JavaParserLexer.T112;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:53:8: ( 'true' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:53:8: 'true'
{
match( "true" );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end T112
// $ANTLR start T113
public void mT113() throws RecognitionException {
try {
final int type = JavaParserLexer.T113;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:54:8: ( 'false' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:54:8: 'false'
{
match( "false" );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end T113
// $ANTLR start T114
public void mT114() throws RecognitionException {
try {
final int type = JavaParserLexer.T114;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:55:8: ( 'null' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:55:8: 'null'
{
match( "null" );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end T114
// $ANTLR start T115
public void mT115() throws RecognitionException {
try {
final int type = JavaParserLexer.T115;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:56:8: ( 'new' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:56:8: 'new'
{
match( "new" );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end T115
// $ANTLR start QUESTION
public void mQUESTION() throws RecognitionException {
try {
final int type = JavaParserLexer.QUESTION;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:914:33: ( '?' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:914:33: '?'
{
match( '?' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end QUESTION
// $ANTLR start LPAREN
public void mLPAREN() throws RecognitionException {
try {
final int type = JavaParserLexer.LPAREN;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:917:33: ( '(' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:917:33: '('
{
match( '(' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end LPAREN
// $ANTLR start RPAREN
public void mRPAREN() throws RecognitionException {
try {
final int type = JavaParserLexer.RPAREN;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:920:33: ( ')' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:920:33: ')'
{
match( ')' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end RPAREN
// $ANTLR start LBRACK
public void mLBRACK() throws RecognitionException {
try {
final int type = JavaParserLexer.LBRACK;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:923:33: ( '[' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:923:33: '['
{
match( '[' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end LBRACK
// $ANTLR start RBRACK
public void mRBRACK() throws RecognitionException {
try {
final int type = JavaParserLexer.RBRACK;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:926:33: ( ']' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:926:33: ']'
{
match( ']' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end RBRACK
// $ANTLR start LCURLY
public void mLCURLY() throws RecognitionException {
try {
final int type = JavaParserLexer.LCURLY;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:929:33: ( '{' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:929:33: '{'
{
match( '{' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end LCURLY
// $ANTLR start RCURLY
public void mRCURLY() throws RecognitionException {
try {
final int type = JavaParserLexer.RCURLY;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine();
final int channel = Token.DEFAULT_CHANNEL;
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:932:33: ( '}' )
// /Users/bob/checkouts/jbossrules/drools-compiler/src/main/resources/org/drools/semantics/java/parser/java.g:932:33: '}'
{
match( '}' );
}
if ( this.token == null ) {
emit( type,
line,
charPosition,
channel,
start,
getCharIndex() - 1 );
}
} finally {
}
}
// $ANTLR end RCURLY
// $ANTLR start COLON
public void mCOLON() throws RecognitionException {
try {
final int type = JavaParserLexer.COLON;
final int start = getCharIndex();
final int line = getLine();
final int charPosition = getCharPositionInLine
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -