gencache

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

func Gen(c *coder.Coder, r coder.CompileResult)

Types

type Cache

type Cache struct {
	Type string
	Key  string
	Oper string
}

type CacheFile

type CacheFile struct {
	cfg.CodeBase

	Structs []coder.GoStruct
	Caches  []*Cache
}

func Compile

func Compile(config *cfg.Config) (*CacheFile, error)

type Compiler

type Compiler struct {
}

func (*Compiler) Compile

func (*Compiler) Compile(lines []string) (coder.CompileResult, error)

func (*Compiler) Name

func (*Compiler) Name() string

Jump to

Keyboard shortcuts

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