|
The StaDyn Programming Language
Source code documentation of StaDyn, a hybrid static and dynamic typing language.
|
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change. More...
Public Member Functions | |
| Location (string fileName, int lineNumber, int columnNumber) | |
| Constructor of Location. More... | |
| Location () | |
| override string | ToString () |
| override int | GetHashCode () |
| override bool | Equals (object obj) |
| Location | Clone () |
Properties | |
| string | FileName [get] |
| Gets de name of the file More... | |
| int | Line [get] |
| Gets line where the item is located More... | |
| int | Column [get] |
| Gets column where the item is located More... | |
| bool | Valid [get] |
| Indicates whether the object state has been created with a coherent state. In case it is false, its FileName, Line and Column must be properly written. More... | |
This class encapsulates a location in a specific file. Implements an Inmutable pattern. So it can be used in any context, that is his internal fields never change.
Definition at line 24 of file Location.cs.
| ErrorManagement.Location.Location | ( | string | fileName, |
| int | lineNumber, | ||
| int | columnNumber | ||
| ) |
Constructor of Location.
| fileName | File name of its source code |
| lineNumber | Line number of its source code |
| columnNumber | Line column of its source code |
Definition at line 86 of file Location.cs.
| ErrorManagement.Location.Location | ( | ) |
Definition at line 93 of file Location.cs.
| Location ErrorManagement.Location.Clone | ( | ) |
Definition at line 125 of file Location.cs.
| override bool ErrorManagement.Location.Equals | ( | object | obj | ) |
Definition at line 116 of file Location.cs.
| override int ErrorManagement.Location.GetHashCode | ( | ) |
Definition at line 111 of file Location.cs.
| override string ErrorManagement.Location.ToString | ( | ) |
Gets a string representation of the Location Object /summary>
Definition at line 103 of file Location.cs.
|
get |
Gets column where the item is located
Definition at line 64 of file Location.cs.
|
get |
Gets de name of the file
Definition at line 52 of file Location.cs.
|
get |
Gets line where the item is located
Definition at line 58 of file Location.cs.
|
get |
Indicates whether the object state has been created with a coherent state. In case it is false, its FileName, Line and Column must be properly written.
Definition at line 72 of file Location.cs.