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