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

Method String

node.go:668–677  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

666}
667
668func (s *SliceExprNode) String() string {
669 var index_string, len_string string
670 if s.Index != nil {
671 index_string = s.Index.String()
672 }
673 if s.EndIndex != nil {
674 len_string = s.EndIndex.String()
675 }
676 return fmt.Sprintf("%s[%s:%s]", s.Base, index_string, len_string)
677}
678
679type ReturnNode struct {
680 NodeBase

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected