Skip to content

TemmlToken

Namespace: Temml

public sealed class TemmlToken

The token returned by the lexer, with its position. Maps to the Token class in src/Token.js.

Inheritance: object

View source

public TemmlToken(string text)

Initializes a new instance of the TemmlToken class without a position.

Parameters

Name Type Description
text string

View source

public bool NoExpand { get; set; }

Set by \noexpand and \let: do not expand this token.

Value: bool

View source

public string Text { get; set; }

The text of this token.

Value: string

View source

public bool TreatAsRelax { get; set; }

Set by \noexpand: treat this token as \relax once.

Value: bool

View source

MIT · Copyright 2020 Ron Kok · unofficial community port of Temml