public class TStatementList extends TParseTreeNode implements Iterator<TCustomSqlStatement>
TCustomSqlStatement
.Constructor and Description |
---|
TStatementList() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TParseTreeVisitor v)
Accept a visitor
|
void |
acceptChildren(TParseTreeVisitor v)
Accept a visitor to iterate this class and sub-nodes of this class
|
void |
add(int index,
TCustomSqlStatement p) |
void |
add(TCustomSqlStatement p) |
void |
clear() |
void |
doParse(TCustomSqlStatement psql,
ESqlClause plocation)
Analyze the sub-nodes inside this node.
|
TCustomSqlStatement |
get(int p) |
boolean |
hasNext() |
void |
init(Object arg1)
Initialize a query tree node.
|
TCustomSqlStatement |
next() |
void |
remove() |
void |
remove(int index) |
void |
resetiterator() |
int |
size() |
addAllMyTokensToTokenList, appendString, fastSetString, getColumnNo, getDummyTag, getEndToken, getGsqlparser, getLineNo, getNodeType, getStartToken, init, init, init, init, init, removeAllMyTokensFromTokenList, setDummyTag, setEndToken, setEndToken, setEndToken, setEndToken, setGsqlparser, setIncludingComment, setNodeType, setStartToken, setStartToken, setStartToken, setStartToken, setString, toScript, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
public void resetiterator()
public boolean hasNext()
hasNext
in interface Iterator<TCustomSqlStatement>
public TCustomSqlStatement next()
next
in interface Iterator<TCustomSqlStatement>
public void remove()
remove
in interface Iterator<TCustomSqlStatement>
public int size()
public void clear()
public void add(TCustomSqlStatement p)
public void add(int index, TCustomSqlStatement p)
public void remove(int index)
public TCustomSqlStatement get(int p)
public void init(Object arg1)
TParseTreeNode
init
in class TParseTreeNode
arg1
- first argumentpublic void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNode
doParse
in class TParseTreeNode
psql
- SQL statement this node belongs toplocation
- SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNode
accept
in interface Visitable
accept
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
public void acceptChildren(TParseTreeVisitor v)
TParseTreeNode
acceptChildren
in interface Visitable
acceptChildren
in class TParseTreeNode
v
- visitor is a descendant class of TParseTreeVisitor
Copyright © 2019. All rights reserved.