Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
Itab *ImportsTab
}
type ImportsTab ¶
type ImportsTab struct {
// contains filtered or unexported fields
}
func NewImportsTab ¶
func NewImportsTab(initial map[string]string) *ImportsTab
func (*ImportsTab) EnterScope ¶
func (itab *ImportsTab) EnterScope()
func (*ImportsTab) LeaveScope ¶
func (itab *ImportsTab) LeaveScope()
func (*ImportsTab) Load ¶
func (itab *ImportsTab) Load(pkgName, pkgPath string)
type MatcherState ¶ added in v0.3.16
type MatcherState struct {
// contains filtered or unexported fields
}
func NewMatcherState ¶ added in v0.3.16
func NewMatcherState() *MatcherState
type Pattern ¶
type Pattern struct {
// contains filtered or unexported fields
}
func (*Pattern) MatchIdentical ¶
func (p *Pattern) MatchIdentical(state *MatcherState, typ types.Type) bool
MatchIdentical returns true if the go typ matches pattern p.
Click to show internal directories.
Click to hide internal directories.