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

Method FromExpr

expr/node.go:738–744  ·  view source on GitHub ↗
(e *Expr)

Source from the content-addressed store, hash-verified

736 return &Expr{Value: m.Text}
737}
738func (m *NumberNode) FromExpr(e *Expr) error {
739 if len(e.Value) > 0 {
740 m.Text = e.Value
741 return m.load()
742 }
743 return nil
744}
745func (m *NumberNode) Equal(n Node) bool {
746 if m == nil && n == nil {
747 return true

Callers

nothing calls this directly

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected