MCPcopy Create free account
hub / github.com/CloudyKit/jet / String

Method String

node.go:629–638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

627}
628
629func (s *CallExprNode) String() string {
630 arguments := ""
631 for i, expr := range s.Exprs {
632 if i > 0 {
633 arguments += ", "
634 }
635 arguments += expr.String()
636 }
637 return fmt.Sprintf("%s(%s)", s.BaseExpr, arguments)
638}
639
640// TernaryExprNod represents a ternary expression,
641// ex: expression '?' expression ':' expression

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected