Block type

The type of the NAME variable used in syntax: block NAME BODY

Methods

finally(b:Block, cleanup:Fun)experimental Source: stdlib.ngs:260
Add function to run before exiting the block. The functions added will be run in reverse order.
init(b:Block) Source: stdlib.ngs:209
Undocumented

Automatically called by NGS for syntax

block NAME BODY
instantiate_param_dflt(b:Block) Source: stdlib.ngs:213
Returns b
return(b:Block, val:Any=null)internal Source: stdlib.ngs:247
Undocumented

Automatically called by NGS for syntax

block NAME { NAME.return() }