Package org.javacc.jjdoc
Class JJDocGlobals
java.lang.Object
org.javacc.parser.JavaCCGlobals
org.javacc.jjdoc.JJDocGlobals
Global variables for JJDoc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Generator
The Generator to create output with.static String
The name of the input file.static String
The name of the output file.Fields inherited from class org.javacc.parser.JavaCCGlobals
bnfproductions, ccol, cline, cu_from_insertion_point_2, cu_name, cu_to_insertion_point_1, cu_to_insertion_point_2, fileName, jj2index, jjtreeGenerated, lexstate_I2S, lexstate_S2I, lookaheadNeeded, maskindex, maskVals, named_tokens_table, names_of_tokens, ordered_named_tokens, origFileName, otherLanguageDeclTokenBeg, otherLanguageDeclTokenEnd, production_table, rexprlist, rexps_of_tokens, simple_tokens_table, token_mgr_decls, tokenCount, toolName, toolNames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Log informational messages.static void
Log error messages.static Generator
The commandline option is either TEXT or not, but the generator might have been set to some other Generator using the setGenerator method.static void
Log informational messages.static void
setGenerator
(Generator generator) Methods inherited from class org.javacc.parser.JavaCCGlobals
add_escapes, addUnicodeEscapes, bannerLine, createOutputDir, getIdString, getIdString, getToolNames, isGeneratedBy, printLeadingComments, printLeadingComments, printToken, printToken, printTokenList, printTokenOnly, printTokenOnly, printTokenSetup, printTrailingComments, printTrailingComments, reInit, staticOpt
-
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
-
setGenerator
- Parameters:
generator
- The generator to set.
-
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.
-
debug
Log informational messages.- Parameters:
message
- the message to log
-
info
Log informational messages.- Parameters:
message
- the message to log
-
error
Log error messages.- Parameters:
message
- the message to log
-