improved sql parser.

This commit is contained in:
wenshao
2017-05-23 23:49:12 +08:00
parent 465b7b34b9
commit 78488b0b1a
155 changed files with 587 additions and 465 deletions
@@ -22,6 +22,8 @@ public abstract class SQLStatementImpl extends SQLObjectImpl implements SQLState
private String dbType;
private boolean afterSemi;
public SQLStatementImpl(){
}
@@ -46,4 +48,12 @@ public abstract class SQLStatementImpl extends SQLObjectImpl implements SQLState
protected void accept0(SQLASTVisitor visitor) {
throw new UnsupportedOperationException(this.getClass().getName());
}
public boolean isAfterSemi() {
return afterSemi;
}
public void setAfterSemi(boolean afterSemi) {
this.afterSemi = afterSemi;
}
}