MCPcopy Index your code
hub / github.com/goccy/go-json / newRecursiveCode

Function newRecursiveCode

internal/encoder/opcode.go:742–752  ·  view source on GitHub ↗
(ctx *compileContext, typ *runtime.Type, jmp *CompiledCode)

Source from the content-addressed store, hash-verified

740}
741
742func newRecursiveCode(ctx *compileContext, typ *runtime.Type, jmp *CompiledCode) *Opcode {
743 return &Opcode{
744 Op: OpRecursive,
745 Type: typ,
746 Idx: opcodeOffset(ctx.ptrIndex),
747 Next: newEndOp(ctx, typ),
748 DisplayIdx: ctx.opcodeIndex,
749 Indent: ctx.indent,
750 Jmp: jmp,
751 }
752}

Callers 2

ToOpcodeMethod · 0.85
ToAnonymousOpcodeMethod · 0.85

Calls 2

opcodeOffsetFunction · 0.85
newEndOpFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…