Documentation ¶
Index ¶
- Variables
- func ExtractClasses() []*IDL.ClassDefinition
- func ExtractFunctions(gofile *parser.GoFile, metaffiGuestLib string) []*IDL.FunctionDefinition
- func ExtractGlobals(gofile *parser.GoFile, metaffiGuestLib string) []*IDL.GlobalDefinition
- func GetRequiredImport(gofile *parser.GoFile, fullType string) string
- func InitDefinedTypes(file *ast.File)
- func IsPublic(name string) bool
- func LoadClasses(gofile *parser.GoFile, metaffiGuestLib string)
- func LoadMethods(gofile *parser.GoFile, metaffiGuestLib string)
- func NewDefinedTypes(file *ast.File) *definedTypes
- type GoIDLCompiler
Constants ¶
This section is empty.
Variables ¶
View Source
var DefinedTypes *definedTypes
View Source
var Imports map[string]bool
Functions ¶
func ExtractClasses ¶
func ExtractClasses() []*IDL.ClassDefinition
func ExtractFunctions ¶
func ExtractFunctions(gofile *parser.GoFile, metaffiGuestLib string) []*IDL.FunctionDefinition
--------------------------------------------------------------------
func ExtractGlobals ¶
func ExtractGlobals(gofile *parser.GoFile, metaffiGuestLib string) []*IDL.GlobalDefinition
--------------------------------------------------------------------
func GetRequiredImport ¶
--------------------------------------------------------------------
func InitDefinedTypes ¶
--------------------------------------------------------------------
func LoadClasses ¶
func LoadClasses(gofile *parser.GoFile, metaffiGuestLib string)
func LoadMethods ¶
func LoadMethods(gofile *parser.GoFile, metaffiGuestLib string)
func NewDefinedTypes ¶
--------------------------------------------------------------------
Types ¶
type GoIDLCompiler ¶
type GoIDLCompiler struct { }
func NewGoIDLCompiler ¶
func NewGoIDLCompiler() *GoIDLCompiler
func (*GoIDLCompiler) ParseIDL ¶
func (this *GoIDLCompiler) ParseIDL(goSourceCode string, gofilepath string) (*IDL.IDLDefinition, bool, error)
Click to show internal directories.
Click to hide internal directories.