C# Class Code2Xml.Core.Location.StructuredCode

Afficher le fichier Open project: exKAZUu/Code2Xml Class Usage Examples

Méthodes publiques

Méthode Description
GetFragment ( CodeRange range ) : string
GetIndex ( CodeLocation location ) : int
GetIndex ( int line, int pos ) : int
GetLine ( int line ) : string
GetLocation ( int index ) : CodeLocation
GetLocation ( int index, CodeLocation startLocation ) : CodeLocation
GetRange ( int startIndex, int exclusiveEndIndex ) : CodeRange
StructuredCode ( string code ) : System.Collections.Generic
this ( CodeLocation location ) : char
this ( int index ) : char
this ( int line, int pos ) : char

Private Methods

Méthode Description
GetLocation ( int index, int startLine ) : CodeLocation

Method Details

GetFragment() public méthode

public GetFragment ( CodeRange range ) : string
range CodeRange
Résultat string

GetIndex() public méthode

public GetIndex ( CodeLocation location ) : int
location CodeLocation
Résultat int

GetIndex() public méthode

public GetIndex ( int line, int pos ) : int
line int
pos int
Résultat int

GetLine() public méthode

public GetLine ( int line ) : string
line int
Résultat string

GetLocation() public méthode

public GetLocation ( int index ) : CodeLocation
index int
Résultat CodeLocation

GetLocation() public méthode

public GetLocation ( int index, CodeLocation startLocation ) : CodeLocation
index int
startLocation CodeLocation
Résultat CodeLocation

GetRange() public méthode

public GetRange ( int startIndex, int exclusiveEndIndex ) : CodeRange
startIndex int
exclusiveEndIndex int
Résultat CodeRange

StructuredCode() public méthode

public StructuredCode ( string code ) : System.Collections.Generic
code string
Résultat System.Collections.Generic

this() public méthode

public this ( CodeLocation location ) : char
location CodeLocation
Résultat char

this() public méthode

public this ( int index ) : char
index int
Résultat char

this() public méthode

public this ( int line, int pos ) : char
line int
pos int
Résultat char