Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayValue ¶
type ArrayValue struct {
Array []*RightValue `("[" "]") | ("[" @@ ("," @@)* ","? "]")`
}
type Assignment ¶
type Assignment struct {
Left LeftValue `@@ "="`
Right RightValue `@@`
}
type KV ¶
type KV struct {
K string `@String ":"`
V RightValue `@@`
}
type RightValue ¶
type SectionMap ¶
func ParseFile ¶
func ParseFile(f string) (*SectionMap, error)
type Stmt ¶
type Stmt struct {
Assignment *Assignment `@@`
Deletion *LeftValue `| "DELETE" @@`
}
Click to show internal directories.
Click to hide internal directories.