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_ATNprotected static org.antlr.v4.runtime.dfa.DFA[]_decisionToDFAstatic java.lang.String_serializedATNprotected static org.antlr.v4.runtime.atn.PredictionContextCache_sharedContextCachestatic intAREA_HTML_TAG_NAMEstatic intARGUMENTstatic intATTR_VALUEstatic intAUTHOR_LITERALstatic intBASE_HTML_TAG_NAMEstatic intBASEFONT_HTML_TAG_NAMEstatic intBODY_HTML_TAG_NAMEstatic intBR_HTML_TAG_NAMEstatic java.lang.String[]channelNamesstatic intCHARstatic intChar1static intChar10static intChar11static intChar12static intChar2static intChar20static intChar3static intChar4static intChar5static intChar7static intChar8static intCLASSstatic intCLASS_NAMEstatic intclassMemberstatic intcodestatic intCODE_LITERALstatic intcodeTextstatic intCOL_HTML_TAG_NAMEstatic intCOLGROUP_HTML_TAG_NAMEstatic intCOMMAstatic intCUSTOM_NAMEstatic intDD_HTML_TAG_NAMEstatic intDEPRECATED_CDATA_DO_NOT_USEstatic intDEPRECATED_LITERALstatic intDOC_ROOT_LITERALstatic intDOTstatic intDT_HTML_TAG_NAMEstatic intEMBED_HTML_TAG_NAMEstatic intENDstatic intEQUALSstatic intexceptionstatic intEXCEPTION_LITERALstatic intFIELD_NAMEstatic intFIELD_TYPEstatic intFRAME_HTML_TAG_NAMEstatic intHASHstatic intHEAD_HTML_TAG_NAMEstatic intHR_HTML_TAG_NAMEstatic intHTML_COMMENT_ENDstatic intHTML_COMMENT_STARTstatic intHTML_HTML_TAG_NAMEstatic intHTML_TAG_NAMEstatic inthtmlAttrstatic inthtmlCommentstatic intIMG_HTML_TAG_NAMEstatic intINHERIT_DOC_LITERALstatic intINPUT_HTML_TAG_NAMEstatic intISINDEX_HTML_TAG_NAMEstatic intJAVADOC_INLINE_TAG_ENDstatic intJAVADOC_INLINE_TAG_STARTstatic intjavadocInlineTagstatic intKEYGEN_HTML_TAG_NAMEstatic intLEADING_ASTERISKstatic intLEFT_BRACEstatic intLI_HTML_TAG_NAMEstatic intLINK_HTML_TAG_NAMEstatic intLINK_LITERALstatic intLINKPLAIN_LITERALstatic intLITERAL_EXCLUDEstatic intLITERAL_INCLUDEstatic intLITERAL_LITERALstatic intMEMBERstatic intMETA_HTML_TAG_NAMEstatic java.lang.String[]modeNamesstatic intNEWLINEstatic intOPTGROUP_HTML_TAG_NAMEstatic intOPTION_HTML_TAG_NAMEstatic intP_HTML_TAG_NAMEstatic intPACKAGE_CLASSstatic intparamstatic intPARAM_HTML_TAG_NAMEstatic intPARAM_LITERALstatic intPARAMETER_NAMEstatic intRB_HTML_TAG_NAMEstatic intRETURN_LITERALstatic intRIGHT_BRACEstatic intRP_HTML_TAG_NAMEstatic intRT_HTML_TAG_NAMEstatic intRTC_HTML_TAG_NAMEstatic java.lang.String[]ruleNamesstatic intSEE_LITERALstatic intseeLinkstatic intSERIAL_DATA_LITERALstatic intSERIAL_FIELD_LITERALstatic intSERIAL_LITERALstatic intserialFieldstatic intserialFieldFieldTypestatic intSINCE_LITERALstatic intSLASHstatic intSLASH_ENDstatic intSOURCE_HTML_TAG_NAMEstatic intSTARTstatic intSTRINGstatic intTBODY_HTML_TAG_NAMEstatic intTD_HTML_TAG_NAMEstatic intTFOOT_HTML_TAG_NAMEstatic intTH_HTML_TAG_NAMEstatic intTHEAD_HTML_TAG_NAMEstatic intTHROWS_LITERALstatic java.lang.String[]tokenNamesDeprecated.UseVOCABULARYinstead.static intTR_HTML_TAG_NAMEstatic intTRACK_HTML_TAG_NAMEstatic intvaluestatic intVALUE_LITERALstatic intVERSION_LITERALstatic org.antlr.v4.runtime.VocabularyVOCABULARYstatic intWBR_HTML_TAG_NAMEstatic intWSstatic intxmlTagDefinition-
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 voidaction(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int actionIndex)voidemit(org.antlr.v4.runtime.Token token)org.antlr.v4.runtime.atn.ATNgetATN()java.lang.String[]getChannelNames()java.lang.StringgetGrammarFileName()java.lang.String[]getModeNames()java.lang.String[]getRuleNames()java.lang.StringgetSerializedATN()java.lang.String[]getTokenNames()Deprecated.org.antlr.v4.runtime.VocabularygetVocabulary()booleansempred(org.antlr.v4.runtime.RuleContext _localctx, int ruleIndex, int predIndex)voidskipCurrentTokenConsuming()-
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.UseVOCABULARYinstead.
-
_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:
getTokenNamesin classorg.antlr.v4.runtime.Lexer
-
getVocabulary
public org.antlr.v4.runtime.Vocabulary getVocabulary()
- Overrides:
getVocabularyin 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:
emitin classorg.antlr.v4.runtime.Lexer
-
skipCurrentTokenConsuming
public void skipCurrentTokenConsuming()
-
getGrammarFileName
public java.lang.String getGrammarFileName()
- Specified by:
getGrammarFileNamein classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getRuleNames
public java.lang.String[] getRuleNames()
- Specified by:
getRuleNamesin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getSerializedATN
public java.lang.String getSerializedATN()
- Overrides:
getSerializedATNin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
getChannelNames
public java.lang.String[] getChannelNames()
- Overrides:
getChannelNamesin classorg.antlr.v4.runtime.Lexer
-
getModeNames
public java.lang.String[] getModeNames()
- Overrides:
getModeNamesin classorg.antlr.v4.runtime.Lexer
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATNin 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:
actionin 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:
sempredin classorg.antlr.v4.runtime.Recognizer<java.lang.Integer,org.antlr.v4.runtime.atn.LexerATNSimulator>
-
-