Package org.javacc.jjdoc
Class JJDocGlobals
java.lang.Object
org.javacc.jjdoc.JJDocGlobals
Global variables for JJDoc.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiderror(JJDocContext context, String message) Log error messages.static GeneratorgetGenerator(JJDocContext context) The commandline option is either TEXT or not, but the generator might have been set to some other Generator using the setGenerator method.static voidinfo(JJDocContext context, String message) Log informational messages.
-
Field Details
-
input_file
The name of the input file. -
output_file
The name of the output file. -
generator
The Generator to create output with.
-
-
Constructor Details
-
JJDocGlobals
public JJDocGlobals()
-
-
Method Details
-
getGenerator
The commandline option is either TEXT or not, but the generator might have been set to some other Generator using the setGenerator method.- Returns:
- the generator configured in options or set by setter.
-
info
Log informational messages.- Parameters:
message- the message to log
-
error
Log error messages.- Parameters:
message- the message to log
-