name

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: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FullyQualified

type FullyQualified struct {
	Parts []node.Node
}

FullyQualified node

func NewFullyQualified

func NewFullyQualified(Parts []node.Node) *FullyQualified

NewFullyQualified node constuctor

func (*FullyQualified) Attributes

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

Attributes returns node attributes as map

func (*FullyQualified) Walk

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

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

type Name

type Name struct {
	Parts []node.Node
}

Name node

func NewName

func NewName(Parts []node.Node) *Name

NewName node constuctor

func (*Name) Attributes

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

Attributes returns node attributes as map

func (*Name) Walk

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

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

type NamePart

type NamePart struct {
	Value string
}

NamePart node

func NewNamePart

func NewNamePart(Value string) *NamePart

NewNamePart node constuctor

func (*NamePart) Attributes

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

Attributes returns node attributes as map

func (*NamePart) Walk

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

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

type Relative

type Relative struct {
	Parts []node.Node
}

Relative node

func NewRelative

func NewRelative(Parts []node.Node) *Relative

NewRelative node constuctor

func (*Relative) Attributes

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

Attributes returns node attributes as map

func (*Relative) Walk

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