goldengine.java
Interface GPMessageConstants

All Known Implementing Classes:
GenericParser, GOLDParser

public interface GPMessageConstants

-------------------------------------------------------------------------------------------
Source File: GPMessageConstants.java
Author: Matthew Hawkins
Description: A set of constants associated with telling the user what the parsing engine has done.
-------------------------------------------------------------------------------------------
Revision List

      Author          Version         Description
      ------          -------         -----------
      MPH             1.0             First Issue

-------------------------------------------------------------------------------------------
IMPORT: NONE
-------------------------------------------------------------------------------------------


Field Summary
static int gpMsgAccept
          Grammar complete
static int gpMsgCommentError
          Reached the end of the file - mostly due to being stuck in comment mode
static int gpMsgInternalError
          Something is wrong, very wrong
static int gpMsgLexicalError
          Token not recognized
static int gpMsgNotLoadedError
          No grammar is loaded
static int gpMsgReduction
          A rule is reduced
static int gpMsgSyntaxError
          Token is not expected
static int gpMsgTokenRead
          A new token is read
 

Field Detail

gpMsgTokenRead

public static final int gpMsgTokenRead
A new token is read

gpMsgReduction

public static final int gpMsgReduction
A rule is reduced

gpMsgAccept

public static final int gpMsgAccept
Grammar complete

gpMsgNotLoadedError

public static final int gpMsgNotLoadedError
No grammar is loaded

gpMsgLexicalError

public static final int gpMsgLexicalError
Token not recognized

gpMsgSyntaxError

public static final int gpMsgSyntaxError
Token is not expected

gpMsgCommentError

public static final int gpMsgCommentError
Reached the end of the file - mostly due to being stuck in comment mode

gpMsgInternalError

public static final int gpMsgInternalError
Something is wrong, very wrong