Class GeneratedTextBlockLexer
java.lang.Object
antlr.CharScanner
com.puppycrawl.tools.checkstyle.grammar.GeneratedTextBlockLexer
- All Implemented Interfaces:
antlr.TokenStream
,GeneratedTextBlockLexerTokenTypes
public class GeneratedTextBlockLexer
extends antlr.CharScanner
implements GeneratedTextBlockLexerTokenTypes, antlr.TokenStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
static final antlr.collections.impl.BitSet
antlr.TokenStreamSelector
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
Fields inherited from interface com.puppycrawl.tools.checkstyle.grammar.GeneratedTextBlockLexerTokenTypes
ABSTRACT, ANNOTATION, ANNOTATION_ARRAY_INIT, ANNOTATION_DEF, ANNOTATION_FIELD_DEF, ANNOTATION_MEMBER_VALUE_PAIR, ANNOTATIONS, ARRAY_DECLARATOR, ARRAY_INIT, ASSERT, ASSIGN, AT, BAND, BAND_ASSIGN, BINARY_DIGIT, BINARY_EXPONENT, BLOCK, BLOCK_COMMENT_BEGIN, BLOCK_COMMENT_CONTENT, BLOCK_COMMENT_END, BNOT, BOR, BOR_ASSIGN, BSR, BSR_ASSIGN, BXOR, BXOR_ASSIGN, CASE_GROUP, CHAR_LITERAL, CLASS_DEF, COLON, COMMA, COMMENT_CONTENT, COMPACT_CTOR_DEF, CTOR_CALL, CTOR_DEF, DEC, DIV, DIV_ASSIGN, DO_WHILE, DOT, DOUBLE_COLON, DOUBLE_LITERAL, ELIST, ELLIPSIS, EMPTY_STAT, ENUM, ENUM_CONSTANT_DEF, ENUM_DEF, EOF, EQUAL, ESC, EXPONENT, EXPR, EXTENDS_CLAUSE, FINAL, FLOAT_LITERAL, FLOAT_SUFFIX, FOR_CONDITION, FOR_EACH_CLAUSE, FOR_INIT, FOR_ITERATOR, GE, GENERIC_END, GENERIC_START, GT, HEX_DIGIT, HEX_DOUBLE_LITERAL, HEX_FLOAT_LITERAL, ID_PART, ID_START, IDENT, IMPLEMENTS_CLAUSE, IMPORT, INC, INDEX_OP, INSTANCE_INIT, INT_LITERAL, INTERFACE_DEF, LABELED_STAT, LAMBDA, LAND, LBRACK, LCURLY, LE, LITERAL_boolean, LITERAL_break, LITERAL_byte, LITERAL_case, LITERAL_catch, LITERAL_char, LITERAL_class, LITERAL_continue, LITERAL_default, LITERAL_do, LITERAL_double, LITERAL_else, LITERAL_extends, LITERAL_false, LITERAL_finally, LITERAL_float, LITERAL_for, LITERAL_if, LITERAL_implements, LITERAL_import, LITERAL_instanceof, LITERAL_int, LITERAL_interface, LITERAL_long, LITERAL_native, LITERAL_new, LITERAL_null, LITERAL_package, LITERAL_private, LITERAL_protected, LITERAL_public, LITERAL_record, LITERAL_return, LITERAL_short, LITERAL_static, LITERAL_super, LITERAL_switch, LITERAL_synchronized, LITERAL_this, LITERAL_throw, LITERAL_throws, LITERAL_transient, LITERAL_true, LITERAL_try, LITERAL_void, LITERAL_volatile, LITERAL_while, LITERAL_yield, LNOT, LONG_LITERAL, LOR, LPAREN, LT, METHOD_CALL, METHOD_DEF, METHOD_REF, MINUS, MINUS_ASSIGN, MOD, MOD_ASSIGN, MODIFIERS, NEWLINE, NOT_EQUAL, NULL_TREE_LOOKAHEAD, NUM_DOUBLE, NUM_FLOAT, NUM_INT, NUM_LONG, OBJBLOCK, ONE_DOUBLE_QUOTE, PACKAGE_DEF, PARAMETER_DEF, PARAMETERS, PATTERN_VARIABLE_DEF, PLUS, PLUS_ASSIGN, POST_DEC, POST_INC, QUESTION, RBRACK, RCURLY, RECORD_COMPONENT_DEF, RECORD_COMPONENTS, RECORD_DEF, RESOURCE, RESOURCE_SPECIFICATION, RESOURCES, RPAREN, SEMI, SIGNED_INTEGER, SINGLE_LINE_COMMENT, SINGLE_LINE_COMMENT_CONTENT, SL, SL_ASSIGN, SLIST, SR, SR_ASSIGN, STAR, STAR_ASSIGN, STATIC_IMPORT, STATIC_INIT, STD_ESC, STRICTFP, STRING_LITERAL, SUPER_CTOR_CALL, SWITCH_RULE, TEXT_BLOCK_CONTENT, TEXT_BLOCK_LITERAL_BEGIN, TEXT_BLOCK_LITERAL_END, TWO_DOUBLE_QUOTES, TYPE, TYPE_ARGUMENT, TYPE_ARGUMENTS, TYPE_EXTENSION_AND, TYPE_LOWER_BOUNDS, TYPE_PARAMETER, TYPE_PARAMETERS, TYPE_UPPER_BOUNDS, TYPECAST, UNARY_MINUS, UNARY_PLUS, VARIABLE_DEF, VOCAB, WILDCARD_TYPE, WS
-
Constructor Summary
ConstructorsConstructorDescriptionGeneratedTextBlockLexer
(antlr.InputBuffer ib) GeneratedTextBlockLexer
(antlr.LexerSharedInputState state) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
mNEWLINE
(boolean _createToken) protected final void
mONE_DOUBLE_QUOTE
(boolean _createToken) protected final void
mSTD_ESC
(boolean _createToken) final void
mTEXT_BLOCK_CONTENT
(boolean _createToken) final void
mTEXT_BLOCK_LITERAL_END
(boolean _createToken) protected final void
mTWO_DOUBLE_QUOTES
(boolean _createToken) antlr.Token
Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
-
Field Details
-
selector
public antlr.TokenStreamSelector selector -
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0 -
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1 -
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
-
Constructor Details
-
GeneratedTextBlockLexer
-
GeneratedTextBlockLexer
-
GeneratedTextBlockLexer
public GeneratedTextBlockLexer(antlr.InputBuffer ib)
-
-
Method Details
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mNEWLINE
protected final void mNEWLINE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTEXT_BLOCK_LITERAL_END
public final void mTEXT_BLOCK_LITERAL_END(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTWO_DOUBLE_QUOTES
protected final void mTWO_DOUBLE_QUOTES(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mONE_DOUBLE_QUOTE
protected final void mONE_DOUBLE_QUOTE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTEXT_BLOCK_CONTENT
public final void mTEXT_BLOCK_CONTENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSTD_ESC
protected final void mSTD_ESC(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException - Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-