cast

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	Expr node.Node
}

Array node

func NewArray

func NewArray(Expr node.Node) *Array

NewArray node constructor

func (*Array) Attributes

func (n *Array) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Array) Walk

func (n *Array) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Bool

type Bool struct {
	Expr node.Node
}

Bool node

func NewBool

func NewBool(Expr node.Node) *Bool

NewBool node constructor

func (*Bool) Attributes

func (n *Bool) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Bool) Walk

func (n *Bool) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Double

type Double struct {
	Expr node.Node
}

Double node

func NewDouble

func NewDouble(Expr node.Node) *Double

NewDouble node constructor

func (*Double) Attributes

func (n *Double) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Double) Walk

func (n *Double) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Int

type Int struct {
	Expr node.Node
}

Int node

func NewInt

func NewInt(Expr node.Node) *Int

NewInt node constructor

func (*Int) Attributes

func (n *Int) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Int) Walk

func (n *Int) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Object

type Object struct {
	Expr node.Node
}

Object node

func NewObject

func NewObject(Expr node.Node) *Object

NewObject node constructor

func (*Object) Attributes

func (n *Object) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Object) Walk

func (n *Object) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type String

type String struct {
	Expr node.Node
}

String node

func NewString

func NewString(Expr node.Node) *String

NewString node constructor

func (*String) Attributes

func (n *String) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*String) Walk

func (n *String) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

type Unset

type Unset struct {
	Expr node.Node
}

Unset node

func NewUnset

func NewUnset(Expr node.Node) *Unset

NewUnset node constructor

func (*Unset) Attributes

func (n *Unset) Attributes() map[string]interface{}

Attributes returns node attributes as map

func (*Unset) Walk

func (n *Unset) Walk(v walker.Visitor)

Walk traverses nodes Walk is invoked recursively until v.EnterNode returns true

Jump to

Keyboard shortcuts

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