C# 클래스 Microsoft.Scripting.Runtime.PositionTrackingWriter

Efficiently tracks (line,column) information as text is added, and collects line mappings between the original and generated source code so we can generate correct debugging information later
상속: System.IO.StringWriter
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
GetFileMap ( ) : string>[].KeyValuePair
GetLineMap ( ) : int>[].KeyValuePair
MapLocation ( CodeLinePragma linePragma ) : void

Marks the current position of the writer as corresponding to the original location passed in

PositionTrackingWriter ( ) : System
Write ( char value ) : void
Write ( char buffer, int index, int count ) : void
Write ( string value ) : void

비공개 메소드들

메소드 설명
UpdateLineColumn ( char buffer, int index, int count ) : void
UpdateLineColumn ( string value ) : void

메소드 상세

GetFileMap() 공개 메소드

public GetFileMap ( ) : string>[].KeyValuePair
리턴 string>[].KeyValuePair

GetLineMap() 공개 메소드

public GetLineMap ( ) : int>[].KeyValuePair
리턴 int>[].KeyValuePair

MapLocation() 공개 메소드

Marks the current position of the writer as corresponding to the original location passed in
public MapLocation ( CodeLinePragma linePragma ) : void
linePragma System.CodeDom.CodeLinePragma the line pragma corresponding to the /// current position in the generated code
리턴 void

PositionTrackingWriter() 공개 메소드

public PositionTrackingWriter ( ) : System
리턴 System

Write() 공개 메소드

public Write ( char value ) : void
value char
리턴 void

Write() 공개 메소드

public Write ( char buffer, int index, int count ) : void
buffer char
index int
count int
리턴 void

Write() 공개 메소드

public Write ( string value ) : void
value string
리턴 void