Documentation
¶
Index ¶
- type AST
- type CommandNode
- func (n *CommandNode) Equal(n2 Node) bool
- func (n *CommandNode) Err() error
- func (n *CommandNode) Keys() (keys []string)
- func (n *CommandNode) ProcessHoles(fills map[string]interface{}) map[string]interface{}
- func (n *CommandNode) ProcessRefs(fills map[string]interface{})
- func (n *CommandNode) Result() interface{}
- func (n *CommandNode) String() string
- type DeclarationNode
- type ExpressionNode
- type Node
- type Peg
- func (t *Peg) AST() *node32
- func (t *Peg) Add(rule pegRule, begin, end, index uint32)
- func (p *Peg) Execute()
- func (p *Peg) Init()
- func (p *Peg) Parse(rule ...int) error
- func (t *Peg) PrettyPrintSyntaxTree(buffer string)
- func (t *Peg) Print()
- func (p *Peg) PrintSyntaxTree()
- func (p *Peg) Reset()
- func (t *Peg) Tokens() []token32
- func (t *Peg) Trim(length uint32)
- type Statement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandNode ¶
type CommandNode struct {
CmdResult interface{}
CmdErr error
Action, Entity string
Refs map[string]string
Params map[string]interface{}
Holes map[string]string
}
func (*CommandNode) Equal ¶
func (n *CommandNode) Equal(n2 Node) bool
func (*CommandNode) Err ¶
func (n *CommandNode) Err() error
func (*CommandNode) Keys ¶
func (n *CommandNode) Keys() (keys []string)
func (*CommandNode) ProcessHoles ¶
func (n *CommandNode) ProcessHoles(fills map[string]interface{}) map[string]interface{}
func (*CommandNode) ProcessRefs ¶
func (n *CommandNode) ProcessRefs(fills map[string]interface{})
func (*CommandNode) Result ¶
func (n *CommandNode) Result() interface{}
func (*CommandNode) String ¶
func (n *CommandNode) String() string
type DeclarationNode ¶
type DeclarationNode struct {
Ident string
Expr ExpressionNode
}
func (*DeclarationNode) Equal ¶
func (n *DeclarationNode) Equal(n2 Node) bool
func (*DeclarationNode) String ¶
func (n *DeclarationNode) String() string
type ExpressionNode ¶
type Peg ¶
func (*Peg) PrettyPrintSyntaxTree ¶
func (t *Peg) PrettyPrintSyntaxTree(buffer string)
func (*Peg) PrintSyntaxTree ¶
func (p *Peg) PrintSyntaxTree()
Click to show internal directories.
Click to hide internal directories.