package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Functions

MustMakeToken is a test function for creating a Token.MustMakeToken.
NewLexer returns a lexer and an output channel for tokens.

# Constants

Comma is a punctuation mark.
Equal is the "=" symbol.
Error is what you get when the lexer fails to grok the input.
False is Boolean false.
Identifier is a symbol confining to C-style variable naming rules.
LParenthesis is the left parenthesis "(".
NotOperator is the exclamation sign - "!" symbol.
Number is a numeral, including floats.
Pattern is a regex-ish pattern, accepts the following special chars: [{.*}].
RParenthesis is the right parenthesis ")".
String is set of characters wrapped by double quotes.
True is Boolean true.

# Structs

Lexer breaks an input stream into a group of lexical elements.
Options allows for specifying lexer options.
Token is a token, doh!.

# Type aliases

TokenType defines the type of identifier recognized by the Lexer.