package
0.6.0
Repository: https://github.com/vippsas/sqlcode.git
Documentation: pkg.go.dev

# Functions

AdvanceAndCopy is like NextToken; advance to next token that is not whitespace and return Note: The 'go' and EOF tokens are *not* copied.
No description provided by the author
No description provided by the author
No description provided by the author
NextTokenCopyingWhitespace is like s.NextToken(), but if whitespace is encountered it is simply copied into `target`.
No description provided by the author
ParseFileystems iterates through a list of filesystems and parses all files matching `*.sql`, determines which one are sqlcode files from the contents, and returns the combination of all of them.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
we don't want to support double quotes, for simplicity, so that is an error and stops parsing.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PragmaToken is like SinglelineCommentToken but starting with `--sqlcode:`.
No description provided by the author
Note: A lot of stuff pass as identifiers that should really have been reserved words.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A string that has a Pos-ition in a source document.
We don't do the lexer/parser split / token stream, but simply use the Scanner directly from the recursive descent parser; it is simply a cursor in the buffer with associated utility methods.
No description provided by the author
No description provided by the author

# Type aliases

dedicated type for reference to file, in case we need to refactor this later..
No description provided by the author