| |
|
| java.lang.Object org.openlaszlo.compiler.CompilationErrorHandler
CompilationErrorHandler | public class CompilationErrorHandler (Code) | | Hold a list of errors generated during compilation of an lzx file.
The list of Errors are all wrapped by CompilationError
|
CompilationErrorHandler | public CompilationErrorHandler()(Code) | | |
addError | void addError(CompilationError e)(Code) | | Append an error to list of errors.
Parameters: e - the error which occurred |
appendErrors | public void appendErrors(CompilationErrorHandler other)(Code) | | Appends all the errors from ERRS into our list of errors.
Parameters: other - a list of errors to append from |
getErrors | public List getErrors()(Code) | | Returns the list of errors
the list of errors |
isEmpty | public boolean isEmpty()(Code) | | |
setFileBase | public void setFileBase(String fileBase)(Code) | | Set the base directory relative to which pathnames are
reported.
|
size | public int size()(Code) | | length of error list |
toCompilationError | public CompilationError toCompilationError()(Code) | | a single consolidated error which holds list of errormessage strings which were collected during a compile. |
|
|
|