C# Class Loyc.Syntax.SourcePos

Holds a filename (FileName), a line number (Line) and a position in the line (PosInLine), representing a position in a source code file.
Line and column numbering both start at one (1). Line=0 signifies nowhere in particular. Instances are immutable.
Inheritance: LineAndCol
Afficher le fichier Open project: qwertie/ecsharp Class Usage Examples

Méthodes publiques

Свойство Type Description
Nowhere SourcePos

Protected Properties

Свойство Type Description
_fileName string

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
SourcePos ( string FileName, int Line, int PosInLine ) : System
ToString ( ) : string

Méthodes protégées

Méthode Description
SourcePos ( ) : System

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

SourcePos() protected méthode

protected SourcePos ( ) : System
Résultat System

SourcePos() public méthode

public SourcePos ( string FileName, int Line, int PosInLine ) : System
FileName string
Line int
PosInLine int
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Nowhere public_oe static_oe property

public static SourcePos,Loyc.Syntax Nowhere
Résultat SourcePos

_fileName protected_oe property

protected string _fileName
Résultat string