Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dynjs/dynjs
/ getText
Method
getText
src/main/java/org/dynjs/parser/js/Token.java:50–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
public
String getText() {
51
if
( this.type.isUnprintable() ) {
52
return
this.type.getDescription();
53
}
54
return
this.text;
55
}
56
57
public
boolean isSkippable() {
58
return
this.type.isSkippable();
Callers
15
consume
Method · 0.95
primaryExpression
Method · 0.95
objectLiteral
Method · 0.95
propertySet
Method · 0.95
propertyGet
Method · 0.95
functionExpression
Method · 0.95
functionDeclaration
Method · 0.95
parameter
Method · 0.95
variableDeclaration
Method · 0.95
testIdentifiers
Method · 0.45
testNumericLiterals
Method · 0.45
testStringLiterals
Method · 0.45
Calls
2
isUnprintable
Method · 0.80
getDescription
Method · 0.80
Tested by
3
testIdentifiers
Method · 0.36
testNumericLiterals
Method · 0.36
testStringLiterals
Method · 0.36