We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb19bc4 commit 0e209b8Copy full SHA for 0e209b8
dsl/dsl.go
@@ -200,6 +200,9 @@ type TypesObject struct{}
200
// See https://golang.org/pkg/go/types/.
201
func (TypesObject) Is(typ string) bool { return boolResult }
202
203
+// IsGlobal reports whether an associated types.Object is defined in global scope.
204
+func (TypesObject) IsGlobal() bool { return boolResult }
205
+
206
// ExprType describes a type of a matcher expr.
207
type ExprType struct {
208
// Size represents expression type size in bytes.
0 commit comments