pgidl

package module
v0.0.0-...-a200793 Latest Latest
Warning

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

Go to latest
Published: May 30, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

15 april 2015

15 april 2015

15 april 2015

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arg

type Arg struct {
	Name string
	Type *Type
}

type Enum

type Enum struct {
	Name    string
	Members []string
}

type Field

type Field struct {
	Name string
	Type *Type
}

type Func

type Func struct {
	Name string
	Args []*Arg
	Ret  *Type
}

type IDL

type IDL []*Package

func Parse

func Parse(r io.Reader, filename string) (idl IDL, errs []string)

type Interface

type Interface struct {
	Name    string
	From    string
	Fields  []*Field
	Methods []*Func
}

type Order

type Order struct {
	Which Which
	Index int
}

type Package

type Package struct {
	Name       string
	Funcs      []*Func
	Structs    []*Struct
	Interfaces []*Interface
	Raws       []string
	Enums      []*Enum
	Order      []*Order
}

type Struct

type Struct struct {
	Name   string
	Fields []*Field
}

type Type

type Type struct {
	IsFuncPtr bool
	Name      string
	NumPtrs   uint
	FuncType  *Func
}

type Which

type Which uint
const (
	Funcs Which = iota
	Structs
	Interfaces
	Raws
	Enums
)

Directories

Path Synopsis
15 april 2015
15 april 2015

Jump to

Keyboard shortcuts

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