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

Method addStatement

rhino/src/main/java/org/mozilla/javascript/ast/Block.java:36–38  ·  view source on GitHub ↗

Alias for #addChild.

(AstNode statement)

Source from the content-addressed store, hash-verified

34
35 /** Alias for {@link #addChild}. */
36 public void addStatement(AstNode statement) {
37 addChild(statement);
38 }
39
40 @Override
41 public String toSource(int depth) {

Callers 1

parseFunctionBodyMethod · 0.95

Calls 1

addChildMethod · 0.80

Tested by

no test coverage detected