Documentation
¶
Index ¶
- type AnnotatedComponent
- type BasicLit
- type CompositeLit
- type ConstrainingFacet
- type Decl
- type Expr
- type Field
- type File
- type FundamentalFacet
- type Generator
- type Group
- type ImportDecl
- type KeyValueExpr
- type LitKind
- type Name
- type Node
- type PointerType
- type SliceType
- type StructType
- type TypeDecl
- type TypeDefinition
- type VarDecl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotatedComponent ¶
type AnnotatedComponent interface {
// contains filtered or unexported methods
}
type CompositeLit ¶
type CompositeLit struct { Type Expr // nil means no literal type ElemList []Expr NKeys int // number of elements with keys // contains filtered or unexported fields }
Type { ElemList[0], ElemList[1], ... }
type ConstrainingFacet ¶
type ConstrainingFacet interface {
// contains filtered or unexported methods
}
type Decl ¶
type Decl interface { Node // contains filtered or unexported methods }
----------------------------------- Declarations
type Field ¶
type Field struct { Name *Name // nil means anonymous field/parameter (structs/parameters), or embedded interface (interfaces) Type Expr // field names declared in a list share the same Type (identical pointers) Tags map[string]string // contains filtered or unexported fields }
Name Type
Type
type FundamentalFacet ¶
type FundamentalFacet interface {
// contains filtered or unexported methods
}
type Generator ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
All declarations belonging to the same group point to the same Group node.
type ImportDecl ¶
type ImportDecl struct { LocalPkgName *Name Path *BasicLit Group *Group // nil means not part of a group // contains filtered or unexported fields }
----------------------------------- Declarations
type KeyValueExpr ¶
type KeyValueExpr struct {
Key, Value Expr
// contains filtered or unexported fields
}
Key: Value
type PointerType ¶
type PointerType struct { Elem Expr // contains filtered or unexported fields }
*Elem
type SliceType ¶
type SliceType struct { Elem Expr // contains filtered or unexported fields }
[]Elem
type StructType ¶
type StructType struct { FieldList []*Field // contains filtered or unexported fields }
struct { FieldList[0] TagList[0]; FieldList[1] TagList[1]; ... }
type TypeDecl ¶
type TypeDecl struct { Name *Name Alias bool Type Expr Group *Group // nil means not part of a group // contains filtered or unexported fields }
----------------------------------- Declarations
type TypeDefinition ¶
type TypeDefinition interface {
// contains filtered or unexported methods
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.