Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
transformCompilationUnit_r
Method · 0.95
visitLet
Method · 0.95
transformTemplateLiteral
Method · 0.95
transformString
Method · 0.95
createString
Method · 0.95
initFunction
Method · 0.95
createForIn
Method · 0.95
createUnary
Method · 0.95
createPropertyGet
Method · 0.95
createAssignment
Method · 0.95
destructuringAssignmentHelper
Method · 0.95
destructuringArray
Method · 0.95
Calls
2
setIdentifier
Method · 0.95
setType
Method · 0.45
Tested by
no test coverage detected