Class: Parameter
Defined in: | src/nodes/parameter.coffee |
Inherits: | Node |
Overview
A CoffeeScript method parameter
Instance Method Summary
- .constructor(node, options, optionized) Constructor Construct a parameter
- .getDefault(i = -1) Get the parameter default value
- .getName(i = -1) Get the parameter name
- .getOptionizedDefaults()
- .getSignature() Get the full parameter signature.
- .isSplat() Tests if the parameters is a splat
- .toJSON(i = -1) Get a JSON representation of the object
Inherited Method Summary
Methods inherited from Node
Constructor Details
.constructor(node, options, optionized) Source
Construct a parameter
Instance Method Details
.getDefault(i = -1) Source
Get the parameter default value
.getName(i = -1) Source
Get the parameter name
.getOptionizedDefaults() Source
.getSignature() Source
Get the full parameter signature.
.isSplat() Source
Tests if the parameters is a splat
.toJSON(i = -1) Source
Get a JSON representation of the object