Class: VirtualMethod
Defined in: | src/nodes/virtual_method.coffee |
Inherits: | Node |
Overview
A virtual method that has been declared by the @method
tag.
Instance Method Summary
- .constructor(entity, doc, options) Constructor Construct a virtual method
- .getCoffeeScriptSource() Get the method source in CoffeeScript
- .getDoc() Get the class doc
- .getJavaScriptSource() Get the method source in JavaScript
- .getName() Get the method name
- .getParameters() Get the method parameters
- .getShortSignature() Get the short method signature.
- .getSignature() Get the full method signature.
-
.getType()
Get the method type, either
class
,instance
ormixin
. - .toJSON() Get a JSON representation of the object
Inherited Method Summary
Methods inherited from Node
Constructor Details
.constructor(entity, doc, options) Source
Construct a virtual method
Instance Method Details
.getCoffeeScriptSource() Source
Get the method source in CoffeeScript
.getDoc() Source
Get the class doc
.getJavaScriptSource() Source
Get the method source in JavaScript
.getName() Source
Get the method name
.getParameters() Source
Get the method parameters
.getShortSignature() Source
Get the short method signature.
.getSignature() Source
Get the full method signature.
.getType() Source
Get the method type, either class
, instance
or mixin
.
.toJSON() Source
Get a JSON representation of the object