publishGo

package
v0.0.0-...-99bab9e Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateCrc

func CalculateCrc(identifier string) uint32

func NewPublishBitField

func NewPublishBitField(data *MitchDefinedTypes.MitchBitField, identifier string) *publishBitField

func NewPublishEnum

func NewPublishEnum(data *yacc.EnumDecl) *publishEnum

func NewPublishPredefined

func NewPublishPredefined(data interfaces.IDefinitionDeclaration) *publishPredefined

func NewPublishStruct

func NewPublishStruct(data *yacc.MitchMessageDefinition) *publishStruct

func NewpublishTypeDecl

func NewpublishTypeDecl(data *yacc.TypeDeclarator) *publishTypeDecl

Types

type GenerateReadFunctionParams

type GenerateReadFunctionParams struct {
	// contains filtered or unexported fields
}

type GenerateWriteFunctionParams

type GenerateWriteFunctionParams struct {
	// contains filtered or unexported fields
}

type LineWriter

type LineWriter struct {
	// contains filtered or unexported fields
}

func NewLineWriter

func NewLineWriter(writer io.StringWriter, errorList Common.IErrorList) LineWriter

func (LineWriter) Write

func (receiver LineWriter) Write(format string, a ...interface{})

type MessageGenerator

type MessageGenerator struct {
	DeclaredTypes []interfaces.IDefinitionDeclaration
	// contains filtered or unexported fields
}

func NewMessageGenerator

func NewMessageGenerator(DeclaredTypes []interfaces.IDefinitionDeclaration, typeInformation interfaces.IBaseTypeInformation) *MessageGenerator

func (*MessageGenerator) Export

func (self *MessageGenerator) Export(writer *bufio.Writer, information interfaces.IBaseTypeInformation) error

Jump to

Keyboard shortcuts

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