package
0.0.22
Repository: https://github.com/mlhoyt/ramsql.git
Documentation: pkg.go.dev

# Functions

NewDecl initialize a Decl struct from a given token.
NewParser returns a parser object initialized with a list of tokens.
ParseDate intends to parse all SQL date formats.
ParseInstruction calls lexer and parser, then return Decl tree for each instruction.

# Constants

Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Punctuation.
Punctuation.
Punctuation.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Punctuation.
Second-order.
Second-order.
First-order.
DateLongFormat is same as time.RFC3339Nano.
DateNumberFormat is a fully numeric short date format.
DateShortFormat is a short date format with human-readable month element.
Type.
Second-order.
First-order.
Second-order.
Quote.
First-order.
Second-order.
Quote.
Second-order.
First-order.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
First-order.
Punctuation.
Second-order.
Second-order.
Second-order.
Second-order.
First-order.
Second-order.
Second-order.
Type.
Second-order.
Second-order.
Type.
Punctuation.
Second-order.
Punctuation.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Type.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.
Quote.
Quote.
Type.
Second-order.
Second-order.
Second-order.
Punctuation.
Second-order.
First-order.
Punctuation.
Second-order.
Quote.
Second-order.
Punctuation.
Quote.
Type.
Second-order.
Type.
Second-order.
Second-order.
First-order.
Second-order.
First-order.
Second-order.
Second-order.
Second-order.
Second-order.
Second-order.

# Structs

Decl structure is the node to statement declaration tree.
Instruction define a valid SQL statement.
Token contains a token id and its lexeme TODO: Add Location{Path string, Line int, Offset int}.

# Type aliases

Matcher tries to match given string to an SQL token.