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

Class TypeSetTerm

A term in a type set literal.

Examples:

int
~string

Import path

import semmle.go.Types

Direct supertypes

Fields

Predicates

getType

Gets the type of this term.

hasTilde

Holds if this term has a tilde in front of it.

includesType

Holds if t is in the type set of this term.

pp

Gets a pretty-printed representation of this term.

toString

Gets a textual representation of this element.

Charpred