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

Method Location

ast/node.go:40–42  ·  view source on GitHub ↗

Location returns the location of the node in the source code.

()

Source from the content-addressed store, hash-verified

38
39// Location returns the location of the node in the source code.
40func (n *base) Location() file.Location {
41 return n.loc
42}
43
44// SetLocation sets the location of the node in the source code.
45func (n *base) SetLocation(loc file.Location) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected