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

Method Expr

expr/node.go:1752–1756  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1750 }
1751}
1752func (m *UnaryNode) Expr() *Expr {
1753 fe := &Expr{Op: strings.ToLower(m.Operator.V)}
1754 fe.Args = []*Expr{m.Arg.Expr()}
1755 return fe
1756}
1757func (m *UnaryNode) FromExpr(e *Expr) error {
1758 if e.Op == "" {
1759 return fmt.Errorf("unrecognized UnaryNode no op")

Callers

nothing calls this directly

Calls 1

ExprMethod · 0.65

Tested by

no test coverage detected