Documentation ¶
Overview ¶
Package gsm provides a parser for asterisk configuration files
The abstract syntax tree is basic, and made to accomodate the urgent need to parse the dongle configuration file and also as a means to see if scanning is done well will the scanner.
TODO(gernest) rewrite the AST and move it into a separate package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ast ¶
type Ast struct {
// contains filtered or unexported fields
}
Ast is an abstract syntax tree for a scanneruration object. The scanneruration format should be section based( or you can say namespacing).
type NodeSection ¶
type NodeSection struct {
// contains filtered or unexported fields
}
NodeSection represent a section in the scanneruration object. Sections are name spaces that contains scannerurations definitions under them.
type Parser ¶
type Parser struct { Ast *Ast // contains filtered or unexported fields }
Parser is a Parser for scanneruration files. It supports utf-8 encoded scanneruration files.
Only modem scanneruration files are supported for the momment.