C# 클래스 Pegasus.Expressions.CodeSpan

Tracks the contents and region of a code expression.
파일 보기 프로젝트 열기: otac0n/Pegasus 1 사용 예제들

공개 메소드들

메소드 설명
CodeSpan ( string code, Cursor start, Cursor end, string value = null ) : System

Initializes a new instance of the CodeSpan class.

ToString ( ) : string

Returns the string value of this CodeSpan.

메소드 상세

CodeSpan() 공개 메소드

Initializes a new instance of the CodeSpan class.
public CodeSpan ( string code, Cursor start, Cursor end, string value = null ) : System
code string The string contents of the code span.
start Cursor The start of the code region.
end Cursor The end of the code region.
value string The value of the code span.
리턴 System

ToString() 공개 메소드

Returns the string value of this CodeSpan.
public ToString ( ) : string
리턴 string