Documentation ¶
Index ¶
- func Database(d *descriptor.Database) ([]byte, error)
- func Descriptors(f *File, d *descriptor.Database)
- func Imports(f *File)
- func MarshalFrame(f *File, m *descriptor.Message)
- func MessageType(f *File, m *descriptor.Message)
- func Node(f *File, d *descriptor.Database, n *descriptor.Node)
- func Package(f *File, d *descriptor.Database)
- func SignalCustomType(f *File, m *descriptor.Message, s *descriptor.Signal)
- func UnmarshalFrame(f *File, m *descriptor.Message)
- type CompileResult
- type File
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Descriptors ¶
func Descriptors(f *File, d *descriptor.Database)
func MarshalFrame ¶
func MarshalFrame(f *File, m *descriptor.Message)
func MessageType ¶
func MessageType(f *File, m *descriptor.Message)
func Node ¶
func Node(f *File, d *descriptor.Database, n *descriptor.Node)
func Package ¶
func Package(f *File, d *descriptor.Database)
func SignalCustomType ¶
func SignalCustomType(f *File, m *descriptor.Message, s *descriptor.Signal)
func UnmarshalFrame ¶
func UnmarshalFrame(f *File, m *descriptor.Message)
Types ¶
type CompileResult ¶
type CompileResult struct { Database *descriptor.Database Warnings []error }
func CompileDefs ¶
func CompileDefs(sourceFile string, defs []dbc.Def) (result *CompileResult, err error)
Click to show internal directories.
Click to hide internal directories.