containernode

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CollatedNodes

type CollatedNodes struct {
	Containers []*ContainerNode
	Subject    leafnodes.SubjectNode
}

type ContainerNode

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

func New

func New(text string, flag types.FlagType, codeLocation types.CodeLocation) *ContainerNode

func (*ContainerNode) CodeLocation

func (node *ContainerNode) CodeLocation() types.CodeLocation

func (*ContainerNode) Collate

func (node *ContainerNode) Collate() []CollatedNodes

func (*ContainerNode) Flag

func (node *ContainerNode) Flag() types.FlagType

func (*ContainerNode) Len

func (node *ContainerNode) Len() int

func (*ContainerNode) Less

func (node *ContainerNode) Less(i, j int) bool

func (*ContainerNode) PushContainerNode

func (node *ContainerNode) PushContainerNode(container *ContainerNode)

func (*ContainerNode) PushSetupNode

func (node *ContainerNode) PushSetupNode(setupNode leafnodes.BasicNode)

func (*ContainerNode) PushSubjectNode

func (node *ContainerNode) PushSubjectNode(subject leafnodes.SubjectNode)

func (*ContainerNode) SetupNodesOfType

func (node *ContainerNode) SetupNodesOfType(nodeType types.SpecComponentType) []leafnodes.BasicNode

func (*ContainerNode) Shuffle

func (container *ContainerNode) Shuffle(r *rand.Rand)

func (*ContainerNode) Swap

func (node *ContainerNode) Swap(i, j int)

func (*ContainerNode) Text

func (node *ContainerNode) Text() string

Jump to

Keyboard shortcuts

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