Property in
Gets or sets the start position of this range.
public Position Start { get; set; };Constructor in
Initializes a new instance of the class.
The and positions will both be set to have a line and character index of -1.
public Range()Property in
Gets or sets the end position of this range.
public Position End { get; set; };int startCharacter
The zero-indexed character number of the start of the range.
int endLine
The zero-indexed line number of the end of the range.
int endCharacter
The zero-indexed character number of the end of the range.
Method in
public override int GetHashCode()Method in
public override bool Equals(object obj)object obj
Class in Yarn.Compiler
Inherits from System.Object
Represents a range of text in a multi-line string.
public class RangeInitializes a new instance of the class.
Initializes a new instance of the class, given start and end information.
Gets or sets the end position of this range.
Gets or sets the start position of this range.