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

공개 프로퍼티들

프로퍼티 타입 설명
Nowhere SourcePos

보호된 프로퍼티들

프로퍼티 타입 설명
_fileName string

공개 메소드들

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

보호된 메소드들

메소드 설명
SourcePos ( ) : System

메소드 상세

Equals() 공개 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

SourcePos() 보호된 메소드

protected SourcePos ( ) : System
리턴 System

SourcePos() 공개 메소드

public SourcePos ( string FileName, int Line, int PosInLine ) : System
FileName string
Line int
PosInLine int
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

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

public static SourcePos,Loyc.Syntax Nowhere
리턴 SourcePos

_fileName 보호되어 있는 프로퍼티

protected string _fileName
리턴 string