Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes branching action

this should only get used when it cannot be determined which branch to take at compile time

Hierarchy

Index

Constructors

Properties

_datatype?: Type
_isCompiled: boolean = false
actions: DataExpr[][]

Actions for branches

args?: Value[]
conditions: DataExpr[]

Condtions for brances

inputExprs: BranchInputExpr[]

Stack arguments

name?: string

Where results are delivered

token: LexerToken
tokens: LexerToken[]

Locations in source

type: ValueType
value: any
Type: typeof ValueType = ValueType

Accessors

  • get datatype(): Type
  • set datatype(t: Type): void
  • get expensive(): boolean
  • Would it be better to store the value in a local or inline it multiple times?

    virtual

    Returns boolean

    true if performance would improve with caching false if inlining better

Methods

  • isConstExpr(): boolean
  • typename(): string

Generated using TypeDoc