MCPcopy
hub / github.com/gopherjs/gopherjs / Decl

Interface Decl

compiler/internal/dce/collector.go:10–12  ·  view source on GitHub ↗

Decl is any code declaration that has dead-code elimination (DCE) information attached to it.

Source from the content-addressed store, hash-verified

8// Decl is any code declaration that has dead-code elimination (DCE)
9// information attached to it.
10type Decl interface {
11 Dce() *Info
12}
13
14// Collector is a tool to collect dependencies for a declaration
15// that'll be used in dead-code elimination (DCE).

Callers 6

IncludeMethod · 0.65
AliveDeclsMethod · 0.65
Test_Selector_JustVarsFunction · 0.65
depCountFunction · 0.65
CollectDCEDepsMethod · 0.65

Implementers 2

Declcompiler/decls.go
testDeclcompiler/internal/dce/dce_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…