aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/query/parser.go
diff options
context:
space:
mode:
authorJP Appel <jeanpierre.appel01@gmail.com>2025-04-28 23:34:42 -0400
committerJP Appel <jeanpierre.appel01@gmail.com>2025-04-28 23:34:42 -0400
commit35ec0f5afb9800b25bd813bccc57a16bc9f837c4 (patch)
tree3caae3b9410e6a2d8f099c0e072cb654f210e4b6 /pkg/query/parser.go
parent34b8d8ff1f9d65c08a9156d72f08cf548183c6f4 (diff)
Add document output formatting
Diffstat (limited to 'pkg/query/parser.go')
-rw-r--r--pkg/query/parser.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkg/query/parser.go b/pkg/query/parser.go
deleted file mode 100644
index 355b18c..0000000
--- a/pkg/query/parser.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package query
-
-type TokenType uint64
-
-const (
- TOKEN_ERROR TokenType = iota
- TOKEN_EOF
- TOKEN_AND
- TOKEN_OR
- TOKEN_NOT
- TOKEN_SIMILAR
- TOKEN_STATEMENT
- // TODO: consider adding regex token
-)
-
-type Token struct {
- Type TokenType
- Content string
-}