C# 클래스 Code2Xml.Core.Location.StructuredCode

파일 보기 프로젝트 열기: exKAZUu/Code2Xml 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetLocation ( int index, int startLine ) : CodeLocation

메소드 상세

GetFragment() 공개 메소드

public GetFragment ( CodeRange range ) : string
range CodeRange
리턴 string

GetIndex() 공개 메소드

public GetIndex ( CodeLocation location ) : int
location CodeLocation
리턴 int

GetIndex() 공개 메소드

public GetIndex ( int line, int pos ) : int
line int
pos int
리턴 int

GetLine() 공개 메소드

public GetLine ( int line ) : string
line int
리턴 string

GetLocation() 공개 메소드

public GetLocation ( int index ) : CodeLocation
index int
리턴 CodeLocation

GetLocation() 공개 메소드

public GetLocation ( int index, CodeLocation startLocation ) : CodeLocation
index int
startLocation CodeLocation
리턴 CodeLocation

GetRange() 공개 메소드

public GetRange ( int startIndex, int exclusiveEndIndex ) : CodeRange
startIndex int
exclusiveEndIndex int
리턴 CodeRange

StructuredCode() 공개 메소드

public StructuredCode ( string code ) : System.Collections.Generic
code string
리턴 System.Collections.Generic

this() 공개 메소드

public this ( CodeLocation location ) : char
location CodeLocation
리턴 char

this() 공개 메소드

public this ( int index ) : char
index int
리턴 char

this() 공개 메소드

public this ( int line, int pos ) : char
line int
pos int
리턴 char