Documentation
¶
Index ¶
- type Attribute
- type AttributeArg
- type ConstructorDecl
- type Decl
- type EnumDecl
- type ExportDecl
- type ExternPath
- type ExternType
- type Field
- type File
- type FlagsDecl
- type FuncDecl
- type FuncType
- type GenericType
- type ImportDecl
- type IncludeDecl
- type IncludeName
- type InlineInterface
- type IntValue
- type InterfaceDecl
- type InterfaceItem
- type Name
- type NamedType
- type Node
- type PackageDecl
- type PackagePath
- type Param
- type Path
- type PrimitiveType
- type RecordDecl
- type ResourceDecl
- type ResourceItem
- type Span
- type StringValue
- type TupleType
- type TypeDecl
- type TypeDef
- type TypeExpr
- type UseDecl
- type UseName
- type Value
- type VariantCase
- type VariantDecl
- type WorldDecl
- type WorldItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct {
Name string
Arguments []AttributeArg
SpanRange Span
}
type AttributeArg ¶
type ConstructorDecl ¶
func (*ConstructorDecl) Span ¶
func (n *ConstructorDecl) Span() Span
type ExportDecl ¶
type ExportDecl struct {
Attrs []*Attribute
ExternalID *Name
Name Name
Extern ExternType
SpanRange Span
}
func (*ExportDecl) Span ¶
func (n *ExportDecl) Span() Span
type ExternPath ¶
func (*ExternPath) Span ¶
func (n *ExternPath) Span() Span
type ExternType ¶
type ExternType interface {
Node
// contains filtered or unexported methods
}
type File ¶
type File struct {
Package *PackageDecl
Uses []*UseDecl
Decls []Decl
}
type FuncDecl ¶
type GenericType ¶
func (*GenericType) Span ¶
func (n *GenericType) Span() Span
type ImportDecl ¶
type ImportDecl struct {
Attrs []*Attribute
ExternalID *Name
Name Name
Extern ExternType
SpanRange Span
}
func (*ImportDecl) Span ¶
func (n *ImportDecl) Span() Span
type IncludeDecl ¶
type IncludeDecl struct {
Attrs []*Attribute
Path Path
Renames []IncludeName
SpanRange Span
}
func (*IncludeDecl) Span ¶
func (n *IncludeDecl) Span() Span
type IncludeName ¶
type InlineInterface ¶
type InlineInterface struct {
Items []InterfaceItem
SpanRange Span
}
func (*InlineInterface) Span ¶
func (n *InlineInterface) Span() Span
type InterfaceDecl ¶
type InterfaceDecl struct {
Attrs []*Attribute
Name Name
Items []InterfaceItem
SpanRange Span
}
func (*InterfaceDecl) Span ¶
func (n *InterfaceDecl) Span() Span
type InterfaceItem ¶
type InterfaceItem interface {
Node
// contains filtered or unexported methods
}
type PackageDecl ¶
type PackageDecl struct {
Namespace string
Name string
Version string
Attrs []*Attribute
SpanRange Span
}
func (*PackageDecl) Span ¶
func (n *PackageDecl) Span() Span
type PackagePath ¶
func (*PackagePath) Span ¶
func (n *PackagePath) Span() Span
type Path ¶
type Path struct {
Package *PackagePath
Segments []Name
SpanRange Span
}
type PrimitiveType ¶
func (*PrimitiveType) Span ¶
func (n *PrimitiveType) Span() Span
type RecordDecl ¶
func (*RecordDecl) Span ¶
func (n *RecordDecl) Span() Span
type ResourceDecl ¶
type ResourceDecl struct {
Attrs []*Attribute
Name Name
Items []ResourceItem
SpanRange Span
}
func (*ResourceDecl) Span ¶
func (n *ResourceDecl) Span() Span
type ResourceItem ¶
type ResourceItem interface {
Node
// contains filtered or unexported methods
}
type StringValue ¶
func (*StringValue) Span ¶
func (n *StringValue) Span() Span
type VariantCase ¶
type VariantDecl ¶
type VariantDecl struct {
Attrs []*Attribute
Name Name
Cases []VariantCase
SpanRange Span
}
func (*VariantDecl) Span ¶
func (n *VariantDecl) Span() Span
Click to show internal directories.
Click to hide internal directories.