Class: VirtualMethod
Defined in: | src/nodes/virtual_method.coffee |
Inherits: | Node |
Overview
The Node representation of a CoffeeScript virtual method that has
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)
Construct a virtual method node.
Instance Method Details
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
or mixin
.
Object .toJSON()
Get a JSON representation of the object