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

Method setType

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

Sets the node type and returns this node.

(int type)

Source from the content-addressed store, hash-verified

164
165 /** Sets the node type and returns this node. */
166 public Node setType(int type) {
167 this.type = type;
168 return this;
169 }
170
171 /**
172 * Gets the JsDoc comment string attached to this node.

Callers 15

createNameMethod · 0.95
simpleAssignmentMethod · 0.95
visitLetMethod · 0.45
newStringMethod · 0.45
transformDoLoopMethod · 0.45
transformForInLoopMethod · 0.45
transformForLoopMethod · 0.45
transformFunctionMethod · 0.45
transformWhileLoopMethod · 0.45
createForMethod · 0.45
createUnaryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected