Documentation ¶
Index ¶
- func CalculateCrc(identifier string) uint32
- func NewPublishBitField(data *MitchDefinedTypes.MitchBitField, identifier string) *publishBitField
- func NewPublishEnum(data *yacc.EnumDecl) *publishEnum
- func NewPublishPredefined(data interfaces.IDefinitionDeclaration) *publishPredefined
- func NewPublishStruct(data *yacc.MitchMessageDefinition) *publishStruct
- func NewpublishTypeDecl(data *yacc.TypeDeclarator) *publishTypeDecl
- type GenerateReadFunctionParams
- type GenerateWriteFunctionParams
- type LineWriter
- type MessageGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateCrc ¶
func NewPublishBitField ¶
func NewPublishBitField(data *MitchDefinedTypes.MitchBitField, identifier string) *publishBitField
func NewPublishEnum ¶
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
Click to show internal directories.
Click to hide internal directories.