atomicvalue_generator

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAtomicValueGenerator

func NewAtomicValueGenerator(pkg *packagex.Package) generate.Generator

Types

type AtomicValue

type AtomicValue struct {
	PkgPath string
	Name    string
	Value   *generate.Type
	// contains filtered or unexported fields
}

func NewAtomicValue

func NewAtomicValue(pkgPath, typeDef string) *AtomicValue

func (*AtomicValue) ObjCode

func (atomicValue *AtomicValue) ObjCode() *jen.Statement

func (*AtomicValue) PreFuncCommon

func (atomicValue *AtomicValue) PreFuncCommon(funcName string) *jen.Statement

func (*AtomicValue) ValueType

func (atomicValue *AtomicValue) ValueType() jen.Code

func (*AtomicValue) WriteToFile

func (atomicValue *AtomicValue) WriteToFile()

type AtomicValueGenerator

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

func (*AtomicValueGenerator) Scan

func (g *AtomicValueGenerator) Scan(args ...string)

func (*AtomicValueGenerator) WriteToFile

func (g *AtomicValueGenerator) WriteToFile()

Jump to

Keyboard shortcuts

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