Token

loreline.Token (Class)

Represents a token in the source code.

Instance Members

type: Anonymous

The type of this token.


The position of this token in the source code.


toString(): String

Converts the token to a human-readable string.

Returns Description
String Formatted token information with position

new(type: Anonymous, pos: Position): Void

Creates a new token.

Name Type Description
type Anonymous The token type
pos Position The token's position

Metadata

Name Parameters
:hxGen -