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

PerCederberg.Grammatica.Runtime
Enum ParserCreationException.ErrorType

System.Object
   |
   +--ParserCreationException.ErrorType

   in ParserCreationException.cs

The error type enumeration.


Field Summary
INFINITE_LOOP
          The infinite loop error type is used when an infinite loop has been detected in the grammar.
INHERENT_AMBIGUITY
          The inherent ambiguity error type is used when the set of production patterns (i.e. the grammar) contains ambiguities that cannot be resolved.
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_PARSER
          The invalid parser error type is used when the parser as such is invalid.
INVALID_PRODUCTION
          The invalid production error type is used when a production pattern is erroneous.
INVALID_TOKEN
          The invalid token error type is used when a token pattern is erroneous.
 

Field Detail

INFINITE_LOOP

public INFINITE_LOOP
The infinite loop error type is used when an infinite loop has been detected in the grammar. One of the productions in the loop will be reported.

INHERENT_AMBIGUITY

public INHERENT_AMBIGUITY
The inherent ambiguity error type is used when the set of production patterns (i.e. the grammar) contains ambiguities that cannot be resolved.

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_PARSER

public INVALID_PARSER
The invalid parser error type is used when the parser as such is invalid. This error is typically caused by using a parser without any patterns.

INVALID_PRODUCTION

public INVALID_PRODUCTION
The invalid production error type is used when a production pattern is erroneous. This error is typically caused by referencing undeclared productions, or violating some other production pattern constraint.

INVALID_TOKEN

public INVALID_TOKEN
The invalid token error type is used when a token pattern is erroneous. This error is typically caused by an invalid pattern type or an erroneous regular expression.

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