Package edu.caltech.nanodb.sqlparse
Class NanoSQLParser.ColConstraintForeignKeyContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.ColumnConstraintContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.ColConstraintForeignKeyContext
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTree
,org.antlr.v4.runtime.tree.RuleNode
,org.antlr.v4.runtime.tree.SyntaxTree
,org.antlr.v4.runtime.tree.Tree
- Enclosing class:
- NanoSQLParser
public static class NanoSQLParser.ColConstraintForeignKeyContext extends NanoSQLParser.ColumnConstraintContext
-
-
Field Summary
Fields Modifier and Type Field Description org.antlr.v4.runtime.Token
constraintName
NanoSQLParser.CascadeOptionContext
delOpt
org.antlr.v4.runtime.Token
refColumnName
org.antlr.v4.runtime.Token
refTableName
NanoSQLParser.CascadeOptionContext
updOpt
-
Constructor Summary
Constructors Constructor Description ColConstraintForeignKeyContext(NanoSQLParser.ColumnConstraintContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
java.util.List<NanoSQLParser.CascadeOptionContext>
cascadeOption()
NanoSQLParser.CascadeOptionContext
cascadeOption(int i)
org.antlr.v4.runtime.tree.TerminalNode
CONSTRAINT()
org.antlr.v4.runtime.tree.TerminalNode
DELETE()
void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
IDENT()
org.antlr.v4.runtime.tree.TerminalNode
IDENT(int i)
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
ON()
org.antlr.v4.runtime.tree.TerminalNode
ON(int i)
org.antlr.v4.runtime.tree.TerminalNode
REFERENCES()
org.antlr.v4.runtime.tree.TerminalNode
UPDATE()
-
Methods inherited from class edu.caltech.nanodb.sqlparse.NanoSQLParser.ColumnConstraintContext
copyFrom, getRuleIndex
-
Methods inherited from class org.antlr.v4.runtime.ParserRuleContext
addAnyChild, addChild, addChild, addChild, addErrorNode, addErrorNode, copyFrom, getChild, getChild, getChildCount, getParent, getRuleContext, getRuleContexts, getSourceInterval, getStart, getStop, getToken, getTokens, removeLastChild, toInfoString
-
-
-
-
Field Detail
-
constraintName
public org.antlr.v4.runtime.Token constraintName
-
refTableName
public org.antlr.v4.runtime.Token refTableName
-
refColumnName
public org.antlr.v4.runtime.Token refColumnName
-
delOpt
public NanoSQLParser.CascadeOptionContext delOpt
-
updOpt
public NanoSQLParser.CascadeOptionContext updOpt
-
-
Constructor Detail
-
ColConstraintForeignKeyContext
public ColConstraintForeignKeyContext(NanoSQLParser.ColumnConstraintContext ctx)
-
-
Method Detail
-
REFERENCES
public org.antlr.v4.runtime.tree.TerminalNode REFERENCES()
-
IDENT
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> IDENT()
-
IDENT
public org.antlr.v4.runtime.tree.TerminalNode IDENT(int i)
-
CONSTRAINT
public org.antlr.v4.runtime.tree.TerminalNode CONSTRAINT()
-
ON
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> ON()
-
ON
public org.antlr.v4.runtime.tree.TerminalNode ON(int i)
-
DELETE
public org.antlr.v4.runtime.tree.TerminalNode DELETE()
-
UPDATE
public org.antlr.v4.runtime.tree.TerminalNode UPDATE()
-
cascadeOption
public java.util.List<NanoSQLParser.CascadeOptionContext> cascadeOption()
-
cascadeOption
public NanoSQLParser.CascadeOptionContext cascadeOption(int i)
-
enterRule
public void enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
enterRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
exitRule
public void exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
- Overrides:
exitRule
in classorg.antlr.v4.runtime.ParserRuleContext
-
accept
public <T> T accept(org.antlr.v4.runtime.tree.ParseTreeVisitor<? extends T> visitor)
- Specified by:
accept
in interfaceorg.antlr.v4.runtime.tree.ParseTree
- Overrides:
accept
in classorg.antlr.v4.runtime.RuleContext
-
-