MCPcopy Create free account
hub / github.com/dynjs/dynjs / call

Method call

src/main/java/org/dynjs/runtime/builtins/EncodeUri.java:30–39  ·  view source on GitHub ↗
(ExecutionContext context, Object self, Object... args)

Source from the content-addressed store, hash-verified

28 }
29
30 @Override
31 public Object call(ExecutionContext context, Object self, Object... args) {
32 String uri = Types.toString( context, args[0] );
33
34 //System.err.println( "ENCODE: " + uri );
35 String result = URLCodec.encode(context, uri, URLCodec.URI_RESERVED_SET + URLCodec.URI_UNESCAPED_SET + "#");
36 //System.err.println( "RESULT: " + result );
37
38 return result;
39 }
40
41 @Override
42 public void setFileName() {

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.95
encodeMethod · 0.95

Tested by

no test coverage detected