Class Method

Defined in: src/nodes/method.coffee
Inherits: Node

Overview

Public: The Node representation of a CoffeeScript method.

Instance Method Summary

Inherited Method Summary

Methods inherited from Node

.findAncestor

Constructor Details

::constructor(entity, node, lineMapping, options, comment) Source

Public: Constructs the documentation node. entity - The method's Class node - The method node (a Object) fileName - The filename (a String) lineMapping - An object mapping the actual position of a member to its Biscotto one options - The parser options (a Object) comment - The comment node (a Object)

Parameters:

  • (Class) entityThe method's Class
  • (Object) nodeThe method node (a Object)
  • (String) fileNameThe filename (a String)
  • lineMappingAn object mapping the actual position of a member to its Biscotto one
  • (Object) optionsThe parser options (a Object)
  • (Object) commentThe comment node (a Object)

Instance Method Details

Number ::getLocation() Source

Public: Get the source line number Returns a Number

Returns:

  • (Number) — Returns a Number