C# Class Pegasus.Expressions.CodeSpan

Tracks the contents and region of a code expression.
Show file Open project: otac0n/Pegasus Class Usage Examples

Public Methods

Method Description
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.

Method Details

CodeSpan() public method

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.
return System

ToString() public method

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