defs

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2019 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback interface {
	def.Definition
}

Callback interface

func NewCallback

func NewCallback(index index.Index, data *raw.Callback) Callback

NewCallback create a callback

type CallbackInterface

type CallbackInterface interface {
	def.Definition
}

CallbackInterface interface

func NewCallbackInterface

func NewCallbackInterface(index index.Index, data *raw.CallbackInterface) CallbackInterface

NewCallbackInterface create a callback

type Dictionary

type Dictionary interface {
	def.Definition
}

Dictionary interface

func NewDictionary

func NewDictionary(index index.Index, data *raw.Dictionary) Dictionary

NewDictionary create a callback

type Enum

type Enum interface {
	def.Definition
}

Enum interface

func NewEnum

func NewEnum(index index.Index, data *raw.Enum) Enum

NewEnum create a callback

type Interface

type Interface interface {
	ImplementedBy() ([]def.Definition, error)
	Properties() []Property
	Methods() []Method
	FindEvent(name string) (def.Definition, error)
	Ancestors() (ancestors []def.Definition, err error)
	Implements() (defs []def.Definition, err error)

	def.Definition
}

Interface interface

func NewInterface

func NewInterface(index index.Index, data *raw.Interface) Interface

NewInterface creates an interface

type Method

type Method interface {
	GenerateInterfaceAs(recv Interface) (string, error)
	GenerateAs(recv Interface) (string, error)

	def.Definition
}

Method interface

func NewMethod

func NewMethod(index index.Index, data *raw.Method, receiver Interface) Method

NewMethod creates a new method

type Property

type Property interface {
	GenerateInterfaceAs(recv Interface) (string, error)
	GenerateAs(recv Interface) (string, error)

	def.Definition
}

Property interface

func NewProperty

func NewProperty(index index.Index, data *raw.Property, receiver Interface) Property

NewProperty creates a new property

type TypeDef

type TypeDef interface {
	def.Definition
}

TypeDef interface

func NewTypeDef

func NewTypeDef(index index.Index, data *raw.TypeDef) TypeDef

NewTypeDef fn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL