Class TokenPaths

A token with multiple paths.

This token is used to hold dereferenced path information.

Hierarchy

  • TokenPaths

Implements

Constructors

Properties

_isATokenPaths: true = true

Flag used to identify a token paths object.

paths: string[]

The token text value.

type: TokenType = TokenType.paths

The token type.

Methods

  • Returns true if the type matches this token's type.

    Parameters

    Returns boolean

    True if the type matches.

  • Returns {
        type: string;
        [prop: string]: string | string[] | HaysonVal;
    }

    A JSON representation of the token.

    • [prop: string]: string | string[] | HaysonVal
    • type: string

Generated using TypeDoc