Class JJDocGlobals

java.lang.Object
org.javacc.parser.JavaCCGlobals
org.javacc.jjdoc.JJDocGlobals
Direct Known Subclasses:
JJDoc, JJDocMain

public class JJDocGlobals extends JavaCCGlobals
Global variables for JJDoc.
  • Field Details

    • input_file

      public static String input_file
      The name of the input file.
    • output_file

      public static String output_file
      The name of the output file.
    • generator

      public static Generator generator
      The Generator to create output with.
  • Constructor Details

    • JJDocGlobals

      public JJDocGlobals()
  • Method Details

    • 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(String message)
      Log informational messages.
      Parameters:
      message - the message to log
    • info

      public static void info(String message)
      Log informational messages.
      Parameters:
      message - the message to log
    • error

      public static void error(String message)
      Log error messages.
      Parameters:
      message - the message to log