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

Class BuiltinEntity

A built-in entity (that is, type, constant or function).

Import path

import semmle.go.Scopes

Direct supertypes

Indirect supertypes

Known direct subtypes

Inherited predicates

getAReference

Gets a reference to this entity.

from Entity
getDeclaration

Gets the declaring identifier for this entity.

from Entity
getName

Gets the name of this entity.

from Entity
getPackage

Gets the package in which this entity is declared, if any.

from Entity
getQualifiedName

Gets the qualified name of this entity, if any.

from Entity
getScope

Gets the scope in which this entity is declared, if any.

from Entity
getType

Gets the type of this entity.

from Entity
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from Entity
hasQualifiedName

Holds if this entity is declared in a package with path pkg and has the given name.

from Entity
toString

Gets a textual representation of this entity.

from Entity