Position

Class in Yarn.Compiler

Inherits from System.Object

Summary

Represents a position in a multi-line string.

public class Position

Methods

Properties

Name
Description

Gets or sets the zero-indexed character number of this position.

Gets a value indicating whether this position has a zero or positive line and character number.

Gets or sets the zero-indexed line of this position.

TYPENAME_UNKNOWN_PLURAL

Name
Description

Compares two positions and returns true if a is equal to or after b .

Compares two positions and returns true if a is equal to or before b .

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.