Summary Files Commits Branches @commit @diff @stats
path: root / src / StringConsumer / IHigherOrderConsumer.cl
blob: e7325d2ea70819346d9e71ab2c84e1c196e68e15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
class IHigherOrderConsumer inherits IStringConsumer {
	token: IToken;

	token() : IToken {
		token
	};

	did(length: Int) : Bool {
		0 < (consumed_length <- consumed_length + length)
	};
};