<- Back to shtanton's homepage
aboutsummaryrefslogtreecommitdiff
path: root/subex/subexast.go
diff options
context:
space:
mode:
Diffstat (limited to 'subex/subexast.go')
-rw-r--r--subex/subexast.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/subex/subexast.go b/subex/subexast.go
index fb16658..bc80835 100644
--- a/subex/subexast.go
+++ b/subex/subexast.go
@@ -253,3 +253,9 @@ func (ast SubexASTNot) compileWith(next SubexState) SubexState {
}),
}
}
+
+// Does nothing
+type SubexASTEmpty struct {}
+func (ast SubexASTEmpty) compileWith(next SubexState) SubexState {
+ return next
+}