aboutsummaryrefslogtreecommitdiff
path: root/src/parcom.cr
diff options
context:
space:
mode:
authorMatthew Hall <hallmatthew314@gmail.com>2023-03-11 18:17:17 +1300
committerMatthew Hall <hallmatthew314@gmail.com>2023-03-11 18:17:17 +1300
commitd2fc572b85789f8c59b8d9a44e86161b888f4ed0 (patch)
treea85d56569ac6ed3754fb1a2a011d0aae6db37753 /src/parcom.cr
parent99ea2dd415cdda1fe66adcddfbcee90a230403d0 (diff)
Documentation for Flunk
Diffstat (limited to 'src/parcom.cr')
-rw-r--r--src/parcom.cr6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/parcom.cr b/src/parcom.cr
index 028f596..5ce8ebe 100644
--- a/src/parcom.cr
+++ b/src/parcom.cr
@@ -81,12 +81,6 @@ module Parcom
end
end
- class Flunk(T, V) < Parser(T, V)
- def parse(tokens) : Result(T, V)
- raise ParserFail.new("Flunk: parsing failed")
- end
- end
-
class AnyToken(T) < Parser(T, T)
def parse(tokens : Tokens(T)) : Result(T, T)
if tokens.empty?