Package gw.lang.gosuc.simple
Class SoutCompilerDriver
java.lang.Object
gw.lang.gosuc.simple.SoutCompilerDriver
- All Implemented Interfaces:
ICompilerDriver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final boolean
Fields inherited from interface gw.lang.gosuc.simple.ICompilerDriver
ERROR, WARNING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
registerOutput
(File sourceFile, File outputFile) void
registerOutput
(Object sourceFile, File outputFile) void
sendCompileIssue
(File file, int category, long offset, long line, long column, String message) void
sendCompileIssue
(Object file, int category, long offset, long line, long column, String message) void
-
Field Details
-
_echo
private final boolean _echo -
_includeWarnings
private final boolean _includeWarnings -
errors
-
warnings
-
-
Constructor Details
-
SoutCompilerDriver
public SoutCompilerDriver() -
SoutCompilerDriver
public SoutCompilerDriver(boolean echo, boolean warnings)
-
-
Method Details
-
sendCompileIssue
public void sendCompileIssue(File file, int category, long offset, long line, long column, String message) - Specified by:
sendCompileIssue
in interfaceICompilerDriver
-
sendCompileIssue
public void sendCompileIssue(Object file, int category, long offset, long line, long column, String message) - Specified by:
sendCompileIssue
in interfaceICompilerDriver
-
sendCompileIssue
- Specified by:
sendCompileIssue
in interfaceICompilerDriver
-
registerOutput
- Specified by:
registerOutput
in interfaceICompilerDriver
-
registerOutput
- Specified by:
registerOutput
in interfaceICompilerDriver
-
isIncludeWarnings
public boolean isIncludeWarnings()- Specified by:
isIncludeWarnings
in interfaceICompilerDriver
-
hasErrors
public boolean hasErrors()- Specified by:
hasErrors
in interfaceICompilerDriver
-
getErrors
- Specified by:
getErrors
in interfaceICompilerDriver
-
getWarnings
- Specified by:
getWarnings
in interfaceICompilerDriver
-