All pages
Powered by GitBook
1 of 7

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Start

Property in

Gets or sets the start position of this range.

public Position Start { get; set; };

Summary

Range

Range()

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()

Summary

Remarks

Range
Range
Start
End

End

Property in

Gets or sets the end position of this range.

public Position End { get; set; };

Summary

Range

Range(int,int,int,int)

Constructor in Range

Summary

Initializes a new instance of the Range class, given start and end information.

public Range(int startLine, int startCharacter, int endLine, int endCharacter)

Parameters

Name
Description

int startLine

The zero-indexed line number of the start of the range.

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.

GetHashCode()

Method in

public override int GetHashCode()

Summary

Range

Equals(object)

Method in

Name
Description
public override bool Equals(object obj)

object obj

Summary

Parameters

Range

Range

Class in Yarn.Compiler

Inherits from System.Object

Summary

Represents a range of text in a multi-line string.

public class Range

Constructors

Name
Description

Initializes a new instance of the class.

Name
Description
Name
Description

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.

Methods

Properties

Range()
Range
Range(int,int,int,int)
Range
Equals(object)
GetHashCode()
End
Start