}
public OracleTruncateStatement parseTruncate() {
accept(Token.TRUNCATE);
accept(Token.TABLE);
OracleTruncateStatement stmt = new OracleTruncateStatement();
SQLName name = this.exprParser.name();
stmt.getTableNames().add(name);
if (identifierEquals("PURGE")) {
lexer.nextToken();
if (identifierEquals("SNAPSHOT")) {
lexer.nextToken();
accept(Token.LOG);
stmt.setPurgeSnapshotLog(true);
} else {
throw new ParserException("TODO : " + lexer.token() + " " + lexer.stringVal());
}
}