public abstract class ParserWrapper extends Object
| Constructor and Description | 
|---|
ParserWrapper()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<CustomErrorListener.ParseIssue> | 
getParseIssues()  | 
static StatementBlock | 
getStatementBlock(Statement current)
Custom wrapper to convert statement into statement blocks. 
 | 
boolean | 
isAtLeastOneError()  | 
boolean | 
isAtLeastOneWarning()  | 
abstract DMLProgram | 
parse(String fileName,
     String dmlScript,
     Map<String,String> argVals)  | 
static String | 
readDMLScript(String script,
             org.apache.commons.logging.Log LOG)  | 
public abstract DMLProgram parse(String fileName, String dmlScript, Map<String,String> argVals)
public static StatementBlock getStatementBlock(Statement current)
current - a statementpublic static String readDMLScript(String script, org.apache.commons.logging.Log LOG) throws IOException, LanguageException
IOExceptionLanguageExceptionpublic boolean isAtLeastOneError()
public boolean isAtLeastOneWarning()
public List<CustomErrorListener.ParseIssue> getParseIssues()
Copyright © 2021 The Apache Software Foundation. All rights reserved.