Options
All
  • Public
  • Public/Protected
  • All
Menu

A macro that is created internally by the compiler

Hierarchy

Index

Constructors

Properties

_datatype: ArrowType = null
override
name?: string
recursive: boolean = false

Did the user flag this macro as recursive?

token: LexerToken
type: Macro = value.ValueType.Macro
value: undefined
Type: typeof ValueType = ValueType

Accessors

  • get expensive(): boolean

Methods

  • checkInputs(stack: Value[]): boolean
  • Typecheck inputs to this macro

    Parameters

    • stack: Value[]

      stack at point of invocation

    Returns boolean

    false if invalid true otherwise

  • isConstExpr(): boolean
  • This is emulating the behavior of Expr.out

    Parameters

    • ctx: default

      compilation context

    • Optional fun: FunExpr

      function export body

    Returns string

  • toString(): string
  • typename(): string

Generated using TypeDoc