mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
minor doc fixes
This commit is contained in:
parent
0080e5f99f
commit
dfdce46683
@ -1,4 +1,5 @@
|
||||
// TODO: docs
|
||||
/** @module jsdoc/src/astnode */
|
||||
'use strict';
|
||||
|
||||
var Syntax = require('jsdoc/src/syntax').Syntax;
|
||||
@ -10,6 +11,7 @@ var uid = 100000000;
|
||||
/**
|
||||
* Check whether an AST node represents a function.
|
||||
*
|
||||
* @alias module:jsdoc/src/astnode.isFunction
|
||||
* @param {Object} node - The AST node to check.
|
||||
* @return {boolean} Set to `true` if the node is a function or `false` in all other cases.
|
||||
*/
|
||||
@ -20,6 +22,7 @@ var isFunction = exports.isFunction = function(node) {
|
||||
/**
|
||||
* Check whether an AST node creates a new scope.
|
||||
*
|
||||
* @alias module:jsdoc/src/astnode.isScope
|
||||
* @param {Object} node - The AST node to check.
|
||||
* @return {Boolean} Set to `true` if the node creates a new scope, or `false` in all other cases.
|
||||
*/
|
||||
@ -214,6 +217,7 @@ var isAssignment = exports.isAssignment = function(node) {
|
||||
// TODO: docs
|
||||
/**
|
||||
* Retrieve information about the node, including its name and type.
|
||||
* @alias module:jsdoc/src/astnode.getInfo
|
||||
*/
|
||||
var getInfo = exports.getInfo = function(node) {
|
||||
var info = {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user