Documentation ¶
Index ¶
- func StringifyItem(item debug.Item) string
- func StringifyItemFull(item debug.Item) string
- type AnnSetDebugOpt
- type AnnotationOpt
- type AnnotationType
- type Annotator
- type AnnotatorSet
- type Cmd
- type CommentWithNode
- type Ctx
- type DebugExpr
- type FilesToAnnotate
- type Flags
- type ItemStringifier
- type StmtsIter
- type TType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringifyItem ¶
func StringifyItemFull ¶
Types ¶
type AnnSetDebugOpt ¶ added in v1.3.7
type AnnotationOpt ¶ added in v1.1.0
type AnnotationType ¶
type AnnotationType int
const ( // Order matters, last is the bigger set AnnotationTypeNone AnnotationType = iota AnnotationTypeOff AnnotationTypeBlock AnnotationTypeFile AnnotationTypeImport // annotates set of files (importspec) AnnotationTypePackage // annotates set of files AnnotationTypeModule // annotates set of packages )
func AnnotationTypeInString ¶ added in v1.1.0
func AnnotationTypeInString(s string) (AnnotationType, string, error)
type Annotator ¶
type Annotator struct {
// contains filtered or unexported fields
}
func NewAnnotator ¶
func (*Annotator) AnnotateAstFile ¶
type AnnotatorSet ¶
type AnnotatorSet struct {
// contains filtered or unexported fields
}
func NewAnnotatorSet ¶
func NewAnnotatorSet(fset *token.FileSet) *AnnotatorSet
func (*AnnotatorSet) AnnotateAstFile ¶
type Cmd ¶
type CommentWithNode ¶ added in v1.3.3
type FilesToAnnotate ¶ added in v1.3.3
type FilesToAnnotate struct {
// contains filtered or unexported fields
}
func NewFilesToAnnotate ¶ added in v1.3.3
func NewFilesToAnnotate(cmd *Cmd) *FilesToAnnotate
func (*FilesToAnnotate) GoModFilename ¶ added in v1.3.3
func (fa *FilesToAnnotate) GoModFilename() (string, bool)
type ItemStringifier ¶
type ItemStringifier struct {
// contains filtered or unexported fields
}
func NewItemStringifier ¶ added in v1.3.3
func NewItemStringifier() *ItemStringifier
Source Files ¶
Click to show internal directories.
Click to hide internal directories.