// String returns the pretty printed version of the predicate.
347673
func (p *Predicate) String() string {
	if p.anchor == nil {
		return fmt.Sprintf("%q@[]", p.id)
	}
	return fmt.Sprintf("%q@[%s]", p.id, p.anchor.Format(time.RFC3339Nano))
}
280475
func (p *Pair) String() string {
	return fmt.Sprintf("(%s:%s)", p.Key, p.Value)
}
913996
func (d *DecisionTreeRule) String() string {

	if d.SplitAttr == nil {
		return fmt.Sprintf("INVALID:DecisionTreeRule(SplitAttr is nil)")
	}

	if _, ok := d.SplitAttr.(*base.FloatAttribute); ok {
		return fmt.Sprintf("DecisionTreeRule(%s <= %f)", d.SplitAttr.GetName(), d.SplitVal)
	}
	return fmt.Sprintf("DecisionTreeRule(%s)", d.SplitAttr.GetName())
}
791291
func (s *stringSet) String() string {
	all := s.All()
	return fmt.Sprintf("%v", all)
}
776537
func (q Quad) String() string {
	return fmt.Sprintf("%v -- %v -> %v", q.Subject, q.Predicate, q.Object)
}
1213147
func (r *RegexLiteral) String() string {
	if r.Val != nil {
		return fmt.Sprintf("/%s/", strings.Replace(r.Val.String(), `/`, `\/`, -1))
	}
	return ""
}
272551
func (s *set) String() string {
	all := s.All()
	return fmt.Sprintf("%v", all)
}
994694
func (l Item) String() string {
	return fmt.Sprintf("%s (%q)", l.typ, l.val)
}
326930
func (node *Expression) String() string {
	return fmt.Sprintf("Expr{Path:%s, Pos:%d}", node.Path, node.Loc.Pos)
}
559355
func (g *Grammar) String() string {
	var buf bytes.Buffer

	buf.WriteString(fmt.Sprintf("%s: %T{Init: %v, Rules: [\n",
		g.p, g, g.Init))
	for _, r := range g.Rules {
		buf.WriteString(fmt.Sprintf("%s,\n", r))
	}
	buf.WriteString("]}")
	return buf.String()
}
426579
func (n *NFQParser) String() string {

	n.Lock()
	defer n.Unlock()

	return n.nfqStr
}
128374
func (l *LazilyFilteredInstances) String() string {
	var buffer bytes.Buffer

	// Decide on rows to print
	_, rows := l.Size()
	maxRows := 5
	if rows < maxRows {
		maxRows = rows
	}

	// Get all Attribute information
	as := ResolveAllAttributes(l)

	// Print header
	buffer.WriteString("Lazily filtered instances using ")
	buffer.WriteString(fmt.Sprintf("%s\n", l.filter))
	buffer.WriteString(fmt.Sprintf("Attributes: \n"))

	for _, a := range as {
		prefix := "\t"
		if l.classAttrs[a.attr] {
			prefix = "*\t"
		}
		buffer.WriteString(fmt.Sprintf("%s%s\n", prefix, a.attr))
	}

	buffer.WriteString("\nData:\n")
	for i := 0; i < maxRows; i++ {
		buffer.WriteString("\t")
		for _, a := range as {
			val := l.Get(a, i)
			buffer.WriteString(fmt.Sprintf("%s ", a.attr.GetStringFromSysVal(val)))
		}
		buffer.WriteString("\n")
	}

	return buffer.String()
}
223523
func (c *Counters) String() string {
	c.mu.Lock()
	defer c.mu.Unlock()
	return counterToString(c.counts)
}
1100076
func (t *ForNode) String() string {
	return fmt.Sprintf("For(%s, %s in %s: %s else %s)", t.Key, t.Val, t.X, t.Body, t.Else)
}
401089
func (l *Literal) String() string {
	return fmt.Sprintf("\"%v\"^^type:%v", l.Interface(), l.Type())
}
703562
func (r *Result) String() string {
	if r.Err != nil {
		return r.Err.Error()
	}
	return r.Message
}
1345664
func (bez *T) String() string {
	return fmt.Sprintf("%s %s %s",
		bez.P0.String(), bez.P1.String(), bez.P2.String(),
	)
}