gudusoft.gsqlparser.pp.processor.type.comm
Class ColumnlistCommaProcessor
java.lang.Object
gudusoft.gsqlparser.pp.processor.type.comm.AbstractProcessor<TParseTreeNodeList>
gudusoft.gsqlparser.pp.processor.type.comm.ColumnlistCommaProcessor
public class ColumnlistCommaProcessor
- extends AbstractProcessor<TParseTreeNodeList>
used for comma style
- Author:
- zhoujun
- See Also:
GFmtOpt.Select_Columnlist_Style, GFmtOpt.Select_Columnlist_Comma
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnlistCommaProcessor
public ColumnlistCommaProcessor()
getNextNotEmptyNode
public static java.lang.Object[] getNextNotEmptyNode(TParseTreeNodeList list,
int startPos)
- fetch the next not empty node
- Parameters:
list
- the node liststartPos
- current position
- Returns:
- the first element is the node and the second one is its position.
processColumns
public static void processColumns(GFmtOpt opt,
TLinefeedsCommaOption p,
TAlignStyle alignStype,
TParseTreeNodeList columns)
process
public void process(TParseTreeNodeList columns)
- Overrides:
process
in class AbstractProcessor<TParseTreeNodeList>