Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

PerCederberg.Grammatica.Runtime
Enum ParseException.ErrorType

System.Object
   |
   +--ParseException.ErrorType

   in ParseException.cs

The error type enumeration.


Field Summary
ANALYSIS
          The analysis error type is used when an error is encountered in the analysis.
INTERNAL
          The internal error type is only used to signal an error that is a result of a bug in the parser or tokenizer code.
INVALID_TOKEN
          The invalid token error type is used when a token pattern with an error message is matched.
IO
          The I/O error type is used for stream I/O errors.
UNEXPECTED_CHAR
          The unexpected character error type is used when a character is read that isn't handled by one of the token patterns.
UNEXPECTED_EOF
          The unexpected end of file error type is used when end of file is encountered instead of a valid token.
UNEXPECTED_TOKEN
          The unexpected token error type is used when another token than the expected one is encountered.
 

Field Detail

ANALYSIS

public ANALYSIS
The analysis error type is used when an error is encountered in the analysis. The additional information provided should contain the error message.

INTERNAL

public INTERNAL
The internal error type is only used to signal an error that is a result of a bug in the parser or tokenizer code.

INVALID_TOKEN

public INVALID_TOKEN
The invalid token error type is used when a token pattern with an error message is matched. The additional information provided should contain the error message.

IO

public IO
The I/O error type is used for stream I/O errors.

UNEXPECTED_CHAR

public UNEXPECTED_CHAR
The unexpected character error type is used when a character is read that isn't handled by one of the token patterns.

UNEXPECTED_EOF

public UNEXPECTED_EOF
The unexpected end of file error type is used when end of file is encountered instead of a valid token.

UNEXPECTED_TOKEN

public UNEXPECTED_TOKEN
The unexpected token error type is used when another token than the expected one is encountered.

 Overview   Project   Class   Tree   Deprecated   Index 
Grammatica 1.5 Documentation
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD