MCPcopy
hub / github.com/google/mangle / IsExternal

Method IsExternal

ast/decl.go:246–248  ·  view source on GitHub ↗

IsExternal returns true if this Decl is external predicate.

()

Source from the content-addressed store, hash-verified

244
245// IsExternal returns true if this Decl is external predicate.
246func (d Decl) IsExternal() bool {
247 return d.findDescr(DescrExternal, nil)
248}
249
250// Reflects returns (true, prefix) if this predicate covers ("reflects") a name prefix type.
251func (d Decl) Reflects() (Constant, bool) {

Callers 2

checkMethod · 0.80

Calls 1

findDescrMethod · 0.95

Tested by

no test coverage detected