serializer

package
v0.0.0-...-21e7071 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoSerializer

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

ProtoSerializer transforms the Go AST into a form that can be serialized into protocol buffers. It then calls the `Serialize` method to perform the actual serialization.

func NewProtoSerializer

func NewProtoSerializer(ast *ast.Program, out string, symTable *semantics.SymbolTable) *ProtoSerializer

func (*ProtoSerializer) Serialize

func (s *ProtoSerializer) Serialize() error

Serialize converts the translated AST into a protocol buffers binary file, to be deserialized later.

Jump to

Keyboard shortcuts

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