Verified Owner
Top Fields Constructors Methods
org.jabref.logic.journals.ltwa

public Class LtwaLexer

extends Lexer
Class Inheritance
Annotations
@SuppressWarnings:all, warnings, unchecked, unused, cast, CheckReturnValue, this-escape
Imports
org.antlr.v4.runtime.Lexer, .CharStream, .Token, .TokenStream, org.antlr.v4.runtime.*, org.antlr.v4.runtime.atn.*, org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.misc.*

Field Summary

Modifier and TypeField and Description
public static final ATN
protected static final DFA[]
private static final String[]
public static final String
protected static final PredictionContextCache
private static final String[]
public static final int
public static final int
public static String[]
public static final int
public static String[]
public static final int
public static final int
public static final String[]
public static final int
public static final int
public static final String[]
tokenNames

Deprecated Use VOCABULARY instead.
public static final Vocabulary
public static final int
public static final int
Inherited from org.antlr.v4.runtime.Lexer:
_channel_factory_hitEOF_input_mode_modeStack_text_token_tokenFactorySourcePair_tokenStartCharIndex_tokenStartCharPositionInLine_tokenStartLine_typeDEFAULT_MODEDEFAULT_TOKEN_CHANNELHIDDENMAX_CHAR_VALUEMIN_CHAR_VALUEMORESKIP

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private boolean
ABBREVIATION_sempred(RuleContext _localctx, int predIndex)

private boolean
ARTICLE_sempred(RuleContext _localctx, int predIndex)

public ATN
getATN()

Implements abstract org.antlr.v4.runtime.Recognizer.getATN.

Get the ATN used by the recognizer for prediction.

public String[]
public String
getGrammarFileName()

Implements abstract org.antlr.v4.runtime.Recognizer.getGrammarFileName.

For debugging and other purposes, might want the grammar name.

public String[]
public String[]
public String
getSerializedATN()

Overrides org.antlr.v4.runtime.Recognizer.getSerializedATN.

If this recognizer was generated, it will have a serialized ATN representation of the grammar.

public String[]
getTokenNames()

Overrides org.antlr.v4.runtime.Lexer.getTokenNames.

Deprecated

Used to print out token names like ID during debugging and error reporting.

public Vocabulary
getVocabulary()

Overrides org.antlr.v4.runtime.Recognizer.getVocabulary.

Get the vocabulary used by the recognizer.

private boolean
private boolean
private static String[]
private static String[]
private static String[]
private boolean
ORDINAL_sempred(RuleContext _localctx, int predIndex)

private boolean
PART_sempred(RuleContext _localctx, int predIndex)

public boolean
sempred(RuleContext _localctx, int ruleIndex, int predIndex)

Overrides org.antlr.v4.runtime.Recognizer.sempred.

private boolean
STOPWORD_sempred(RuleContext _localctx, int predIndex)

private boolean
WORD_sempred(RuleContext _localctx, int predIndex)

Inherited from org.antlr.v4.runtime.Lexer:
emitemitemitEOFgetAllTokensgetChannelgetCharErrorDisplaygetCharIndexgetCharPositionInLinegetErrorDisplaygetErrorDisplaygetInputStreamgetLinegetSourceNamegetTextgetTokengetTokenFactorygetTypemodemorenextTokennotifyListenerspopModepushModerecoverrecoverresetsetChannelsetCharPositionInLinesetInputStreamsetLinesetTextsetTokensetTokenFactorysetTypeskip

Field Detail

_ATNback to summary
public static final ATN _ATN
_decisionToDFAback to summary
protected static final DFA[] _decisionToDFA
_LITERAL_NAMESback to summary
private static final String[] _LITERAL_NAMES
_serializedATNback to summary
public static final String _serializedATN
_sharedContextCacheback to summary
protected static final PredictionContextCache _sharedContextCache
_SYMBOLIC_NAMESback to summary
private static final String[] _SYMBOLIC_NAMES
ABBREVIATIONback to summary
public static final int ABBREVIATION
ARTICLEback to summary
public static final int ARTICLE
channelNamesback to summary
public static String[] channelNames
HYPHENback to summary
public static final int HYPHEN
modeNamesback to summary
public static String[] modeNames
ORDINALback to summary
public static final int ORDINAL
PARTback to summary
public static final int PART
ruleNamesback to summary
public static final String[] ruleNames
STOPWORDback to summary
public static final int STOPWORD
SYMBOLSback to summary
public static final int SYMBOLS
tokenNamesback to summary
public static final String[] tokenNames

