Documentation
¶
Index ¶
- type CompositeLoop
- func (r CompositeLoop) GetRule() *rules.LoopRule
- func (r CompositeLoop) Name() string
- func (r *CompositeLoop) Parse(data string, args ...string) (int, error)
- func (r *CompositeLoop) SetRule(s *rules.LoopRule)
- func (r CompositeLoop) String(args ...string) string
- func (r *CompositeLoop) Validate(loopRule *rules.LoopRule) error
- type Loop
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeLoop ¶
type CompositeLoop struct {
Loop Loop
SubLoops []CompositeLoop
// contains filtered or unexported fields
}
func NewCompositeLoop ¶
func NewCompositeLoop(rule *rules.LoopRule) *CompositeLoop
func (CompositeLoop) GetRule ¶
func (r CompositeLoop) GetRule() *rules.LoopRule
func (CompositeLoop) Name ¶
func (r CompositeLoop) Name() string
func (*CompositeLoop) Parse ¶
func (r *CompositeLoop) Parse(data string, args ...string) (int, error)
func (*CompositeLoop) SetRule ¶
func (r *CompositeLoop) SetRule(s *rules.LoopRule)
func (CompositeLoop) String ¶
func (r CompositeLoop) String(args ...string) string
type Loop ¶
type Loop struct {
Segments []segments.SegmentInterface
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.