()
| 1974 | } |
| 1975 | } |
| 1976 | func (m *ArrayNode) Expr() *Expr { |
| 1977 | fe := &Expr{} |
| 1978 | if len(m.Args) > 0 { |
| 1979 | fe.Args = ExprsFromNodes(m.Args) |
| 1980 | } |
| 1981 | return fe |
| 1982 | } |
| 1983 | func (m *ArrayNode) FromExpr(e *Expr) error { |
| 1984 | if len(e.Op) > 0 { |
| 1985 | return fmt.Errorf("Unrecognized expression %+v", e) |
nothing calls this directly
no test coverage detected