The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
ErrorManagement.LexicalError Struct Reference

Represents the error occurred while the source code is lexing. More...

Inheritance diagram for ErrorManagement.LexicalError:
ErrorManagement.IError

Public Member Functions

 LexicalError (string description, Location loc)
 Constructor of LexicalError. More...
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Properties

string ErrorType [get]
 Gets the error type More...
 
string Description [get]
 Gets the error description More...
 
- Properties inherited from ErrorManagement.IError
string ErrorType [get]
 Gets the name for the error type. More...
 
string Description [get]
 Gets the description for the error type. More...
 

Detailed Description

Represents the error occurred while the source code is lexing.

Definition at line 23 of file LexicalError.cs.

Constructor & Destructor Documentation

ErrorManagement.LexicalError.LexicalError ( string  description,
Location  loc 
)

Constructor of LexicalError.

Parameters
fileNameFile name.
lineLine number.
columnColumn number.
descriptionError description.

Definition at line 63 of file LexicalError.cs.

Member Function Documentation

override bool ErrorManagement.LexicalError.Equals ( object  obj)

Definition at line 73 of file LexicalError.cs.

override int ErrorManagement.LexicalError.GetHashCode ( )

Definition at line 78 of file LexicalError.cs.

Property Documentation

string ErrorManagement.LexicalError.Description
get

Gets the error description

Definition at line 48 of file LexicalError.cs.

string ErrorManagement.LexicalError.ErrorType
get

Gets the error type

Definition at line 40 of file LexicalError.cs.


The documentation for this struct was generated from the following file: