Documentation ¶
Index ¶
- func FromRoot(name, version string, noFormat bool)
- type Alias
- type Aliases
- type Array
- type CInclude
- type CIncludes
- type Callback
- type Callbacks
- type Class
- type Classes
- type Constant
- type Constants
- type Constructor
- type Constructors
- type Doc
- type Enumeration
- type Enumerations
- type Field
- type Fields
- type Function
- type Functions
- type Generatable
- type Generatables
- type Gir
- type Implements
- type Implementss
- type Include
- type Interface
- type Interfaces
- type Member
- type Members
- type Method
- type Methods
- type Namespace
- type Package
- type Parameter
- type Parameters
- type QName
- type Record
- type RecordEqualFunc
- type RecordNewFromCFunc
- type RecordToCFunc
- type Records
- type Repository
- type ReturnValue
- type Signal
- type Signals
- type Type
- type TypeGenerator
- type TypeGeneratorArgcArgv
- type TypeGeneratorBoolean
- type TypeGeneratorEnumeration
- type TypeGeneratorIgnore
- type TypeGeneratorInterface
- type TypeGeneratorNumber
- type TypeGeneratorPanic
- type TypeGeneratorRecord
- type TypeGeneratorString
- type Version
- type VersionLister
- type Versioned
- type Versions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Array ¶
type Array struct { Namespace *Namespace Type *Type `xml:"type"` CType string `xml:"http://www.gtk.org/introspection/c/1.0 type,attr"` FixedSize *int `xml:"fixed-size,attr"` Length *int `xml:"length,attr"` ZeroTerminated string `xml:"zero-terminated,attr"` // contains filtered or unexported fields }
type Class ¶
type Class struct { *Record Implements Implementss `xml:"implements"` }
type Constant ¶
type Constant struct { Namespace *Namespace Name string `xml:"name,attr"` Blacklist bool `xml:"blacklist,attr"` Value string `xml:"value,attr"` Version string `xml:"version,attr"` CType string `xml:"http://www.gtk.org/introspection/c/1.0 type,attr"` Doc *Doc `xml:"doc"` Type *Type `xml:"type"` // contains filtered or unexported fields }
type Constructor ¶
type Constructor struct {
*Function
}
type Constructors ¶
type Constructors []*Constructor
type Enumeration ¶
type Enumeration struct { Namespace *Namespace Name string `xml:"name,attr"` Blacklist bool `xml:"blacklist,attr"` GoTypeName string `xml:"goname,attr"` // used in addenda files Version string `xml:"version,attr"` CType string `xml:"http://www.gtk.org/introspection/c/1.0 type,attr"` GlibTypeName string `xml:"http://www.gtk.org/introspection/glib/1.0 type-name,attr"` GlibGetType string `xml:"http://www.gtk.org/introspection/glib/1.0 get-type,attr"` Doc *Doc `xml:"doc"` Members Members `xml:"member"` Functions Functions `xml:"function"` // contains filtered or unexported fields }
type Enumerations ¶
type Enumerations []*Enumeration
type Function ¶
type Function struct { Namespace *Namespace Name string `xml:"name,attr"` Blacklist bool `xml:"blacklist,attr"` GoName string `xml:"goname,attr"` Version string `xml:"version,attr"` MovedTo string `xml:"moved-to,attr"` CIdentifier string `xml:"http://www.gtk.org/introspection/c/1.0 identifier,attr"` Deprecated int `xml:"deprecated,attr"` DeprecatedVersion string `xml:"deprecated-version,attr"` Doc *Doc `xml:"doc"` InstanceParameter *Parameter `xml:"parameters>instance-parameter"` Parameters Parameters `xml:"parameters>parameter"` ReturnValue *ReturnValue `xml:"return-value"` Throws int `xml:"throws,attr"` Introspectable string `xml:"introspectable,attr"` // contains filtered or unexported fields }
type Generatable ¶
type Generatable interface { Versioned // contains filtered or unexported methods }
type Generatables ¶
type Generatables interface { VersionLister // contains filtered or unexported methods }
type Implements ¶
type Implementss ¶
type Implementss []*Implements
type Interfaces ¶
type Interfaces []*Interface
type Member ¶
type Member struct { Namespace *Namespace Name string `xml:"name,attr"` Blacklist bool `xml:"blacklist,attr"` Value int `xml:"value,attr"` CIdentifier string `xml:"http://www.gtk.org/introspection/c/1.0 identifier,attr"` GlibNick string `xml:"http://www.gtk.org/introspection/glib/1.0 nick,attr"` Doc *Doc `xml:"doc"` // contains filtered or unexported fields }
type Namespace ¶
type Namespace struct { Blacklist bool `xml:"blacklist,attr"` Name string `xml:"name,attr"` Version string `xml:"version,attr"` CDocPath string `xml:"c-doc-path,attr"` CIdentifierPrefixes string `xml:"http://www.gtk.org/introspection/c/1.0 identifier-prefixes,attr"` CSymbolPrefixes string `xml:"http://www.gtk.org/introspection/c/1.0 symbol-prefixes,attr"` Aliases Aliases `xml:"alias"` Bitfields Enumerations `xml:"bitfield"` Callbacks Callbacks `xml:"callback"` Classes Classes `xml:"class"` Constants Constants `xml:"constant"` Enumerations Enumerations `xml:"enumeration"` Functions Functions `xml:"function"` Records Records `xml:"record"` Interfaces Interfaces `xml:"interface"` // contains filtered or unexported fields }
type Parameter ¶
type Parameter struct { Namespace *Namespace Name string `xml:"name,attr"` Direction string `xml:"direction,attr"` TransferOwnership string `xml:"transfer-ownership,attr"` Nullable bool `xml:"nullable,attr"` AllowNone bool `xml:"allow-none,attr"` Doc *Doc `xml:"doc"` Type *Type `xml:"type"` Array *Array `xml:"array"` Varargs *struct{} `xml:"varargs"` // contains filtered or unexported fields }
type Parameters ¶
type Parameters []*Parameter
type Record ¶
type Record struct { Namespace *Namespace Blacklist bool `xml:"blacklist,attr"` FieldsPrivate bool `xml:"fieldsPrivate,attr"` Name string `xml:"name,attr"` GoName string `xml:"goname,attr"` Version string `xml:"version,attr"` CSymbolPrefix string `xml:"http://www.gtk.org/introspection/c/1.0 symbol-prefix,attr"` CType string `xml:"http://www.gtk.org/introspection/c/1.0 type,attr"` ParentName string `xml:"parent,attr"` GlibTypeName string `xml:"http://www.gtk.org/introspection/glib/1.0 type-name,attr"` GlibGetType string `xml:"http://www.gtk.org/introspection/glib/1.0 get-type,attr"` GlibTypeStruct string `xml:"http://www.gtk.org/introspection/glib/1.0 type-struct,attr"` Doc *Doc `xml:"doc"` Fields Fields `xml:"field"` Constructors Constructors `xml:"constructor"` Functions Functions `xml:"function"` Methods Methods `xml:"method"` Signals Signals `xml:"http://www.gtk.org/introspection/glib/1.0 signal"` // contains filtered or unexported fields }
type RecordEqualFunc ¶
type RecordEqualFunc struct {
*Record
}
type RecordNewFromCFunc ¶
type RecordNewFromCFunc struct {
*Record
}
type RecordToCFunc ¶
type RecordToCFunc struct {
*Record
}
type Repository ¶
type Repository struct { XMLName xml.Name `xml:"repository"` Version string `xml:"version,attr"` CIncludes CIncludes `xml:"http://www.gtk.org/introspection/c/1.0 include"` Includes []Include `xml:"http://www.gtk.org/introspection/core/1.0 include"` Packages []Package `xml:"package"` Namespace *Namespace `xml:"namespace"` }
func (*Repository) Generate ¶
func (r *Repository) Generate()
func (*Repository) Init ¶
func (r *Repository) Init()
func (*Repository) MergeAddenda ¶
func (r *Repository) MergeAddenda(addenda *Repository)
type ReturnValue ¶
type Signal ¶
type Signal struct { Namespace *Namespace Name string `xml:"name,attr"` When string `xml:"when,attr"` Version string `xml:"version,attr"` Doc *Doc `xml:"doc"` Parameters Parameters `xml:"parameters>parameter"` ReturnValue *ReturnValue `xml:"return-value"` // contains filtered or unexported fields }
type TypeGenerator ¶
type TypeGenerator interface {
// contains filtered or unexported methods
}
TypeGenerator is an interface where implementors provide generator support for a type or types.
type TypeGeneratorArgcArgv ¶
type TypeGeneratorArgcArgv struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorArgcArgvNew ¶
func TypeGeneratorArgcArgvNew(typ *Type) *TypeGeneratorArgcArgv
type TypeGeneratorBoolean ¶
type TypeGeneratorBoolean struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorBooleanNew ¶
func TypeGeneratorBooleanNew(typ *Type) *TypeGeneratorBoolean
type TypeGeneratorEnumeration ¶
type TypeGeneratorEnumeration struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorEnumerationNew ¶
func TypeGeneratorEnumerationNew(typ *Type, enum *Enumeration) *TypeGeneratorEnumeration
type TypeGeneratorIgnore ¶
type TypeGeneratorIgnore struct {
TypeGeneratorPanic
}
func TypeGeneratorIgnoreNew ¶
func TypeGeneratorIgnoreNew(typ *Type) *TypeGeneratorIgnore
type TypeGeneratorInterface ¶
type TypeGeneratorInterface struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorInterfaceNew ¶
func TypeGeneratorInterfaceNew(typ *Type, iface *Interface) *TypeGeneratorInterface
type TypeGeneratorNumber ¶
type TypeGeneratorNumber struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorIntegerNew ¶
func TypeGeneratorIntegerNew(typ *Type) *TypeGeneratorNumber
type TypeGeneratorPanic ¶
type TypeGeneratorPanic struct {
// contains filtered or unexported fields
}
type TypeGeneratorRecord ¶
type TypeGeneratorRecord struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorRecordNew ¶
func TypeGeneratorRecordNew(typ *Type, record *Record) *TypeGeneratorRecord
type TypeGeneratorString ¶
type TypeGeneratorString struct { TypeGeneratorPanic // contains filtered or unexported fields }
func TypeGeneratorStringNew ¶
func TypeGeneratorStringNew(typ *Type) *TypeGeneratorString
type VersionLister ¶
type VersionLister interface {
// contains filtered or unexported methods
}
Source Files ¶
- alias.go
- aliases.go
- array.go
- callback.go
- callbacks.go
- cincludes.go
- class.go
- classes.go
- constant.go
- constants.go
- constructor.go
- constructors.go
- doc.go
- enumeration-member.go
- enumeration-members.go
- enumeration.go
- enumerations.go
- field.go
- fields.go
- filepath.go
- function.go
- functions.go
- generatable.go
- gir.go
- goname.go
- implements.go
- include.go
- interface.go
- interfaces.go
- method.go
- methods.go
- namespace-file-generate.go
- namespace-template-file-generate.go
- namespace-versions.go
- namespace.go
- number.go
- parameter.go
- parameters.go
- qname.go
- record-cast.go
- record-equal-func.go
- record-newfromc-func.go
- record-toc-func.go
- record.go
- records.go
- repository.go
- returnvalue.go
- signal.go
- signals.go
- type-generator-argcargv.go
- type-generator-boolean.go
- type-generator-enumeration.go
- type-generator-ignore.go
- type-generator-interface.go
- type-generator-number.go
- type-generator-panic.go
- type-generator-record.go
- type-generator-string.go
- type-generator.go
- type.go
- version.go
Click to show internal directories.
Click to hide internal directories.