NodeInfo Class

Defined in: packages/megadoc-plugin-js/lib/Parser/NodeAnalyzer__NodeInfo.js

Constructor Documentation

NodeInfo(node: recast.ast, filePath: String)

Parameters (2)

node
recast.ast

The AST node we represent.

filePath
String

Instance Method Documentation

    markAsModule()

    Mark the module represented by this NodeInfo as a module. This can be used by plugins to adjust the module status of objects.