MCPcopy
hub / github.com/google/mtail / UnaryExpr

Struct UnaryExpr

internal/runtime/compiler/ast/ast.go:158–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158type UnaryExpr struct {
159 P position.Position // pos is the position of the op
160 Expr Node
161 Op int
162
163 typMu sync.RWMutex
164 typ types.Type
165}
166
167func (n *UnaryExpr) Pos() *position.Position {
168 return position.Merge(&n.P, n.Expr.Pos())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected