// return parser.parseCrateTable();
throw new ParserException("TODO");
}
public OracleCreateViewStatement parseCreateView() throws ParserException {
OracleCreateViewStatement createView = new OracleCreateViewStatement();
accept(Token.CREATE);
if (lexer.token() == (Token.OR)) {
lexer.nextToken();
if (identifierEquals("REPLACE")) lexer.nextToken();
else {
throw new ParserException("syntax error");
}
createView.setReplace(true);
}
if (identifierEquals("NO")) {
lexer.nextToken();
if (identifierEquals("FORCE")) lexer.nextToken();
else {
throw new ParserException("syntax error");
}
createView.setForce(Boolean.FALSE);
}
if (identifierEquals("FORCE")) {
lexer.nextToken();
createView.setForce(Boolean.TRUE);
}
accept(Token.VIEW);
// createView.setName(new OracleExprParser(this.lexer).name());