Class: Class
Defined in: | src/nodes/class.coffee |
Inherits: | Node |
Overview
A CoffeeScript class
Direct Known Subclasses
Instance Method Summary
- .constructor(node, fileName, lineMapping, options, comment) Constructor Construct a class
- .getClassName() Get the full class name
- .getDoc() Get the class doc
- .getFileName() Get the source file name.
- .getFullName() Alias for {#getClassName}
- Number .getLocation() Get the source line number
- .getMethods() Get all methods.
- .getName() Get the class name
- .getNamespace() Get the class namespace
- .getParentClassName() Get the full parent class name
- .getVariables() Get all variables.
- Object .toJSON() Get a JSON representation of the object
Inherited Method Summary
Methods inherited from Node
Constructor Details
.constructor(node, fileName, lineMapping, options, comment) Source
Construct a class
Instance Method Details
.getClassName() Source
Get the full class name
.getDoc() Source
Get the class doc
.getFileName() Source
Get the source file name.
.getFullName() Source
Alias for {#getClassName}
Number .getLocation() Source
Get the source line number
.getMethods() Source
Get all methods.
.getName() Source
Get the class name
.getNamespace() Source
Get the class namespace
.getParentClassName() Source
Get the full parent class name
.getVariables() Source
Get all variables.
Object .toJSON() Source
Get a JSON representation of the object