Deprecated

Use VOCABULARY instead.

Annotations
@Deprecated
VOCABULARYback to summary
public static final Vocabulary VOCABULARY
WORDback to summary
public static final int WORD
WSback to summary
public static final int WS

Constructor Detail

LtwaLexerback to summary
public LtwaLexer(CharStream input)

Method Detail

ABBREVIATION_sempredback to summary
private boolean ABBREVIATION_sempred(RuleContext _localctx, int predIndex)
ARTICLE_sempredback to summary
private boolean ARTICLE_sempred(RuleContext _localctx, int predIndex)
getATNback to summary
public ATN getATN()

Implements abstract org.antlr.v4.runtime.Recognizer.getATN.

Doc from org.antlr.v4.runtime.Recognizer.getATN.

Get the ATN used by the recognizer for prediction.

Annotations
@Override
getChannelNamesback to summary
public String[] getChannelNames()

Overrides org.antlr.v4.runtime.Lexer.getChannelNames.

Annotations
@Override
getGrammarFileNameback to summary
public String getGrammarFileName()

Implements abstract org.antlr.v4.runtime.Recognizer.getGrammarFileName.

Doc from org.antlr.v4.runtime.Recognizer.getGrammarFileName.

For debugging and other purposes, might want the grammar name. Have ANTLR generate an implementation for this method.

Annotations
@Override
getModeNamesback to summary
public String[] getModeNames()

Overrides org.antlr.v4.runtime.Lexer.getModeNames.

Annotations
@Override
getRuleNamesback to summary
public String[] getRuleNames()

Implements abstract org.antlr.v4.runtime.Recognizer.getRuleNames.

Annotations
@Override
getSerializedATNback to summary
public String getSerializedATN()

Overrides org.antlr.v4.runtime.Recognizer.getSerializedATN.

Doc from org.antlr.v4.runtime.Recognizer.getSerializedATN.

If this recognizer was generated, it will have a serialized ATN representation of the grammar.

For interpreters, we don't know their serialized ATN despite having created the interpreter from it.

Annotations
@Override
getTokenNamesback to summary
public String[] getTokenNames()

Overrides org.antlr.v4.runtime.Lexer.getTokenNames.

Doc from org.antlr.v4.runtime.Lexer.getTokenNames.

Deprecated

Used to print out token names like ID during debugging and error reporting. The generated parsers implement a method that overrides this to point to their String[] tokenNames.

Annotations
@Override
@Deprecated
getVocabularyback to summary
public Vocabulary getVocabulary()

Overrides org.antlr.v4.runtime.Recognizer.getVocabulary.

Doc from org.antlr.v4.runtime.Recognizer.getVocabulary.

Get the vocabulary used by the recognizer.

Annotations
@Override
isNextBoundaryback to summary
private boolean isNextBoundary()
isNotHyphenatedback to summary
private boolean isNotHyphenated()
makeLiteralNamesback to summary
private static String[] makeLiteralNames()
makeRuleNamesback to summary
private static String[] makeRuleNames()
makeSymbolicNamesback to summary
private static String[] makeSymbolicNames()
ORDINAL_sempredback to summary
private boolean ORDINAL_sempred(RuleContext _localctx, int predIndex)
PART_sempredback to summary
private boolean PART_sempred(RuleContext _localctx, int predIndex)
sempredback to summary
public boolean sempred(RuleContext _localctx, int ruleIndex, int predIndex)

Overrides org.antlr.v4.runtime.Recognizer.sempred.

Annotations
@Override
STOPWORD_sempredback to summary
private boolean STOPWORD_sempred(RuleContext _localctx, int predIndex)
WORD_sempredback to summary
private boolean WORD_sempred(RuleContext _localctx, int predIndex)