cast

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cast

type Cast struct {
	Expr node.Node
}

Cast node

type CastArray

type CastArray struct {
	Cast
}

CastArray node

func NewCastArray

func NewCastArray(Expr node.Node) *CastArray

NewCastArray node constuctor

func (*CastArray) Attributes

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

Attributes returns node attributes as map

func (*CastArray) Walk

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

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

type CastBool

type CastBool struct {
	Cast
}

CastBool node

func NewCastBool

func NewCastBool(Expr node.Node) *CastBool

NewCastBool node constuctor

func (*CastBool) Attributes

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

Attributes returns node attributes as map

func (*CastBool) Walk

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

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

type CastDouble

type CastDouble struct {
	Cast
}

CastDouble node

func NewCastDouble

func NewCastDouble(Expr node.Node) *CastDouble

NewCastDouble node constuctor

func (*CastDouble) Attributes

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

Attributes returns node attributes as map

func (*CastDouble) Walk

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

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

type CastInt

type CastInt struct {
	Cast
}

CastInt node

func NewCastInt

func NewCastInt(Expr node.Node) *CastInt

NewCastInt node constuctor

func (*CastInt) Attributes

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

Attributes returns node attributes as map

func (*CastInt) Walk

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

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

type CastObject

type CastObject struct {
	Cast
}

CastObject node

func NewCastObject

func NewCastObject(Expr node.Node) *CastObject

NewCastObject node constuctor

func (*CastObject) Attributes

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

Attributes returns node attributes as map

func (*CastObject) Walk

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

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

type CastString

type CastString struct {
	Cast
}

CastString node

func NewCastString

func NewCastString(Expr node.Node) *CastString

NewCastString node constuctor

func (*CastString) Attributes

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

Attributes returns node attributes as map

func (*CastString) Walk

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

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

type CastUnset

type CastUnset struct {
	Cast
}

CastUnset node

func NewCastUnset

func NewCastUnset(Expr node.Node) *CastUnset

NewCastUnset node constuctor

func (*CastUnset) Attributes

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

Attributes returns node attributes as map

func (*CastUnset) Walk

func (n *CastUnset) 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