Hierarchy

  • StiFunction

Implements

Index

Constructors

constructor

  • new StiFunction(category: string, groupFunctionName: string, functionName: string, description: string, typeOfFunction: string, returnType: Type, returnDescription?: string, argumentTypes?: Type[], argumentNames?: string[], argumentDescriptions?: string[]): StiFunction
  • Parameters

    • category: string
    • groupFunctionName: string
    • functionName: string
    • description: string
    • typeOfFunction: string
    • returnType: Type
    • Default value returnDescription: string = ""
    • Default value argumentTypes: Type[] = null
    • Default value argumentNames: string[] = null
    • Default value argumentDescriptions: string[] = null

    Returns StiFunction

Properties

category

category: string = ""

description

description: string = ""

functionName

functionName: string = ""

groupFunctionName

groupFunctionName: string = ""

jsFunction

jsFunction: Function

key

key: string = StiKeyHelper.generateKey()

returnDescription

returnDescription: string = ""

returnType

returnType: Type = null

typeOfFunction

typeOfFunction: string = null

useFullPath

useFullPath: boolean = true

Accessors

argumentDescriptions

  • get argumentDescriptions(): string[]
  • set argumentDescriptions(value: string[]): void
  • Returns string[]

  • Parameters

    • value: string[]

    Returns void

argumentNames

  • get argumentNames(): string[]
  • set argumentNames(value: string[]): void
  • Returns string[]

  • Parameters

    • value: string[]

    Returns void

argumentTypes

  • get argumentTypes(): Type[]
  • set argumentTypes(value: Type[]): void
  • Returns Type[]

  • Parameters

    Returns void

Methods

as

  • Type parameters

    • T

    Parameters

    Returns T

compareTo

convertTypeToString

getFunctionString

  • Parameters

    Returns string

getKey

  • getKey(): string

getLongFunctionString

getName

  • getName(): string

implements

  • implements(): any[]
  • Returns any[]

invoke

  • invoke(args: List<any>): any

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

  • is2<T>(type: object | Interface<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

setKey

  • setKey(key: string): void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc