Documentation
¶
Overview ¶
Package sourcetpye handles identification of source types and fields at the type declaration. This can be consumed downstream, e.g., by the sources package to identify source data at instantiation. This package concerns itself with ssa.Member and types.Object, as opposed to ssa.Value and ssa.Instruction more typically used in other analysis packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "sourcetypes", Doc: "This analyzer identifies types.Types values which contain dataflow sources.", Flags: config.FlagSet, Run: run, Requires: []*analysis.Analyzer{buildssa.Analyzer, fieldtags.Analyzer}, ResultType: reflect.TypeOf(new(sourceClassifier)), FactTypes: []analysis.Fact{new(typeDeclFact), new(fieldDeclFact)}, }
View Source
var Report bool
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.