MCPcopy Index your code
hub / github.com/antlr/codebuff / writeObjectNoOptions

Method writeObjectNoOptions

output/java8/1.4.15/Interpreter.java:635–647  ·  view source on GitHub ↗

Write out an expression result that doesn't use expression options. E.g.,

(STWriter out, InstanceScope scope, Object o)

Source from the content-addressed store, hash-verified

633 */
634
635 protected int writeObjectNoOptions(STWriter out, InstanceScope scope, Object o) {
636 int start = out.index(); // track char we're about to write
637 int n = writeObject(out, scope, o, null);
638 if ( debug ) {
639 EvalExprEvent e = new EvalExprEvent(scope,
640 start,
641 out.index()-1,
642 getExprStartChar(scope),
643 getExprStopChar(scope));
644 trackDebugEvent(scope, e);
645 }
646 return n;
647 }
648
649 /** Write out an expression result that uses expression options.
650 * E.g., {@code <names; separator=", ">}

Callers 2

_execMethod · 0.95
toStringMethod · 0.95

Calls 5

writeObjectMethod · 0.95
getExprStartCharMethod · 0.95
getExprStopCharMethod · 0.95
trackDebugEventMethod · 0.95
indexMethod · 0.65

Tested by

no test coverage detected