From b4e4e7f1d6749de92b0f2c5ca09eb4170704100f Mon Sep 17 00:00:00 2001 From: bjculkin Date: Fri, 31 Mar 2017 08:53:33 -0400 Subject: Move Pratt Parser to new project --- .../bjc/utils/parserutils/pratt/ParseBlock.java | 37 ---------------------- 1 file changed, 37 deletions(-) delete mode 100644 BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/ParseBlock.java (limited to 'BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/ParseBlock.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/ParseBlock.java b/BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/ParseBlock.java deleted file mode 100644 index 4542107..0000000 --- a/BJC-Utils2/src/main/java/bjc/utils/parserutils/pratt/ParseBlock.java +++ /dev/null @@ -1,37 +0,0 @@ -package bjc.utils.parserutils.pratt; - -import bjc.utils.data.ITree; -import bjc.utils.parserutils.ParserException; - -/** - * Represents a embedded block in an expression. - * - * @author bjculkin - * - * @param - * The key type of the token. - * - * @param - * The value type of the token. - * - * @param - * The state type of the parser. - */ -@FunctionalInterface -public interface ParseBlock { - - /** - * Parse the block this represents. - * - * @param ctx - * The context for parsing. - * - * @return A AST for this block. - * - * @throws ParserException - * If something goes wrong during parsing, or the block - * fails validation. - */ - ITree> parse(ParserContext ctx) throws ParserException; - -} \ No newline at end of file -- cgit v1.2.3