Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Constructor for a Return object, representing something to be returned in a function

    Parameters

    • expr: Expression<any>

      The expression to be returned

    • Default value preWS: string = ""

      Whitespace preceding the keyword 'return'

    • Default value postWS: string = ""

      Whitespace succeeding the keyword 'return'

    Returns Return

Properties

Private expr

expr: Expression<any>

The expression to be returned

Private postWS

postWS: string

Whitespace succeeding the keyword 'return'

Accessors

ws

  • get ws(): string
  • set ws(ws: string): void

Methods

equals

eval

  • eval(scope: Scope): any

toString

  • toString(): string

Generated using TypeDoc