summaryrefslogtreecommitdiff
path: root/src/tparse/token.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-08-01 16:37:02 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-08-01 16:37:02 -0400
commit628dd83397c47ff484f7c81b06dcd6d1e4af628b (patch)
tree64e213f3966149b424849b3216f78fac87948b4d /src/tparse/token.go
parent44862e37b5978da8e7af012bbb4b83edaff41299 (diff)
Split main file
Diffstat (limited to 'src/tparse/token.go')
-rw-r--r--src/tparse/token.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tparse/token.go b/src/tparse/token.go
index 182b2e0..02502eb 100644
--- a/src/tparse/token.go
+++ b/src/tparse/token.go
@@ -27,6 +27,12 @@ type Token struct {
// Node represents a node in an AST
type Node struct {
Data Token
+
+ IsBlock bool
+ BlockQs []Token
+ BlockIn []Node
+ BlockOut []Node
+
Sub []Node
}