C# 클래스 Loyc.Syntax.EmptySourceFile

A dummy implementation of ISourceFile that has only a filename, no source text. Used as the source file of synthetic syntax nodes.
상속: ISourceFile
파일 보기 프로젝트 열기: qwertie/ecsharp

공개 프로퍼티들

프로퍼티 타입 설명
Default EmptySourceFile
Unknown EmptySourceFile

공개 메소드들

메소드 설명
EmptySourceFile ( string fileName ) : System
IndexToLine ( int index ) : SourcePos
LineToIndex ( LineAndCol pos ) : int
LineToIndex ( int lineNo ) : int

메소드 상세

EmptySourceFile() 공개 메소드

public EmptySourceFile ( string fileName ) : System
fileName string
리턴 System

IndexToLine() 공개 메소드

public IndexToLine ( int index ) : SourcePos
index int
리턴 SourcePos

LineToIndex() 공개 메소드

public LineToIndex ( LineAndCol pos ) : int
pos LineAndCol
리턴 int

LineToIndex() 공개 메소드

public LineToIndex ( int lineNo ) : int
lineNo int
리턴 int

프로퍼티 상세

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

public static EmptySourceFile,Loyc.Syntax Default
리턴 EmptySourceFile

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

public static EmptySourceFile,Loyc.Syntax Unknown
리턴 EmptySourceFile