code: public static AbstractStmt getStatement(final CharSequence _stmt)
      {
          AbstractStmt ret = null;
          final IStatement<?> stmt = parse(_stmt);
          if (stmt instanceof IPrintStatement) {
              ret = PrintStmt.get((IPrintStatement<?>) stmt);
          } else if (stmt instanceof IDeleteStatement) {
              ret = DeleteStmt.get((IDeleteStatement<?>) stmt);
          } else if (stmt instanceof IInsertStatement) {
              ret = InsertStmt.get((IInsertStatement) stmt);
          } else if (stmt instanceof IUpdateStatement) {
              ret = UpdateStmt.get((IUpdateStatement<?>) stmt);
          }
          return ret;
      }
docs: Parses the stmt.
  
  @param _stmt the stmt
  @return the abstract stmt