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

Method IsSynthetic

ast/decl.go:241–243  ·  view source on GitHub ↗

IsSynthetic returns true if this Decl is synthetic (generated).

()

Source from the content-addressed store, hash-verified

239
240// IsSynthetic returns true if this Decl is synthetic (generated).
241func (d Decl) IsSynthetic() bool {
242 return d.findDescr(DescrSynthetic, nil)
243}
244
245// IsExternal returns true if this Decl is external predicate.
246func (d Decl) IsExternal() bool {

Callers 5

checkMethod · 0.80
NewFunction · 0.80
newBoundsAnalyzerFunction · 0.80
inferAndCheckBoundsMethod · 0.80
TestDeclPackageFunction · 0.80

Calls 1

findDescrMethod · 0.95

Tested by 1

TestDeclPackageFunction · 0.64