C# 클래스 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.
파일 보기 프로젝트 열기: qwertie/ecsharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Nowhere LineAndCol

보호된 프로퍼티들

프로퍼티 타입 설명
_line int
_posInLine int

공개 메소드들

메소드 설명
Equals ( object obj ) : bool
GetHashCode ( ) : int
LineAndCol ( int Line, int PosInLine ) : System
ToString ( ) : string

보호된 메소드들

메소드 설명
LineAndCol ( ) : System

메소드 상세

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

LineAndCol() 보호된 메소드

protected LineAndCol ( ) : System
리턴 System

LineAndCol() 공개 메소드

public LineAndCol ( int Line, int PosInLine ) : System
Line int
PosInLine int
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

Nowhere 공개적으로 정적으로 프로퍼티

public static LineAndCol,Loyc.Syntax Nowhere
리턴 LineAndCol

_line 보호되어 있는 프로퍼티

protected int _line
리턴 int

_posInLine 보호되어 있는 프로퍼티

protected int _posInLine
리턴 int