Documentation ¶
Index ¶
- type Cmd
- type CmdExpect
- type Config
- type File
- type Node
- type NodeBase
- func (n *NodeBase) AddComment(c string)
- func (n *NodeBase) BegLine() int
- func (n *NodeBase) Clone() Node
- func (n *NodeBase) CloneNodeBase() NodeBase
- func (n *NodeBase) Comment() string
- func (n *NodeBase) DocLine() int
- func (n *NodeBase) EndLine() int
- func (n *NodeBase) Name() string
- func (n *NodeBase) Script() *Script
- func (n *NodeBase) SetBegLine(i int)
- func (n *NodeBase) SetDocLine(i int)
- func (n *NodeBase) SetEndLine(i int)
- func (n *NodeBase) SetScript(s *Script)
- func (n *NodeBase) String() string
- type NodeResult
- type Parser
- type Phase
- type Script
- type ScriptError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Logger Logger *zap.SugaredLogger LogLevel string // Filesystem FS billy.Filesystem // contains filtered or unexported fields }
type NodeBase ¶
type NodeBase struct {
// contains filtered or unexported fields
}
func (*NodeBase) AddComment ¶
func (*NodeBase) CloneNodeBase ¶
func (*NodeBase) SetBegLine ¶
func (*NodeBase) SetDocLine ¶
func (*NodeBase) SetEndLine ¶
type NodeResult ¶
type NodeResult struct {
NodeBase
}
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) AppendNode ¶
type Phase ¶
type Phase struct { NodeBase // contains filtered or unexported fields }
func (*Phase) AppendNode ¶
type Script ¶
type ScriptError ¶
func NewScriptError ¶
func NewScriptError(msg string, node Node, err error) *ScriptError
func (*ScriptError) Error ¶
func (e *ScriptError) Error() string
Click to show internal directories.
Click to hide internal directories.