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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic 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)
TParseTreeNodeinit in class TParseTreeNodearg1 - first argumentpublic void doParse(TCustomSqlStatement psql, ESqlClause plocation)
TParseTreeNodedoParse in class TParseTreeNodepsql - SQL statement this node belongs toplocation - SQL clause this node belongs topublic void accept(TParseTreeVisitor v)
TParseTreeNodeaccept in interface Visitableaccept in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorpublic void acceptChildren(TParseTreeVisitor v)
TParseTreeNodeacceptChildren in interface VisitableacceptChildren in class TParseTreeNodev - visitor is a descendant class of TParseTreeVisitorCopyright © 2019. All rights reserved.