001package gudusoft.gsqlparser.stmt.mssql;
002
003import gudusoft.gsqlparser.*;
004import gudusoft.gsqlparser.nodes.TParseTreeVisitor;
005
006/**
007 * @deprecated As of v1.9.4.1, replaced by {@link gudusoft.gsqlparser.stmt.TGrantStmt}
008 */
009public class TMssqlGrant extends TCustomSqlStatement {
010     public TMssqlGrant (EDbVendor dbvendor){
011        super(dbvendor);
012        sqlstatementtype = ESqlStatementType.sstmssqlgrant ;
013        }
014
015    void buildsql() {
016    }
017
018    void clear() {
019    }
020
021    String getasprettytext() {
022        return "";
023    }
024
025    void iterate(TVisitorAbs pvisitor) {
026    }
027
028    public int doParseStatement(TCustomSqlStatement psql) {
029        if (rootNode == null) return -1;
030
031        super.doParseStatement(psql);
032       return 0;
033    }
034
035    public void accept(TParseTreeVisitor v){
036        v.preVisit(this);
037        v.postVisit(this);
038    }
039
040    public void acceptChildren(TParseTreeVisitor v){
041        v.preVisit(this);
042        v.postVisit(this);
043    }
044
045}