Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Comment *string `parser:"@Comment"` Field *Field `parser:"| @@"` Mapping *Mapping `parser:"| @@"` }
Entry can either be a comment, field (assignment) or a mapping
type Mapping ¶
type Mapping struct { Key string `parser:"( @Ident"` Ignore *bool `parser:" | @Wildcard )"` Value *Value `parser:"'>' @@"` }
Mapping represents a relationship between the left and right values
type MappingRuleSet ¶
type MappingRuleSet struct {
Entries []*Entry `parser:"@@*"`
}
MappingRuleSet contains a set of Entries
Click to show internal directories.
Click to hide internal directories.