MCPcopy Create free account
hub / github.com/araddon/qlbridge / Validate

Method Validate

expr/node.go:1594–1601  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1592func (m *TriNode) Collapse() Node { return m }
1593func (m *TriNode) Negated() bool { return m.negated }
1594func (m *TriNode) Validate() error {
1595 for _, n := range m.Args {
1596 if err := n.Validate(); err != nil {
1597 return err
1598 }
1599 }
1600 return nil
1601}
1602func (m *TriNode) ChildrenArgs() []Node {
1603 return m.Args
1604}

Callers

nothing calls this directly

Calls 1

ValidateMethod · 0.65

Tested by

no test coverage detected