diff options
Diffstat (limited to 'subex/subexast.go')
-rw-r--r-- | subex/subexast.go | 6 |
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 +} |