C# Class Loyc.Syntax.LineAndCol

Holds a line number (Line) and a position in the line (PosInLine). This class isn't really needed in Loyc but is separated from SourcePos in case anyone might want position without a filename.
Numbering starts at one for both Line and PosInLine. Line=0 signifies nowhere in particular, or an unknown location.
Afficher le fichier Open project: qwertie/ecsharp Class Usage Examples

Méthodes publiques

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

Protected Properties

Свойство Type Description
_line int
_posInLine int

Méthodes publiques

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

Méthodes protégées

Méthode Description
LineAndCol ( ) : 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

LineAndCol() protected méthode

protected LineAndCol ( ) : System
Résultat System

LineAndCol() public méthode

public LineAndCol ( int Line, int PosInLine ) : System
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 LineAndCol,Loyc.Syntax Nowhere
Résultat LineAndCol

_line protected_oe property

protected int _line
Résultat int

_posInLine protected_oe property

protected int _posInLine
Résultat int