Top Inners Fields Constructors Methods
org.hibernate.grammars.importsql

public Class SqlScriptParser

extends Parser
Class Inheritance
Annotations
@SuppressWarnings:all, warnings, unchecked, unused, cast, CheckReturnValue
Imports
org.antlr.v4.runtime.atn.*, org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.*, org.antlr.v4.runtime.misc.*, org.antlr.v4.runtime.tree.*, java.util.List, .Iterator, .ArrayList

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

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 final int
public static final int
public static final int
public static final int
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.Parser:
_buildParseTrees_ctx_errHandler_input_parseListeners_precedenceStack_syntaxErrorsmatchedEOF

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final SqlScriptParser.CommandContext
public final SqlScriptParser.CommandBlockContext
public ATN
getATN()

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

Get the ATN used by the recognizer for prediction.
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
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()

Implements abstract org.antlr.v4.runtime.Recognizer.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[]
public final SqlScriptParser.ScriptContext
Inherited from org.antlr.v4.runtime.Parser:
addContextToParseTreeaddParseListenercompileParseTreePatterncompileParseTreePatternconsumecreateErrorNodecreateTerminalNodedumpDFAdumpDFAenterOuterAltenterRecursionRuleenterRecursionRuleenterRuleexitRulegetATNWithBypassAltsgetBuildParseTreegetContextgetCurrentTokengetDFAStringsgetErrorHandlergetExpectedTokensgetExpectedTokensWithinCurrentRulegetInputStreamgetInvokingContextgetNumberOfSyntaxErrorsgetParseInfogetParseListenersgetPrecedencegetRuleContextgetRuleIndexgetRuleInvocationStackgetRuleInvocationStackgetSourceNamegetTokenFactorygetTokenStreamgetTrimParseTreeinContextisExpectedTokenisMatchedEOFisTracematchmatchWildcardnotifyErrorListenersnotifyErrorListenersprecpredpushNewRecursionContextremoveParseListenerremoveParseListenersresetsetBuildParseTreesetContextsetErrorHandlersetInputStreamsetProfilesetTokenFactorysetTokenStreamsetTracesetTrimParseTreetriggerEnterRuleEventtriggerExitRuleEventunrollRecursionContexts

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
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
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
RULE_commandback to summary
public static final int RULE_command
RULE_commandBlockback to summary
public static final int RULE_commandBlock
RULE_scriptback to summary
public static final int RULE_script
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

SqlScriptParserback to summary
public SqlScriptParser(TokenStream input)

Method Detail

commandback to summary
public final SqlScriptParser.CommandContext command() throws RecognitionException
commandBlockback to summary
public final SqlScriptParser.CommandBlockContext commandBlock() throws RecognitionException
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
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
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()

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

Doc from org.antlr.v4.runtime.Recognizer.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()
scriptback to summary
public final SqlScriptParser.ScriptContext script() throws RecognitionException
org.hibernate.grammars.importsql back to summary

public Class SqlScriptParser.CommandBlockContext

extends ParserRuleContext
Class Inheritance
Annotations
@SuppressWarnings:CheckReturnValue

Field Summary

Inherited from org.antlr.v4.runtime.ParserRuleContext:
childrenEMPTYexceptionstartstop

Constructor Summary

AccessConstructor and Description
public
CommandBlockContext(ParserRuleContext parent, int invokingState)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.
public SqlScriptParser.CommandContext
public TerminalNode
public void
public void
public int
Inherited from org.antlr.v4.runtime.ParserRuleContext:
addAnyChildaddChildaddChildaddChildaddErrorNodeaddErrorNodecopyFromgetChildgetChildgetChildCountgetParentgetRuleContextgetRuleContextsgetSourceIntervalgetStartgetStopgetTokengetTokensremoveLastChildtoInfoString

Constructor Detail

CommandBlockContextback to summary
public CommandBlockContext(ParserRuleContext parent, int invokingState)

Method Detail

acceptback to summary
public <T> T accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

Doc from org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.

Annotations
@Override
commandback to summary
public SqlScriptParser.CommandContext command()
DELIMITERback to summary
public TerminalNode DELIMITER()
enterRuleback to summary
public void enterRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.enterRule.

Annotations
@Override
exitRuleback to summary
public void exitRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.exitRule.

Annotations
@Override
getRuleIndexback to summary
public int getRuleIndex()

Overrides org.antlr.v4.runtime.RuleContext.getRuleIndex.

Annotations
@Override
org.hibernate.grammars.importsql back to summary

public Class SqlScriptParser.CommandContext

extends ParserRuleContext
Class Inheritance
Annotations
@SuppressWarnings:CheckReturnValue

Field Summary

Inherited from org.antlr.v4.runtime.ParserRuleContext:
childrenEMPTYexceptionstartstop

Constructor Summary

