C# Class 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.
Inheritance: ISourceFile
Afficher le fichier Open project: qwertie/ecsharp

Méthodes publiques

Свойство Type Description
Default EmptySourceFile
Unknown EmptySourceFile

Méthodes publiques

Méthode Description
EmptySourceFile ( string fileName ) : System
IndexToLine ( int index ) : SourcePos
LineToIndex ( LineAndCol pos ) : int
LineToIndex ( int lineNo ) : int

Method Details

EmptySourceFile() public méthode

public EmptySourceFile ( string fileName ) : System
fileName string
Résultat System

IndexToLine() public méthode

public IndexToLine ( int index ) : SourcePos
index int
Résultat SourcePos

LineToIndex() public méthode

public LineToIndex ( LineAndCol pos ) : int
pos LineAndCol
Résultat int

LineToIndex() public méthode

public LineToIndex ( int lineNo ) : int
lineNo int
Résultat int

Property Details

Default public_oe static_oe property

public static EmptySourceFile,Loyc.Syntax Default
Résultat EmptySourceFile

Unknown public_oe static_oe property

public static EmptySourceFile,Loyc.Syntax Unknown
Résultat EmptySourceFile