Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lexer ¶
type Lexer struct {
// contains filtered or unexported fields
}
func (*Lexer) Scan ¶
func (l *Lexer) Scan() (*PortfileToken, error)
type Portfile ¶
type Portfile struct { PortSystem string `portfile:"PortSystem"` Name string `portfile:"name"` Homepage string `portfile:"homepage"` Description string `portfile:"description"` LongDescription string `portfile:"long_description"` License string `portfile:"license"` Checksum map[string]string Size int64 Attrs map[string][]string // contains filtered or unexported fields }
type PortfileToken ¶
type PortfileToken struct { Type PortfileTokenType Value string StartPos int }
func (*PortfileToken) String ¶
func (t *PortfileToken) String() string
type PortfileTokenType ¶
type PortfileTokenType string
const ( PortfileTokenComment PortfileTokenType = "comment" PortfileTokenLineBreak PortfileTokenType = "line_break" PortfileTokenIdent PortfileTokenType = "ident" PortfileTokenLBracket PortfileTokenType = "l_bracket" PortfileTokenRBracket PortfileTokenType = "r_bracket" )
Click to show internal directories.
Click to hide internal directories.