AccessConstructor and Description
public
CommandContext(ParserRuleContext parent, int invokingState)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.
public List<TerminalNode>
CHAR()

public TerminalNode
CHAR(int i)

public void
public void
public int
public List<TerminalNode>
public TerminalNode
NEWLINE(int i)

public List<TerminalNode>
public TerminalNode
QUOTED_TEXT(int i)

public List<TerminalNode>
public TerminalNode
SPACE(int i)

public List<TerminalNode>
TAB()

public TerminalNode
TAB(int i)

Inherited from org.antlr.v4.runtime.ParserRuleContext:
addAnyChildaddChildaddChildaddChildaddErrorNodeaddErrorNodecopyFromgetChildgetChildgetChildCountgetParentgetRuleContextgetRuleContextsgetSourceIntervalgetStartgetStopgetTokengetTokensremoveLastChildtoInfoString

Constructor Detail

CommandContextback to summary
public CommandContext(ParserRuleContext parent, int invokingState)

Method Detail

acceptback to summary
public <T> T accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

Doc from org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.

Annotations
@Override
CHARback to summary
public List<TerminalNode> CHAR()
CHARback to summary
public TerminalNode CHAR(int i)
enterRuleback to summary
public void enterRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.enterRule.

Annotations
@Override
exitRuleback to summary
public void exitRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.exitRule.

Annotations
@Override
getRuleIndexback to summary
public int getRuleIndex()

Overrides org.antlr.v4.runtime.RuleContext.getRuleIndex.

Annotations
@Override
NEWLINEback to summary
public List<TerminalNode> NEWLINE()
NEWLINEback to summary
public TerminalNode NEWLINE(int i)
QUOTED_TEXTback to summary
public List<TerminalNode> QUOTED_TEXT()
QUOTED_TEXTback to summary
public TerminalNode QUOTED_TEXT(int i)
SPACEback to summary
public List<TerminalNode> SPACE()
SPACEback to summary
public TerminalNode SPACE(int i)
TABback to summary
public List<TerminalNode> TAB()
TABback to summary
public TerminalNode TAB(int i)
org.hibernate.grammars.importsql back to summary

public Class SqlScriptParser.ScriptContext

extends ParserRuleContext
Class Inheritance
Annotations
@SuppressWarnings:CheckReturnValue

Field Summary

Inherited from org.antlr.v4.runtime.ParserRuleContext:
childrenEMPTYexceptionstartstop

Constructor Summary

AccessConstructor and Description
public
ScriptContext(ParserRuleContext parent, int invokingState)

Method Summary

Modifier and TypeMethod and Description
public <T> T
accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.
public List<SqlScriptParser.CommandBlockContext>
public SqlScriptParser.CommandBlockContext
commandBlock(int i)

public void
public TerminalNode
EOF()

public void
public int
public List<TerminalNode>
public TerminalNode
NEWLINE(int i)

public List<TerminalNode>
public TerminalNode
SPACE(int i)

public List<TerminalNode>
TAB()

public TerminalNode
TAB(int i)

Inherited from org.antlr.v4.runtime.ParserRuleContext:
addAnyChildaddChildaddChildaddChildaddErrorNodeaddErrorNodecopyFromgetChildgetChildgetChildCountgetParentgetRuleContextgetRuleContextsgetSourceIntervalgetStartgetStopgetTokengetTokensremoveLastChildtoInfoString

Constructor Detail

ScriptContextback to summary
public ScriptContext(ParserRuleContext parent, int invokingState)

Method Detail

acceptback to summary
public <T> T accept(ParseTreeVisitor<? extends T> visitor)

Overrides org.antlr.v4.runtime.RuleContext.accept.

Implements org.antlr.v4.runtime.tree.ParseTree.accept.

Doc from org.antlr.v4.runtime.tree.ParseTree.accept.

The ParseTreeVisitor needs a double dispatch method.

Annotations
@Override
commandBlockback to summary
public List<SqlScriptParser.CommandBlockContext> commandBlock()
commandBlockback to summary
public SqlScriptParser.CommandBlockContext commandBlock(int i)
enterRuleback to summary
public void enterRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.enterRule.

Annotations
@Override
EOFback to summary
public TerminalNode EOF()
exitRuleback to summary
public void exitRule(ParseTreeListener listener)

Overrides org.antlr.v4.runtime.ParserRuleContext.exitRule.

Annotations
@Override
getRuleIndexback to summary
public int getRuleIndex()

Overrides org.antlr.v4.runtime.RuleContext.getRuleIndex.

Annotations
@Override
NEWLINEback to summary
public List<TerminalNode> NEWLINE()
NEWLINEback to summary
public TerminalNode NEWLINE(int i)
SPACEback to summary
public List<TerminalNode> SPACE()
SPACEback to summary
public TerminalNode SPACE(int i)
TABback to summary
public List<TerminalNode> TAB()
TABback to summary
public TerminalNode TAB(int i)