Class JavadocLexer
- java.lang.Object
-
- org.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
- org.antlr.v4.runtime.Lexer
-
- com.puppycrawl.tools.checkstyle.grammar.javadoc.JavadocLexer
-
- All Implemented Interfaces:
org.antlr.v4.runtime.TokenSource
public class JavadocLexer extends org.antlr.v4.runtime.Lexer
-
-
Field Summary
Fields Modifier and Type Field Description static org.antlr.v4.runtime.atn.ATN
_ATN
protected static org.antlr.v4.runtime.dfa.DFA[]
_decisionToDFA
static java.lang.String
_serializedATN
protected static org.antlr.v4.runtime.atn.PredictionContextCache
_sharedContextCache
static int
AREA_HTML_TAG_NAME
static int
ARGUMENT
static int
ATTR_VALUE
static int
AUTHOR_LITERAL
static int
BASE_HTML_TAG_NAME
static int
BASEFONT_HTML_TAG_NAME
static int
BODY_HTML_TAG_NAME
static int
BR_HTML_TAG_NAME
static java.lang.String[]
channelNames
static int
CHAR
static int
Char1
static int
Char10
static int
Char11
static int
Char12
static int
Char2
static int
Char20
static int
Char3
static int
Char4
static int
Char5
static int
Char7
static int
Char8
static int
CLASS
static int
CLASS_NAME
static int
classMember
static int
code
static int
CODE_LITERAL
static int
codeText
static int
COL_HTML_TAG_NAME
static int
COLGROUP_HTML_TAG_NAME
static int
COMMA
static int
CUSTOM_NAME
static int
DD_HTML_TAG_NAME
static int
DEPRECATED_CDATA_DO_NOT_USE
static int
DEPRECATED_LITERAL
static int
DOC_ROOT_LITERAL
static int
DOT
static int
DT_HTML_TAG_NAME
static int
EMBED_HTML_TAG_NAME
static int
END
static int
EQUALS
static int
exception
static int
EXCEPTION_LITERAL
static int
FIELD_NAME
static int
FIELD_TYPE
static int
FRAME_HTML_TAG_NAME
static int
HASH
static int
HEAD_HTML_TAG_NAME
static int
HR_HTML_TAG_NAME
static int
HTML_COMMENT_END
static int
HTML_COMMENT_START
static int
HTML_HTML_TAG_NAME
static int
HTML_TAG_NAME
static int
htmlAttr
static int
htmlComment
static int
IMG_HTML_TAG_NAME
static int
INHERIT_DOC_LITERAL
static int
INPUT_HTML_TAG_NAME
static int
ISINDEX_HTML_TAG_NAME
static int
JAVADOC_INLINE_TAG_END
static int
JAVADOC_INLINE_TAG_START
static int
javadocInlineTag
static int
KEYGEN_HTML_TAG_NAME
static int
LEADING_ASTERISK
static int
LEFT_BRACE
static int
LI_HTML_TAG_NAME
static int
LINK_HTML_TAG_NAME
static int
LINK_LITERAL
static int
LINKPLAIN_LITERAL
static int
LITERAL_EXCLUDE
static int
LITERAL_INCLUDE
static int
LITERAL_LITERAL
static int
MEMBER
static int
META_HTML_TAG_NAME
static java.lang.String[]
modeNames
static int
NEWLINE
static int
OPTGROUP_HTML_TAG_NAME
static int
OPTION_HTML_TAG_NAME
static int
P_HTML_TAG_NAME
static int
PACKAGE_CLASS
static int
param
static int
PARAM_HTML_TAG_NAME
static int
PARAM_LITERAL
static int
PARAMETER_NAME
static int
RB_HTML_TAG_NAME
static int
RETURN_LITERAL
static int
RIGHT_BRACE
static int
RP_HTML_TAG_NAME
static int
RT_HTML_TAG_NAME
static int
RTC_HTML_TAG_NAME
static java.lang.String[]
ruleNames
static int
SEE_LITERAL
static int
seeLink
static int
SERIAL_DATA_LITERAL
static int
SERIAL_FIELD_LITERAL
static int
SERIAL_LITERAL
static int
serialField
static int
serialFieldFieldType
static int
SINCE_LITERAL
static int
SLASH
static int
SLASH_END
static int
SOURCE_HTML_TAG_NAME
static int
START
static int
STRING
static int
TBODY_HTML_TAG_NAME
static int
TD_HTML_TAG_NAME
static int
TFOOT_HTML_TAG_NAME
static int
TH_HTML_TAG_NAME
static int
THEAD_HTML_TAG_NAME
static int
THROWS_LITERAL
static java.lang.String[]
tokenNames
Deprecated.UseVOCABULARY
instead.static int
TR_HTML_TAG_NAME
static int
TRACK_HTML_TAG_NAME
static int
value
static int
VALUE_LITERAL
static int
VERSION_LITERAL
static org.antlr.v4.runtime.Vocabulary
VOCABULARY
static int
WBR_HTML_TAG_NAME
static int
WS
static int
xmlTagDefinition
-
Fields inherited from class org.antlr.v4.runtime.Lexer
_channel, _factory, _hitEOF, _input, _mode, _modeStack, _text, _token, _tokenFactorySourcePair, _tokenStartCharIndex, _tokenStartCharPositionInLine, _tokenStartLine, _type, DEFAULT_MODE, DEFAULT_TOKEN_CHANNEL, HIDDEN, MAX_CHAR_VALUE, MIN_CHAR_VALUE, MORE, SKIP
-
-
Constructor Summary
Constructors Constructor Description JavadocLexer(org.antlr.v4.runtime.CharStream input)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
action(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int actionIndex)
void
emit(org.antlr.v4.runtime.Token token)
org.antlr.v4.runtime.atn.ATN
getATN()
java.lang.String[]
getChannelNames()
java.lang.String
getGrammarFileName()
java.lang.String[]
getModeNames()
java.lang.String[]
getRuleNames()
java.lang.String
getSerializedATN()
java.lang.String[]
getTokenNames()
Deprecated.org.antlr.v4.runtime.Vocabulary
getVocabulary()
boolean
sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
void
skipCurrentTokenConsuming()
-
Methods inherited from class org.antlr.v4.runtime.Lexer
emit, emitEOF, getAllTokens, getChannel, getCharErrorDisplay, getCharIndex, getCharPositionInLine, getErrorDisplay, getErrorDisplay, getInputStream, getLine, getSourceName, getText, getToken, getTokenFactory, getType, mode, more, nextToken, notifyListeners, popMode, pushMode, recover, recover, reset, setChannel, setCharPositionInLine, setInputStream, setLine, setText, setToken, setTokenFactory, setType, skip
-
Methods inherited from class org.antlr.v4.runtime.Recognizer
addErrorListener, getErrorHeader, getErrorListenerDispatch, getErrorListeners, getInterpreter, getParseInfo, getRuleIndexMap, getState, getTokenErrorDisplay, getTokenType, getTokenTypeMap, precpred, removeErrorListener, removeErrorListeners, setInterpreter, setState
-
-
-
-
Field Detail
-
_decisionToDFA
protected static final org.antlr.v4.runtime.dfa.DFA[] _decisionToDFA
-
_sharedContextCache
protected static final org.antlr.v4.runtime.atn.PredictionContextCache _sharedContextCache
-
LEADING_ASTERISK
public static final int LEADING_ASTERISK
- See Also:
- Constant Field Values
-
HTML_COMMENT_START
public static final int HTML_COMMENT_START
- See Also:
- Constant Field Values
-
DEPRECATED_CDATA_DO_NOT_USE
public static final int DEPRECATED_CDATA_DO_NOT_USE
- See Also:
- Constant Field Values
-
WS
public static final int WS
- See Also:
- Constant Field Values
-
START
public static final int START
- See Also:
- Constant Field Values
-
NEWLINE
public static final int NEWLINE
- See Also:
- Constant Field Values
-
AUTHOR_LITERAL
public static final int AUTHOR_LITERAL
- See Also:
- Constant Field Values
-
DEPRECATED_LITERAL
public static final int DEPRECATED_LITERAL
- See Also:
- Constant Field Values
-
EXCEPTION_LITERAL
public static final int EXCEPTION_LITERAL
- See Also:
- Constant Field Values
-
PARAM_LITERAL
public static final int PARAM_LITERAL
- See Also:
- Constant Field Values
-
RETURN_LITERAL
public static final int RETURN_LITERAL
- See Also:
- Constant Field Values
-
SEE_LITERAL
public static final int SEE_LITERAL
- See Also:
- Constant Field Values
-
SERIAL_LITERAL
public static final int SERIAL_LITERAL
- See Also:
- Constant Field Values
-
SERIAL_FIELD_LITERAL
public static final int SERIAL_FIELD_LITERAL
- See Also:
- Constant Field Values
-
SERIAL_DATA_LITERAL
public static final int SERIAL_DATA_LITERAL
- See Also:
- Constant Field Values
-
SINCE_LITERAL
public static final int SINCE_LITERAL
- See Also:
- Constant Field Values
-
THROWS_LITERAL
public static final int THROWS_LITERAL
- See Also:
- Constant Field Values
-
VERSION_LITERAL
public static final int VERSION_LITERAL
- See Also:
- Constant Field Values
-
JAVADOC_INLINE_TAG_START
public static final int JAVADOC_INLINE_TAG_START
- See Also:
- Constant Field Values
-
JAVADOC_INLINE_TAG_END
public static final int JAVADOC_INLINE_TAG_END
- See Also:
- Constant Field Values
-
CUSTOM_NAME
public static final int CUSTOM_NAME
- See Also:
- Constant Field Values
-
LITERAL_INCLUDE
public static final int LITERAL_INCLUDE
- See Also:
- Constant Field Values
-
LITERAL_EXCLUDE
public static final int LITERAL_EXCLUDE
- See Also:
- Constant Field Values
-
CHAR
public static final int CHAR
- See Also:
- Constant Field Values
-
PARAMETER_NAME
public static final int PARAMETER_NAME
- See Also:
- Constant Field Values
-
Char1
public static final int Char1
- See Also:
- Constant Field Values
-
STRING
public static final int STRING
- See Also:
- Constant Field Values
-
PACKAGE_CLASS
public static final int PACKAGE_CLASS
- See Also:
- Constant Field Values
-
DOT
public static final int DOT
- See Also:
- Constant Field Values
-
HASH
public static final int HASH
- See Also:
- Constant Field Values
-
CLASS
public static final int CLASS
- See Also:
- Constant Field Values
-
Char2
public static final int Char2
- See Also:
- Constant Field Values
-
MEMBER
public static final int MEMBER
- See Also:
- Constant Field Values
-
LEFT_BRACE
public static final int LEFT_BRACE
- See Also:
- Constant Field Values
-
RIGHT_BRACE
public static final int RIGHT_BRACE
- See Also:
- Constant Field Values
-
ARGUMENT
public static final int ARGUMENT
- See Also:
- Constant Field Values
-
COMMA
public static final int COMMA
- See Also:
- Constant Field Values
-
Char20
public static final int Char20
- See Also:
- Constant Field Values
-
FIELD_NAME
public static final int FIELD_NAME
- See Also:
- Constant Field Values
-
Char3
public static final int Char3
- See Also:
- Constant Field Values
-
FIELD_TYPE
public static final int FIELD_TYPE
- See Also:
- Constant Field Values
-
Char4
public static final int Char4
- See Also:
- Constant Field Values
-
CLASS_NAME
public static final int CLASS_NAME
- See Also:
- Constant Field Values
-
Char5
public static final int Char5
- See Also:
- Constant Field Values
-
CODE_LITERAL
public static final int CODE_LITERAL
- See Also:
- Constant Field Values
-
DOC_ROOT_LITERAL
public static final int DOC_ROOT_LITERAL
- See Also:
- Constant Field Values
-
INHERIT_DOC_LITERAL
public static final int INHERIT_DOC_LITERAL
- See Also:
- Constant Field Values
-
LINK_LITERAL
public static final int LINK_LITERAL
- See Also:
- Constant Field Values
-
LINKPLAIN_LITERAL
public static final int LINKPLAIN_LITERAL
- See Also:
- Constant Field Values
-
LITERAL_LITERAL
public static final int LITERAL_LITERAL
- See Also:
- Constant Field Values
-
VALUE_LITERAL
public static final int VALUE_LITERAL
- See Also:
- Constant Field Values
-
Char7
public static final int Char7
- See Also:
- Constant Field Values
-
Char8
public static final int Char8
- See Also:
- Constant Field Values
-
Char10
public static final int Char10
- See Also:
- Constant Field Values
-
END
public static final int END
- See Also:
- Constant Field Values
-
SLASH_END
public static final int SLASH_END
- See Also:
- Constant Field Values
-
SLASH
public static final int SLASH
- See Also:
- Constant Field Values
-
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
-
P_HTML_TAG_NAME
public static final int P_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
LI_HTML_TAG_NAME
public static final int LI_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TR_HTML_TAG_NAME
public static final int TR_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TD_HTML_TAG_NAME
public static final int TD_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TH_HTML_TAG_NAME
public static final int TH_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
BODY_HTML_TAG_NAME
public static final int BODY_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
COLGROUP_HTML_TAG_NAME
public static final int COLGROUP_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
DD_HTML_TAG_NAME
public static final int DD_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
DT_HTML_TAG_NAME
public static final int DT_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
HEAD_HTML_TAG_NAME
public static final int HEAD_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
HTML_HTML_TAG_NAME
public static final int HTML_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
OPTION_HTML_TAG_NAME
public static final int OPTION_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TBODY_HTML_TAG_NAME
public static final int TBODY_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TFOOT_HTML_TAG_NAME
public static final int TFOOT_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
THEAD_HTML_TAG_NAME
public static final int THEAD_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
AREA_HTML_TAG_NAME
public static final int AREA_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
BASE_HTML_TAG_NAME
public static final int BASE_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
BASEFONT_HTML_TAG_NAME
public static final int BASEFONT_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
BR_HTML_TAG_NAME
public static final int BR_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
COL_HTML_TAG_NAME
public static final int COL_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
FRAME_HTML_TAG_NAME
public static final int FRAME_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
HR_HTML_TAG_NAME
public static final int HR_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
IMG_HTML_TAG_NAME
public static final int IMG_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
INPUT_HTML_TAG_NAME
public static final int INPUT_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
ISINDEX_HTML_TAG_NAME
public static final int ISINDEX_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
LINK_HTML_TAG_NAME
public static final int LINK_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
META_HTML_TAG_NAME
public static final int META_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
PARAM_HTML_TAG_NAME
public static final int PARAM_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
EMBED_HTML_TAG_NAME
public static final int EMBED_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
KEYGEN_HTML_TAG_NAME
public static final int KEYGEN_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
ATTR_VALUE
public static final int ATTR_VALUE
- See Also:
- Constant Field Values
-
Char12
public static final int Char12
- See Also:
- Constant Field Values
-
HTML_COMMENT_END
public static final int HTML_COMMENT_END
- See Also:
- Constant Field Values
-
SOURCE_HTML_TAG_NAME
public static final int SOURCE_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
TRACK_HTML_TAG_NAME
public static final int TRACK_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
WBR_HTML_TAG_NAME
public static final int WBR_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
OPTGROUP_HTML_TAG_NAME
public static final int OPTGROUP_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
RB_HTML_TAG_NAME
public static final int RB_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
RT_HTML_TAG_NAME
public static final int RT_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
RTC_HTML_TAG_NAME
public static final int RTC_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
RP_HTML_TAG_NAME
public static final int RP_HTML_TAG_NAME
- See Also:
- Constant Field Values
-
HTML_TAG_NAME
public static final int HTML_TAG_NAME
- See Also:
- Constant Field Values
-
Char11
public static final int Char11
- See Also:
- Constant Field Values
-
param
public static final int param
- See Also:
- Constant Field Values
-
seeLink
public static final int seeLink
- See Also:
- Constant Field Values
-
classMember
public static final int classMember
- See Also:
- Constant Field Values
-
serialField
public static final int serialField
- See Also:
- Constant Field Values
-
serialFieldFieldType
public static final int serialFieldFieldType
- See Also:
- Constant Field Values
-
exception
public static final int exception
- See Also:
- Constant Field Values
-
javadocInlineTag
public static final int javadocInlineTag
- See Also:
- Constant Field Values
-
code
public static final int code
- See Also:
- Constant Field Values
-
codeText
public static final int codeText
- See Also:
- Constant Field Values
-
value
public static final int value
- See Also:
- Constant Field Values
-
xmlTagDefinition
public static final int xmlTagDefinition
- See Also:
- Constant Field Values
-
htmlAttr
public static final int htmlAttr
- See Also:
- Constant Field Values
-
htmlComment
public static final int htmlComment
- See Also:
- Constant Field Values
-
channelNames
public static java.lang.String[] channelNames
-
modeNames
public static java.lang.String[] modeNames
-
ruleNames
public static final java.lang.String[] ruleNames
-
VOCABULARY
public static final org.antlr.v4.runtime.Vocabulary VOCABULARY
-
tokenNames
@Deprecated public static final java.lang.String[] tokenNames
Deprecated.UseVOCABULARY
instead.
-
_serializedATN
public static final java.lang.String _serializedATN
- See Also:
- Constant Field Values
-
_ATN
public static final org.antlr.v4.runtime.atn.ATN _ATN
-
-
Method Detail
-
getTokenNames
@Deprecated public java.lang.String[] getTokenNames()
Deprecated.- Overrides:
getTokenNames
in classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabulary
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
emit
public void emit(org.antlr.v4.runtime.Token token)
- Overrides:
emit
in classorg.antlr.v4.runtime.Lexer
-
skipCurrentTokenConsuming
public void skipCurrentTokenConsuming()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileName
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNames
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATN
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNames
in classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] getModeNames()
- Overrides:
getModeNames
in classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
action
public void action(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int actionIndex)
- Overrides:
action
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
sempred
public boolean sempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)
- Overrides:
sempred
in classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-