Documentation
¶
Index ¶
- func ProcessDeclarations(decls []*Declarations, output_dir string, fsys fs.FileSystem)
- func WriteIndex(decl *EnumDecl, idx *EnumIndex, pos int, enums []*EnumInstance, ...)
- type CountedRelationshipDecl
- type CountedRelationshipInfo
- type Declarations
- type EnumDecl
- type EnumDeclField
- type EnumIndex
- type EnumInstance
- type EnumInstanceField
- type FieldDecl
- type GroupDecl
- type LLDecl
- type LLField
- type LLIntrinsicType
- type LLProgram
- type LLStruct
- type LLType
- type ListType
- type NodeDecl
- type NodeInfo
- type ParentRelationshipDecl
- type ParentRelationshipInfo
- type PointerType
- type ProcessEnumContext
- type Relationship
- type StructDecl
- type TreeDecl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessDeclarations ¶
func ProcessDeclarations(decls []*Declarations, output_dir string, fsys fs.FileSystem)
func WriteIndex ¶
func WriteIndex(decl *EnumDecl, idx *EnumIndex, pos int, enums []*EnumInstance, out *writer.TabbedWriter)
Types ¶
type CountedRelationshipDecl ¶
type CountedRelationshipInfo ¶
type Declarations ¶
type Declarations struct { DataSource string Package string File string Enums []*EnumDecl Trees []*TreeDecl Nodes []*NodeDecl Parents []*ParentRelationshipDecl Counted []*CountedRelationshipDecl }
type EnumDecl ¶
type EnumDecl struct { Name string Prefix string GenerateParser string Fields []*EnumDeclField Indexes []*EnumIndex Enums []*EnumInstance }
type EnumDeclField ¶
type EnumInstance ¶
type EnumInstance struct { Name string Fields []*EnumInstanceField }
type EnumInstanceField ¶
type EnumInstanceField struct { Name string Value interface{} }
type GroupDecl ¶
type GroupDecl struct { Name string Structs []*StructDecl }
type LLIntrinsicType ¶
type LLIntrinsicType struct {
Element string
}
type LLStruct ¶
type LLStruct struct { Name string Fields []*LLField Export bool PtrCache *PointerType ListCache *ListType }
type NodeInfo ¶
type NodeInfo struct { Decl *NodeDecl Impl *LLStruct Region *NodeInfo Allocated []*NodeInfo ForwardRelationships []Relationship ReverseRelationships []Relationship }
type ParentRelationshipDecl ¶
type ParentRelationshipInfo ¶
type PointerType ¶
type PointerType struct {
Element LLType
}
type ProcessEnumContext ¶
type ProcessEnumContext struct { Input fs.DataInput Output fs.DataOutput }
type Relationship ¶
type Relationship interface {
// contains filtered or unexported methods
}
type StructDecl ¶
type TreeDecl ¶
type TreeDecl struct { Dump bool Structs []*StructDecl Groups []*GroupDecl }
Click to show internal directories.
Click to hide internal directories.