|
Grammatica 1.5 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 | |
string |
Details
The detailed error information property (read-only). |
string |
Info
The additional error information property (read-only). |
override string |
Message
The message property (read-only). |
string |
Name
The token or production name property (read-only). |
ParserCreationException.ErrorType |
Type
The error type property (read-only). |
| 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()
Deprecated. Use the Details property instead. |
ParserCreationException.ErrorType |
GetErrorType()
Deprecated. Use the Type property instead. |
string |
GetInfo()
Deprecated. Use the Info property instead. |
string |
GetMessage()
Deprecated. Use the Message property instead. |
string |
GetName()
Deprecated. Use the Name property instead. |
| Field Detail |
public string Details;
public string Info;
public override string Message;
public string Name;
public ParserCreationException.ErrorType Type;
| 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 list| Method Detail |
public string GetDetails();
Returns the detailed error information as a string
Detailspublic ParserCreationException.ErrorType GetErrorType();
Returns the error type.
Typepublic string GetInfo();
Returns the additional error information.
Infopublic string GetMessage();
Returns the error message. This message will contain all the information available.
Messagepublic string GetName();
Returns the token or production name.
Name
|
Grammatica 1.5 Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||