cast

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: MIT Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array added in v0.4.0

type Array struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Array node

func NewArray added in v0.4.0

func NewArray(Expr node.Node) *Array

NewArray node constructor

func (*Array) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Array) GetFreeFloating added in v0.6.0

func (n *Array) GetFreeFloating() *freefloating.Collection

func (*Array) GetPosition added in v0.6.0

func (n *Array) GetPosition() *position.Position

GetPosition returns node positions

func (*Array) SetPosition added in v0.6.0

func (n *Array) SetPosition(p *position.Position)

SetPosition sets node position

func (*Array) Walk added in v0.4.0

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

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

type Bool added in v0.4.0

type Bool struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Bool node

func NewBool added in v0.4.0

func NewBool(Expr node.Node) *Bool

NewBool node constructor

func (*Bool) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Bool) GetFreeFloating added in v0.6.0

func (n *Bool) GetFreeFloating() *freefloating.Collection

func (*Bool) GetPosition added in v0.6.0

func (n *Bool) GetPosition() *position.Position

GetPosition returns node positions

func (*Bool) SetPosition added in v0.6.0

func (n *Bool) SetPosition(p *position.Position)

SetPosition sets node position

func (*Bool) Walk added in v0.4.0

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

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

type Double added in v0.4.0

type Double struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Double node

func NewDouble added in v0.4.0

func NewDouble(Expr node.Node) *Double

NewDouble node constructor

func (*Double) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Double) GetFreeFloating added in v0.6.0

func (n *Double) GetFreeFloating() *freefloating.Collection

func (*Double) GetPosition added in v0.6.0

func (n *Double) GetPosition() *position.Position

GetPosition returns node positions

func (*Double) SetPosition added in v0.6.0

func (n *Double) SetPosition(p *position.Position)

SetPosition sets node position

func (*Double) Walk added in v0.4.0

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

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

type Int added in v0.4.0

type Int struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Int node

func NewInt added in v0.4.0

func NewInt(Expr node.Node) *Int

NewInt node constructor

func (*Int) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Int) GetFreeFloating added in v0.6.0

func (n *Int) GetFreeFloating() *freefloating.Collection

func (*Int) GetPosition added in v0.6.0

func (n *Int) GetPosition() *position.Position

GetPosition returns node positions

func (*Int) SetPosition added in v0.6.0

func (n *Int) SetPosition(p *position.Position)

SetPosition sets node position

func (*Int) Walk added in v0.4.0

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

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

type Object added in v0.4.0

type Object struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Object node

func NewObject added in v0.4.0

func NewObject(Expr node.Node) *Object

NewObject node constructor

func (*Object) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Object) GetFreeFloating added in v0.6.0

func (n *Object) GetFreeFloating() *freefloating.Collection

func (*Object) GetPosition added in v0.6.0

func (n *Object) GetPosition() *position.Position

GetPosition returns node positions

func (*Object) SetPosition added in v0.6.0

func (n *Object) SetPosition(p *position.Position)

SetPosition sets node position

func (*Object) Walk added in v0.4.0

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

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

type String added in v0.4.0

type String struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

String node

func NewString added in v0.4.0

func NewString(Expr node.Node) *String

NewString node constructor

func (*String) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*String) GetFreeFloating added in v0.6.0

func (n *String) GetFreeFloating() *freefloating.Collection

func (*String) GetPosition added in v0.6.0

func (n *String) GetPosition() *position.Position

GetPosition returns node positions

func (*String) SetPosition added in v0.6.0

func (n *String) SetPosition(p *position.Position)

SetPosition sets node position

func (*String) Walk added in v0.4.0

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

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

type Unset added in v0.4.0

type Unset struct {
	FreeFloating freefloating.Collection
	Position     *position.Position
	Expr         node.Node
}

Unset node

func NewUnset added in v0.4.0

func NewUnset(Expr node.Node) *Unset

NewUnset node constructor

func (*Unset) Attributes added in v0.4.0

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

Attributes returns node attributes as map

func (*Unset) GetFreeFloating added in v0.6.0

func (n *Unset) GetFreeFloating() *freefloating.Collection

func (*Unset) GetPosition added in v0.6.0

func (n *Unset) GetPosition() *position.Position

GetPosition returns node positions

func (*Unset) SetPosition added in v0.6.0

func (n *Unset) SetPosition(p *position.Position)

SetPosition sets node position

func (*Unset) Walk added in v0.4.0

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