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
- FunctionDefinition
- new FunctionDefinition([name], body, [args])
- .name :
string
- .args :
Array.<string>
- .body :
string
- .computeByteSize() ⇒
number
- .equals(other) ⇒
boolean
- .hash() ⇒
number
new FunctionDefinition([name], body, [args])
Param | Type |
---|---|
[name] | string |
body | string |
[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
Param | Type |
---|---|
other | FunctionDefinition |
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