MCPcopy Create free account
hub / github.com/expr-lang/expr / SetNature

Method SetNature

ast/node.go:55–57  ·  view source on GitHub ↗

SetNature sets the nature of the node.

(nature nature.Nature)

Source from the content-addressed store, hash-verified

53
54// SetNature sets the nature of the node.
55func (n *base) SetNature(nature nature.Nature) {
56 n.nature = nature
57}
58
59// Type returns the type of the node.
60func (n *base) Type() reflect.Type {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected