package
0.1.17
Repository: https://github.com/forrestjgq/gmeter.git
Documentation: pkg.go.dev

# Functions

Argv split cmdline string as array of argument array by the '|' character.
No description provided by the author
NewParser create a cmdline string parser.
NewScanner create a scanner and init it's internal states.
No description provided by the author
Scan is a utility function help split input text as tokens.

# Constants

TokBackQuote is reverse quoted string.
TokEOF means the input end.
TokPipe is the '|' character.
TokSpace represent space character sequence.
TokString for string.
No description provided by the author
No description provided by the author

# Variables

ErrInvalidSyntax was reported if there is a syntax error in command line string.

# Structs

No description provided by the author
Scanner is a cmdline string scanner.
Token is generated by the scanner with a type and value.

# Type aliases

No description provided by the author
TokenType is the type of tokens recognized by the scanner.