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.
Click to show internal directories.
Click to hide internal directories.