node

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

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

func NewField

func NewField(name string, value Node) *Field

type Node

type Node interface {
	CompileTo(*ast.Mapper)
}

type Struct

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

func NewStruct

func NewStruct(name string, fields ...*Field) *Struct

func NewStructPtr

func NewStructPtr(name string, fields ...*Field) *Struct

func (*Struct) CompileTo

func (s *Struct) CompileTo(mapper *ast.Mapper)

type Value

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

func NewValue

func NewValue(v string) *Value

func (*Value) CompileTo

func (v *Value) CompileTo(mapper *ast.Mapper)

Jump to

Keyboard shortcuts

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