package
Version:
v0.0.0-...-8540621
Opens a new window with list of versions in this module.
Published: Nov 25, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ParsedArg struct {
Type *string `parser:"(@Ident \":\")?"`
Name *string `parser:"(@Ident Whitespace?|Whitespace)?"`
}
ParsedArg represents an arg parsed through ebnf.
type ParsedCmd struct {
Action *string `parser:"{@ \"go\" Whitespace? | @ \"run\" Whitespace?}?"`
Args []*ParsedArg `parser:"@@*"`
}
ParsedCmd represents a command parsed through ebnf.
ParseInput parses the user input into a command using an ebnf parser.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.