org.javacc.jjdoc.JJDocGlobals.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
JJDocGlobals
org.javacc.jjdoc
Class JJDocGlobals
- java.lang.Object
-
- org.javacc.parser.JavaCCGlobals
-
- org.javacc.jjdoc.JJDocGlobals
-
public class JJDocGlobals
extends JavaCCGlobals
Global variables for JJDoc.
-
-
Field Summary
Fields
Modifier and Type
Field and Description
static Generator
generator
The Generator to create output with.
static java.lang.String
input_file
The name of the input file.
static java.lang.String
output_file
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
Constructor and Description
JJDocGlobals()
-
Method Summary
Methods
Modifier and Type
Method and Description
static void
debug(java.lang.String message)
Log informational messages.
static void
error(java.lang.String message)
Log error messages.
static Generator
getGenerator()
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
info(java.lang.String message)
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 Detail
-
input_file
public static java.lang.String input_file
The name of the input file.
-
output_file
public static java.lang.String output_file
The name of the output file.
-
generator
public static Generator generator
The Generator to create output with.
-
Method Detail
-
setGenerator
public static void setGenerator(Generator generator)
- Parameters:
generator
- The generator to set.
-
getGenerator
public static Generator 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
public static void debug(java.lang.String message)
Log informational messages.
- Parameters:
message
- the message to log
-
info
public static void info(java.lang.String message)
Log informational messages.
- Parameters:
message
- the message to log
-
error
public static void error(java.lang.String message)
Log error messages.
- Parameters:
message
- the message to log