Token Class

Base class for YAML tokens.

public abstract class Token

Constructors

NameDescription
Token(Mark, Mark)Initializes a new instance of the Token class.

Token(Mark, Mark)

Token.cs

Initializes a new instance of the Token class.

protected Token(Mark start, Mark end)

Parameters

start Mark
The start position of the token.
end Mark
The end position of the token.

Properties

NameDescription
EndGets the end of the token in the input stream.
StartGets the start of the token in the input stream.

Gets the end of the token in the input stream.

public Mark End { get; }

Property value

Mark

Gets the start of the token in the input stream.

public Mark Start { get; }

Property value

Mark