Options
All
  • Public
  • Public/Protected
  • All
Menu

The Token is initialized as a container open/close token later it's converted to a block and the body is assigned

Hierarchy

Index

Constructors

  • new BlockToken(token: string, position: number, file: string): BlockToken

Properties

body: LexerToken[]
file?: string
position?: number
subtype: ContainerType
token: string
type?: TokenType
Type: typeof TokenType = TokenType

Methods

  • isMacro(): boolean
  • locationString(): string
  • Get a list of identifiers referenced within the body of this block

    Returns IdToken[]

    array of identifier tokens in the body

Generated using TypeDoc