Top Fields Constructors Methods
org.hibernate.grammars.importsql

public Class SqlScriptLexer

extends Lexer
Class Inheritance
Annotations
@SuppressWarnings:all, warnings, unchecked, unused, cast, CheckReturnValue
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 String[]
public static final int
public static final int
public static final int
public static String[]
public static final int
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
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
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 static String[]
private static String[]
private static String[]
private boolean
MULTILINE_COMMENT_sempred(RuleContext _localctx, int predIndex)

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

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

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
channelNamesback to summary
public static String[] channelNames
CHARback to summary
public static final int CHAR
DELIMITERback to summary
public static final int DELIMITER
LINE_COMMENTback to summary
public static final int LINE_COMMENT
modeNamesback to summary
public static String[] modeNames
MULTILINE_COMMENTback to summary
public static final int MULTILINE_COMMENT
NEWLINEback to summary
public static final int NEWLINE
QUOTED_TEXTback to summary
public static final int QUOTED_TEXT
ruleNamesback to summary
public static final String[] ruleNames
SPACEback to summary
public static final int SPACE
TABback to summary
public static final int TAB
tokenNamesback to summary
public static final String[] tokenNames

Deprecated

Use VOCABULARY instead.

Annotations
@Deprecated
VOCABULARYback to summary
public static final Vocabulary VOCABULARY

Constructor Detail

SqlScriptLexerback to summary
public SqlScriptLexer(CharStream input)

Method Detail

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.

Returns:ATN

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.

Returns:Vocabulary

A Vocabulary instance providing information about the vocabulary used by the grammar.

Annotations
@Override
makeLiteralNamesback to summary
private static String[] makeLiteralNames()
makeRuleNamesback to summary
private static String[] makeRuleNames()
makeSymbolicNamesback to summary
private static String[] makeSymbolicNames()
MULTILINE_COMMENT_sempredback to summary
private boolean MULTILINE_COMMENT_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