Package edu.caltech.nanodb.sqlparse
Class NanoSQLParser.UpdateStmtContext
- java.lang.Object
-
- org.antlr.v4.runtime.RuleContext
-
- org.antlr.v4.runtime.ParserRuleContext
-
- edu.caltech.nanodb.sqlparse.NanoSQLParser.UpdateStmtContext
-
- 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.UpdateStmtContext extends org.antlr.v4.runtime.ParserRuleContext
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<org.antlr.v4.runtime.Token>
columnName
org.antlr.v4.runtime.Token
IDENT
NanoSQLParser.ExpressionContext
predicate
org.antlr.v4.runtime.Token
tableName
-
Constructor Summary
Constructors Constructor Description UpdateStmtContext(org.antlr.v4.runtime.ParserRuleContext parent, int invokingState)
-
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)
void
enterRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
void
exitRule(org.antlr.v4.runtime.tree.ParseTreeListener listener)
java.util.List<NanoSQLParser.ExpressionContext>
expression()
NanoSQLParser.ExpressionContext
expression(int i)
int
getRuleIndex()
java.util.List<org.antlr.v4.runtime.tree.TerminalNode>
IDENT()
org.antlr.v4.runtime.tree.TerminalNode
IDENT(int i)
org.antlr.v4.runtime.tree.TerminalNode
SET()
org.antlr.v4.runtime.tree.TerminalNode
UPDATE()
org.antlr.v4.runtime.tree.TerminalNode
WHERE()
-
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
-
tableName
public org.antlr.v4.runtime.Token tableName
-
IDENT
public org.antlr.v4.runtime.Token IDENT
-
columnName
public java.util.List<org.antlr.v4.runtime.Token> columnName
-
predicate
public NanoSQLParser.ExpressionContext predicate
-
-
Method Detail
-
UPDATE
public org.antlr.v4.runtime.tree.TerminalNode UPDATE()
-
SET
public org.antlr.v4.runtime.tree.TerminalNode SET()
-
expression
public java.util.List<NanoSQLParser.ExpressionContext> expression()
-
expression
public NanoSQLParser.ExpressionContext expression(int i)
-
IDENT
public java.util.List<org.antlr.v4.runtime.tree.TerminalNode> IDENT()
-
IDENT
public org.antlr.v4.runtime.tree.TerminalNode IDENT(int i)
-
WHERE
public org.antlr.v4.runtime.tree.TerminalNode WHERE()
-
getRuleIndex
public int getRuleIndex()
- Overrides:
getRuleIndex
in classorg.antlr.v4.runtime.RuleContext
-
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
-
-