MCPcopy 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

consumeMethod · 0.95
primaryExpressionMethod · 0.95
objectLiteralMethod · 0.95
propertySetMethod · 0.95
propertyGetMethod · 0.95
functionExpressionMethod · 0.95
functionDeclarationMethod · 0.95
parameterMethod · 0.95
variableDeclarationMethod · 0.95
testIdentifiersMethod · 0.45
testNumericLiteralsMethod · 0.45
testStringLiteralsMethod · 0.45

Calls 2

isUnprintableMethod · 0.80
getDescriptionMethod · 0.80

Tested by 3

testIdentifiersMethod · 0.36
testNumericLiteralsMethod · 0.36
testStringLiteralsMethod · 0.36