Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SingleQuote ¶
Types ¶
type Rule ¶
type Rule struct { RAW []byte Name string Params []RuleNode Range []*RuleLit ExclusiveLeft bool ExclusiveRight bool ValueMatrix [][]*RuleLit Pattern string Optional bool DefaultValue []byte RuleNode }
func MustParseRuleString ¶
func ParseRuleString ¶
func (*Rule) ComputedValues ¶
type RuleLit ¶
func NewRuleLit ¶
type RuleNode ¶
type RuleNode interface { Bytes() []byte // contains filtered or unexported methods }
type SyntaxError ¶
type SyntaxError struct {
Msg string
}
func NewSyntaxError ¶
func NewSyntaxError(format string, args ...interface{}) *SyntaxError
func (*SyntaxError) Error ¶
func (e *SyntaxError) Error() string
Click to show internal directories.
Click to hide internal directories.