MCPcopy Create free account
hub / github.com/brimdata/super / print

Method print

compiler/parser/parser.go:24920–24928  ·  view source on GitHub ↗
(prefix, s string)

Source from the content-addressed store, hash-verified

24918}
24919
24920func (p *parser) print(prefix, s string) string {
24921 if !p.debug {
24922 return s
24923 }
24924
24925 fmt.Printf("%s %d:%d:%d: %s [%#U]\n",
24926 prefix, p.pt.line, p.pt.col, p.pt.offset, s, p.pt.rn)
24927 return s
24928}
24929
24930func (p *parser) printIndent(mark string, s string) string {
24931 return p.print(strings.Repeat(" ", p.depth)+mark, s)

Callers 1

printIndentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected