MCPcopy Create free account
hub / github.com/mozilla/rhino / setJsDocNode

Method setJsDocNode

rhino/src/main/java/org/mozilla/javascript/Node.java:194–196  ·  view source on GitHub ↗

Sets the JsDoc comment string attached to this node.

(Comment jsdocNode)

Source from the content-addressed store, hash-verified

192
193 /** Sets the JsDoc comment string attached to this node. */
194 public void setJsDocNode(Comment jsdocNode) {
195 putProp(JSDOC_PROP, jsdocNode);
196 }
197
198 public boolean hasChildren() {
199 return first != null;

Callers 9

parseFunctionParamsMethod · 0.80
functionMethod · 0.80
arrowFunctionMethod · 0.80
tryStatementMethod · 0.80
withStatementMethod · 0.80
variablesMethod · 0.80
assignExprMethod · 0.80
parenExprMethod · 0.80
objectLiteralMethod · 0.80

Calls 1

putPropMethod · 0.95

Tested by

no test coverage detected