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

Method newString

rhino/src/main/java/org/mozilla/javascript/Node.java:150–152  ·  view source on GitHub ↗
(String str)

Source from the content-addressed store, hash-verified

148 }
149
150 public static Node newString(String str) {
151 return newString(Token.STRING, str);
152 }
153
154 public static Node newString(int type, String str) {
155 Name name = new Name();

Callers 15

visitLetMethod · 0.95
transformStringMethod · 0.95
createStringMethod · 0.95
initFunctionMethod · 0.95
createForInMethod · 0.95
createUnaryMethod · 0.95
createPropertyGetMethod · 0.95
createAssignmentMethod · 0.95
destructuringArrayMethod · 0.95

Calls 2

setIdentifierMethod · 0.95
setTypeMethod · 0.45

Tested by

no test coverage detected