Skip to main content

FunctionCompiler

Classes

FunctionDefinition
FunctionCompiler

Optimization structure, caches functions internally to avoid creating multiple identical functions

Constants

HASH_NOT_SET : number

Hash is an integer value, so this is an invalid value for a computed hash

FunctionDefinition

Kind: global class

new FunctionDefinition([name], body, [args])

ParamType
[name]string
bodystring
[args]Array.<string>

functionDefinition.name : string

Kind: instance property of FunctionDefinition

functionDefinition.args : Array.<string>

`

Kind: instance property of FunctionDefinition

functionDefinition.body : string

Kind: instance property of FunctionDefinition

functionDefinition.computeByteSize() ⇒ number

Kind: instance method of FunctionDefinition

functionDefinition.equals(other) ⇒ boolean

Kind: instance method of FunctionDefinition

ParamType
otherFunctionDefinition

functionDefinition.hash() ⇒ number

Kind: instance method of FunctionDefinition

HASH_NOT_SET : number

Hash is an integer value, so this is an invalid value for a computed hash

Kind: global constant