Class DeclaredTypeEntity
A named type which has a declaration.
Import path
import semmle.go.ScopesDirect supertypes
Indirect supertypes
Predicates
| getSpec | Gets the declaration specifier declaring this type. |
Inherited predicates
| getAReference | Gets a reference to this entity. | from Entity |
| getDeclaration | Gets the declaring identifier for this entity, if any. | from Entity |
| getInit | Gets the expression to which this entity is initialized, if any. | from DeclaredEntity |
| getLocation | Gets the location of 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 | DEPRECATED: Use | from Entity |
| hasQualifiedName | Holds if this entity is declared in a package with path | from Entity |
| toString | Gets a textual representation of this entity. | from Entity |