diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-06-28 14:30:45 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-06-28 14:30:45 -0400 |
commit | 8f9cf0d4856bb53009bb58b53a42e21e2cd1e947 (patch) | |
tree | b022091a0c3105e2da54b9dc16e5f55852b788f3 /src/tparse/token.go |
[Initial parser] Upload existing
Diffstat (limited to 'src/tparse/token.go')
-rw-r--r-- | src/tparse/token.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/tparse/token.go b/src/tparse/token.go new file mode 100644 index 0000000..712b746 --- /dev/null +++ b/src/tparse/token.go @@ -0,0 +1,13 @@ +package tparse + +// Token represents a token in a program +type Token struct { + Type int + Data string +} + +// Container represents a container of data +type Container struct { + Data []interface{} + Holds bool +} |