Logo Search packages:      
Sourcecode: jflex version File versions

JFlex::Out Class Reference

Inheritance diagram for JFlex::Out:

JFlex::ErrorMessages

List of all members.


Detailed Description

In this class all output to the java console is filtered.

Use the switches VERBOSE, TIME and DUMP at compile time to determine the verbosity of JFlex output. There is no switch for suppressing error messages. VERBOSE and TIME can be overridden by command line paramters.

Redirects output to a TextArea in GUI mode.

Counts error and warning messages.

Author:
Gerwin Klein
Version:
JFlex 1.3.5,
Revision
1.29
,
Date
2001/10/08 10:08:03

Definition at line 61 of file Out.java.


Static Public Member Functions

static void checkErrors ()
static void debug (String message)
static void dump (String message)
static void error (File file, int message, int line, int column)
static void error (int message, File file)
static void error (int message)
static void error (String message)
static void print (String message)
static void println (String message)
static void printSystemInfo ()
static void requestBugReport (Error e)
static void resetCounters ()
static void setGUIMode (TextArea text)
static void showPosition (File file, int line)
static void showPosition (File file, int line, int column)
static void statistics ()
static void time (String message)
static void warning (File file, int message, int line, int column)
static void warning (int message, int line)
static void warning (String message)

Public Attributes

int CHARCLASS_MACRO = 15
int CHARSET_2_SMALL = 12
int CS2SMALL_CHAR = 14
int CS2SMALL_STRING = 13
int CUPSYM_AFTER_CUP = 47
int EOF_IN_ACTION = 20
int EOF_IN_COMMENT = 21
int EOF_IN_MACROS = 23
int EOF_IN_REGEXP = 25
int EOF_IN_STATES = 24
int EOF_IN_STRING = 22
int EOF_SINGLERULE = 2
int EOF_WO_ACTION = 1
int EOL_IN_CHARCLASS = 45
int FILE_CYCLE = 40
int FILE_WRITE = 41
int LEXSTATE_UNDECL = 6
int LOOKAHEAD_ERROR = 29
int MACRO_UNDECL = 11
int NEVER_MATCH = 43
int NO_BUFFER_SIZE = 38
int NO_DIRECTORY = 30
int NO_LAST_ACTION = 28
int NO_LEX_SPEC = 27
int NO_MATCHING_BR = 19
int NO_SKEL_FILE = 31
int NOT_AT_BOL = 18
int NOT_READABLE = 39
int OUT_OF_MEMORY = 33
int QUIL_CUPSYM = 46
int QUIL_EOFTHROW = 35
int QUIL_INITTHROW = 34
int QUIL_SCANERROR = 42
int QUIL_THROW = 44
int QUIL_YYLEXTHROW = 36
int REGEXP_EXPECTED = 10
int REPEAT_GREATER = 9
int REPEAT_ZERO = 8
int STATE_IDENT_EXP = 7
int SYNTAX_ERROR = 17
int UNEXPECTED_CHAR = 4
int UNEXPECTED_EOF = 26
int UNEXPECTED_NL = 5
int UNKNOWN_OPTION = 3
int UNKNOWN_SYNTAX = 16
int UNTERMINATED_STR = 0
int WRONG_SKELETON = 32
int ZERO_STATES = 37

Static Public Attributes

static final boolean DEBUG = false
static boolean DOT = false
static boolean DUMP = false
static int errors
static final String NL = System.getProperty("line.separator")
static boolean TIME = false
static boolean VERBOSE = true
static int warnings

Package Attributes

String messages []

Static Private Member Functions

static void err (String message)
static String getLine (File file, int line) throws IOException

Static Private Attributes

static StdOutWriter out = new StdOutWriter()

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index