Class Class
Defined in: | src/nodes/class.coffee |
Inherits: | Node |
Overview
Public: The Node representation of a CoffeeScript class.
Subclasses
Instance Method Summary
- String ::getClassName() Get the full class name
- ::getDoc() Get the class doc
- String ::getFileName() Get the source file name.
- String ::getFullName() Alias for ::getClassName
- Number ::getLocation() Get the source line number
- Array ::getMethods() Get all methods.
- String ::getName() Get the class name
- String ::getNamespace() Get the class namespace
- String ::getParentClassName() Get the full parent class name
- Array ::getVariables() Get all variables.
- Object ::toJSON() Get a JSON representation of the object
Inherited Method Summary
Methods inherited from Node
Instance Method Details
::getDoc() Source
Public: Get the class doc
Returns the class doc (a [Doc])
String ::getFileName() Source
Public: Get the source file name.
Returns the filename of the class (a String)
String ::getFullName() Source
Public: Alias for ::getClassName
Returns the full class name (a String)