C# Class Pegasus.Expressions.CodeSpan

Tracks the contents and region of a code expression.
Afficher le fichier Open project: otac0n/Pegasus Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

ToString() public méthode

Returns the string value of this CodeSpan.
public ToString ( ) : string
Résultat string