MCPcopy Create free account
hub / github.com/decomp/decomp / String

Method String

cfa/seq.go:52–59  ·  view source on GitHub ↗

String returns a string representation of prim in DOT format. Example output: digraph seq { entry -> exit }

()

Source from the content-addressed store, hash-verified

50// entry -> exit
51// }
52func (prim Seq) String() string {
53 entry, exit := label(prim.Entry), label(prim.Exit)
54 const format = `
55digraph seq {
56 %v -> %v
57}`
58 return fmt.Sprintf(format[1:], entry, exit)
59}
60
61// FindSeq returns the first occurrence of a sequence of two statements in g,
62// and a boolean indicating if such a primitive was found.

Callers

nothing calls this directly

Calls 1

labelFunction · 0.70

Tested by

no test coverage detected