|
Grammatica 1.4 Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exception
|
+--ParserCreationException
in ParserCreationException.csA parser creation exception. This exception is used for signalling an error in the token or production patterns, making it impossible to create a working parser or tokenizer.
Inner Classes, Typedefs, and Enums | |
enum |
ParserCreationException.ErrorType
The error type enumeration. |
Field Summary | |
override string |
Message
The message property. |
Constructor Summary | |
ParserCreationException( ParserCreationException.ErrorType type, String info )
Creates a new parser creation exception. |
|
ParserCreationException( ParserCreationException.ErrorType type, String name, String info )
Creates a new parser creation exception. |
|
ParserCreationException( ParserCreationException.ErrorType type, String name, String info, ArrayList details )
Creates a new parser creation exception. |
Method Summary | |
string |
GetDetails()
Returns the detailed error information as a string |
ParserCreationException.ErrorType |
GetErrorType()
Returns the error type. |
string |
GetInfo()
Returns the additional error information. |
string |
GetMessage()
Returns the error message. |
string |
GetName()
Returns the token or production name. |
Field Detail |
public override string Message;
Constructor Detail |
public ParserCreationException( ParserCreationException.ErrorType type, String info );
type
- the parse error type
info
- the additional error informationpublic ParserCreationException( ParserCreationException.ErrorType type, String name, String info );
type
- the parse error type
name
- the token or production pattern name
info
- the additional error informationpublic ParserCreationException( ParserCreationException.ErrorType type, String name, String info, ArrayList details );
type
- the parse error type
name
- the token or production pattern name
info
- the additional error information
details
- the error details listMethod Detail |
public string GetDetails();
public ParserCreationException.ErrorType GetErrorType();
public string GetInfo();
public string GetMessage();
public string GetName();
|
Grammatica 1.4 Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |