Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseArgs ¶
func ParseArgs(args []string) (*subcommand.SubCommand, error)
Types ¶
type BoardCommandParser ¶
type BoardCommandParser struct {
// contains filtered or unexported fields
}
BoardCommandParser describe a parser for board subcommand.
func NewBoardCommandParser ¶
func NewBoardCommandParser(tokenizer *Tokenizer) *BoardCommandParser
func (*BoardCommandParser) Parse ¶
func (p *BoardCommandParser) Parse() subcommand.SubCommand
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) Parse ¶
func (p *Parser) Parse(args []string) (*subcommand.SubCommand, error)
type ProjectCommandParser ¶
type ProjectCommandParser struct {
// contains filtered or unexported fields
}
func NewProjectCommandParser ¶
func NewProjectCommandParser(tokenizer *Tokenizer) *ProjectCommandParser
func (*ProjectCommandParser) Parse ¶
func (p *ProjectCommandParser) Parse() subcommand.SubCommand
type SubCommandParser ¶
type SubCommandParser interface {
Parse() subcommand.SubCommand
}
type Tokenizer ¶
type Tokenizer struct {
// contains filtered or unexported fields
}
func NewTokenizer ¶
func NewTokenizer() *Tokenizer
func (*Tokenizer) HasNextToken ¶
func (*Tokenizer) NextToken ¶
TBD: This method should be renamed to 'PopToken' as destructive method.
func (*Tokenizer) RestOfTokens ¶
Click to show internal directories.
Click to hide internal directories.