001// GENERATED by ShapeGenerator from scripts/sqllr/shape/shape-spec.tsv (plan 09, slice 1b). Do not edit.
002package gudusoft.gsqlparser.lineage.v2.shape;
003
004/** Mirror of {@code gudusoft.gsqlparser.TSourceToken}. */
005public class TSourceToken extends ShapeObject {
006    public final long columnNo;
007    public final TSourceTokenList container;
008    public final long lineNo;
009    public final long offset;
010    public final int posinlist;
011    public final gudusoft.gsqlparser.ETokenType tokentype;
012    private final Object vgetAstext;
013    private final Object vgetNextTokenInChain;
014    private final Object vgetPrevTokenInChain;
015
016    TSourceToken(Shape shape, int handle, Object[][] v) {
017        super(shape, handle);
018        Object[] mine = v[0];
019        this.columnNo = shape.<Long>resolve(mine[0]);
020        this.container = shape.<TSourceTokenList>resolve(mine[1]);
021        this.lineNo = shape.<Long>resolve(mine[2]);
022        this.offset = shape.<Long>resolve(mine[3]);
023        this.posinlist = shape.<Integer>resolve(mine[4]);
024        this.tokentype = shape.<gudusoft.gsqlparser.ETokenType>resolve(mine[5]);
025        this.vgetAstext = mine[6];
026        this.vgetNextTokenInChain = mine[7];
027        this.vgetPrevTokenInChain = mine[8];
028    }
029
030    public java.lang.String getAstext() {
031        return this.<java.lang.String>slot(vgetAstext);
032    }
033
034    public TSourceToken getNextTokenInChain() {
035        return this.<TSourceToken>slot(vgetNextTokenInChain);
036    }
037
038    public TSourceToken getPrevTokenInChain() {
039        return this.<TSourceToken>slot(vgetPrevTokenInChain);
040    }
041}