From 26fa0559b0689a4647c38a2275c5880148248718 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Nov 2025 18:13:33 +0200 Subject: feat(src/StringConsumer): Add higher order consumers, integer, binary operation and if keywords consumers Higher order consumers are called that way because they use other (base) consumers in their logic. In a sense, the other consumers are parameters to the higher order consumers. --- src/Token/BinaryOperatorToken.cl | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/Token/BinaryOperatorToken.cl (limited to 'src/Token/BinaryOperatorToken.cl') diff --git a/src/Token/BinaryOperatorToken.cl b/src/Token/BinaryOperatorToken.cl new file mode 100644 index 0000000..edf9d31 --- /dev/null +++ b/src/Token/BinaryOperatorToken.cl @@ -0,0 +1,5 @@ +class BinaryOperatorToken inherits IToken { + name() : String { + "BINARY_OP" + }; +}; -- cgit v1.3.1-26-gb76a