net.sourceforge.czt.parser.z
Enum ZParseMessage

java.lang.Object
  extended by java.lang.Enum<ZParseMessage>
      extended by net.sourceforge.czt.parser.z.ZParseMessage
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ZParseMessage>

public enum ZParseMessage
extends java.lang.Enum<ZParseMessage>

An enumeration of possible parse/scan messages, warnings, and errors that may occur during a parse.


Enum Constant Summary
MSG_CANNOT_ADD_OP
           
MSG_CANNOT_MERGE_OPTABLES
           
MSG_DUPLICATE_INIT
           
MSG_DUPLICATE_STATE
           
MSG_EXPR_EXPECTED
           
MSG_EXPR_EXPECTED_FOUND_PRED
           
MSG_LATEX_COMMAND_DEFINED_TWICE
           
MSG_MISSING_NL_UNBOXEDPARLIST
           
MSG_OF_PARENT_NOT_FOUND
           
MSG_OPEXPR_EXPECTED
           
MSG_OPNAME_AS_DECLWORD
           
MSG_OPNAME_ERROR
           
MSG_PARENT_NOT_FOUND
           
MSG_POSSIBLE_MISSING_SPACE
           
MSG_PRED_EXPECTED
           
MSG_REFNAME_EXPECTED
           
MSG_REFNAME_NO_PARAMS_EXPECTED
           
MSG_STROKE_IN_OPNAME
           
MSG_SYNTAX_ERROR
           
MSG_SYNTAX_ERROR_IN_SECTION_HEADER
           
MSG_SYNTAX_ERROR_IN_VARDECL
           
MSG_UNEXPECTED_TOKEN
           
MSG_UNEXPECTED_TOKEN_NAME_EXPECTED
           
MSG_UNKNOWN_LATEX_COMMAND
           
MSG_UNMATCHED_BEGIN_END
           
MSG_UNMATCHED_BRACES
           
MSG_UNMATCHED_WORDGLUE
           
 
Method Summary
static ZParseMessage valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ZParseMessage[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MSG_EXPR_EXPECTED

public static final ZParseMessage MSG_EXPR_EXPECTED

MSG_EXPR_EXPECTED_FOUND_PRED

public static final ZParseMessage MSG_EXPR_EXPECTED_FOUND_PRED

MSG_PRED_EXPECTED

public static final ZParseMessage MSG_PRED_EXPECTED

MSG_OPEXPR_EXPECTED

public static final ZParseMessage MSG_OPEXPR_EXPECTED

MSG_REFNAME_EXPECTED

public static final ZParseMessage MSG_REFNAME_EXPECTED

MSG_REFNAME_NO_PARAMS_EXPECTED

public static final ZParseMessage MSG_REFNAME_NO_PARAMS_EXPECTED

MSG_UNKNOWN_LATEX_COMMAND

public static final ZParseMessage MSG_UNKNOWN_LATEX_COMMAND

MSG_UNMATCHED_BEGIN_END

public static final ZParseMessage MSG_UNMATCHED_BEGIN_END

MSG_UNMATCHED_BRACES

public static final ZParseMessage MSG_UNMATCHED_BRACES

MSG_UNMATCHED_WORDGLUE

public static final ZParseMessage MSG_UNMATCHED_WORDGLUE

MSG_UNEXPECTED_TOKEN

public static final ZParseMessage MSG_UNEXPECTED_TOKEN

MSG_UNEXPECTED_TOKEN_NAME_EXPECTED

public static final ZParseMessage MSG_UNEXPECTED_TOKEN_NAME_EXPECTED

MSG_SYNTAX_ERROR

public static final ZParseMessage MSG_SYNTAX_ERROR

MSG_STROKE_IN_OPNAME

public static final ZParseMessage MSG_STROKE_IN_OPNAME

MSG_OPNAME_AS_DECLWORD

public static final ZParseMessage MSG_OPNAME_AS_DECLWORD

MSG_PARENT_NOT_FOUND

public static final ZParseMessage MSG_PARENT_NOT_FOUND

MSG_OF_PARENT_NOT_FOUND

public static final ZParseMessage MSG_OF_PARENT_NOT_FOUND

MSG_DUPLICATE_STATE

public static final ZParseMessage MSG_DUPLICATE_STATE

MSG_DUPLICATE_INIT

public static final ZParseMessage MSG_DUPLICATE_INIT

MSG_OPNAME_ERROR

public static final ZParseMessage MSG_OPNAME_ERROR

MSG_CANNOT_MERGE_OPTABLES

public static final ZParseMessage MSG_CANNOT_MERGE_OPTABLES

MSG_CANNOT_ADD_OP

public static final ZParseMessage MSG_CANNOT_ADD_OP

MSG_POSSIBLE_MISSING_SPACE

public static final ZParseMessage MSG_POSSIBLE_MISSING_SPACE

MSG_LATEX_COMMAND_DEFINED_TWICE

public static final ZParseMessage MSG_LATEX_COMMAND_DEFINED_TWICE

MSG_MISSING_NL_UNBOXEDPARLIST

public static final ZParseMessage MSG_MISSING_NL_UNBOXEDPARLIST

MSG_SYNTAX_ERROR_IN_VARDECL

public static final ZParseMessage MSG_SYNTAX_ERROR_IN_VARDECL

MSG_SYNTAX_ERROR_IN_SECTION_HEADER

public static final ZParseMessage MSG_SYNTAX_ERROR_IN_SECTION_HEADER
Method Detail

values

public static ZParseMessage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ZParseMessage c : ZParseMessage.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ZParseMessage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2003-2007 Community Z Tools Project. All Rights Reserved.