CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Class Scope

A scope.

Import path

import semmle.go.Scopes

Direct supertypes

Known direct subtypes

Predicates

getAnInnerScope

Gets a scope nested inside this scope.

getEntity

Looks up the entity with the given name in this scope.

getOuterScope

Gets the enclosing scope of this scope, if any.

toString

Gets a textual representation of this scope.