package
0.2.1
Repository: https://github.com/seldonio/goven.git
Documentation: pkg.go.dev

# Functions

NewLexer returns a new instance of Lexer.
NewLexerFromString returns a Lexer for the provided string.
NewParser returns a new instance of Parser.

# Constants

Keywords.
Declare the tokens here.
Declare the tokens here.
Declare the tokens here.
No description provided by the author
Special characters.
Declare the tokens here.
Declare the tokens here.
Declare the tokens here.
Declare the tokens here.
Brackets.
No description provided by the author
Declare the tokens here.
Special tokens Iota simply starts and integer count.
Declare the tokens here.
Main literals.
Declare the tokens here.

# Variables

TokenLookup is a map, useful for printing readable names of the tokens.

# Structs

Expression represents something like x=y or x>=y.
Lexer represents a lexical scanner.
Operation represents a Node (Operation or Expression) compared with another Node using either `AND` or `OR`.
Parser represents a parser, including a scanner and the underlying raw input.
TokenInfo stores relevant information about the token during scanning.
TokenStack is used as the buffer for the Parser.

# Interfaces

Node represents a node in the AST after the expression is parsed.

# Type aliases

Token represents a lexical token.