MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / order

Method order

types/object.go:37–37  ·  view source on GitHub ↗

order reflects a package-level object's source order: if object a is before object b in the source, then a.order() < b.order(). order returns a value > 0 for package-level objects; it returns 0 for all other objects (including objects in file scopes).

()

Source from the content-addressed store, hash-verified

35 // order returns a value > 0 for package-level objects; it returns
36 // 0 for all other objects (including objects in file scopes).
37 order() uint32
38
39 // color returns the object's color.
40 color() color

Callers 3

LessMethod · 0.65
initOrderMethod · 0.65
LessMethod · 0.65

Implementers 2

objecttypes/object.go
lazyObjecttypes/scope.go

Calls

no outgoing calls

Tested by

no test coverage detected