public class GrammarResult extends Object
| Modifier and Type | Field and Description |
|---|---|
Exception |
e |
List<org.antlr.tool.Message> |
errors |
List<org.antlr.tool.Message> |
warnings |
| Constructor and Description |
|---|
GrammarResult() |
GrammarResult(Exception e) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
getErrorCount() |
List<org.antlr.tool.Message> |
getErrors() |
String |
getFirstErrorMessage() |
String |
getFirstWarningMessage() |
int |
getWarningCount() |
List<org.antlr.tool.Message> |
getWarnings() |
boolean |
isSuccess() |
void |
setErrors(List<org.antlr.tool.Message> errors) |
void |
setWarnings(List<org.antlr.tool.Message> warnings) |
public Exception e
public final List<org.antlr.tool.Message> errors
public final List<org.antlr.tool.Message> warnings
public GrammarResult(Exception e)
public GrammarResult()
public List<org.antlr.tool.Message> getErrors()
public void setErrors(List<org.antlr.tool.Message> errors)
public String getFirstErrorMessage()
public List<org.antlr.tool.Message> getWarnings()
public void setWarnings(List<org.antlr.tool.Message> warnings)
public String getFirstWarningMessage()
public int getErrorCount()
public int getWarningCount()
public boolean isSuccess()
public void clear()
Copyright © 2013. All rights reserved.