Versions in this module Expand all Collapse all v0 v0.1.0 Jan 20, 2016 v0.0.6 Nov 10, 2015 v0.0.5 Dec 13, 2014 v0.0.4 Oct 28, 2014 v0.0.3 Oct 15, 2014 Changes in this version + type ActionNode struct + Line int + Pipe *PipeNode + func (a *ActionNode) Copy() Node + func (a *ActionNode) String() string + type BoolNode struct + True bool + func (b *BoolNode) Copy() Node + func (b *BoolNode) String() string + type BranchNode struct + ElseList *ListNode + Line int + List *ListNode + Pipe *PipeNode + func (b *BranchNode) String() string + type ChainNode struct + Field []string + Node Node + func (c *ChainNode) Add(field string) + func (c *ChainNode) Copy() Node + func (c *ChainNode) String() string + type CommandNode struct + Args []Node + func (c *CommandNode) Copy() Node + func (c *CommandNode) String() string + type DefineNode struct + Line int + List *ListNode + Name string + Parent string + func (d *DefineNode) Copy() Node + func (d *DefineNode) CopyDefine() *DefineNode + func (d *DefineNode) ErrorContext(n Node) (location, context string) + func (d *DefineNode) String() string + type DotNode struct + func (d *DotNode) Copy() Node + func (d *DotNode) String() string + func (d *DotNode) Type() NodeType + type FieldNode struct + Ident []string + func (f *FieldNode) Copy() Node + func (f *FieldNode) String() string + type FillNode struct + Line int + List *ListNode + Name string + func (f *FillNode) Copy() Node + func (f *FillNode) CopyFill() *FillNode + func (f *FillNode) String() string + type IdentifierNode struct + Ident string + func NewIdentifier(ident string) *IdentifierNode + func (i *IdentifierNode) Copy() Node + func (i *IdentifierNode) SetPos(pos Pos) *IdentifierNode + func (i *IdentifierNode) String() string + type IfNode struct + func (i *IfNode) Copy() Node + type ListNode struct + Nodes []Node + func (l *ListNode) Copy() Node + func (l *ListNode) CopyList() *ListNode + func (l *ListNode) String() string + type NilNode struct + func (n *NilNode) Copy() Node + func (n *NilNode) String() string + func (n *NilNode) Type() NodeType + type Node interface + Copy func() Node + Position func() Pos + String func() string + Type func() NodeType + type NodeType int + const NodeAction + const NodeBool + const NodeChain + const NodeCommand + const NodeDefine + const NodeDot + const NodeField + const NodeFill + const NodeIdentifier + const NodeIf + const NodeList + const NodeNil + const NodeNumber + const NodePipe + const NodeRange + const NodeSlot + const NodeString + const NodeTemplate + const NodeText + const NodeTree + const NodeVariable + const NodeWith + func (t NodeType) Type() NodeType + type NumberNode struct + Complex128 complex128 + Float64 float64 + Int64 int64 + IsComplex bool + IsFloat bool + IsInt bool + IsUint bool + Text string + Uint64 uint64 + func (n *NumberNode) Copy() Node + func (n *NumberNode) String() string + type PipeNode struct + Cmds []*CommandNode + Decl []*VariableNode + Line int + func (p *PipeNode) Copy() Node + func (p *PipeNode) CopyPipe() *PipeNode + func (p *PipeNode) String() string + type Pos int + func (p Pos) Position() Pos + type RangeNode struct + func (r *RangeNode) Copy() Node + type SlotNode struct + Line int + List *ListNode + Name string + func (s *SlotNode) Copy() Node + func (s *SlotNode) String() string + type StringNode struct + Quoted string + Text string + func (s *StringNode) Copy() Node + func (s *StringNode) String() string + type TemplateNode struct + Line int + Name string + Pipe *PipeNode + func (t *TemplateNode) Copy() Node + func (t *TemplateNode) String() string + type TextNode struct + Text []byte + func (t *TextNode) Copy() Node + func (t *TextNode) String() string + type Tree map[string]*DefineNode + func Parse(name, text, leftDelim, rightDelim string, funcs ...map[string]interface{}) (Tree, error) + func (t Tree) Add(node *DefineNode) error + func (t Tree) AddTree(t2 Tree) error + func (t Tree) Copy() Tree + func (t Tree) String() string + type VariableNode struct + Ident []string + func (v *VariableNode) Copy() Node + func (v *VariableNode) String() string + type WithNode struct + func (w *WithNode) Copy() Node