summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/blocks')
-rw-r--r--JPratt/src/main/java/bjc/pratt/blocks/GrammarParseBlock.java2
-rw-r--r--JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java12
2 files changed, 13 insertions, 1 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/blocks/GrammarParseBlock.java b/JPratt/src/main/java/bjc/pratt/blocks/GrammarParseBlock.java
index 707bedd..0b1fb36 100644
--- a/JPratt/src/main/java/bjc/pratt/blocks/GrammarParseBlock.java
+++ b/JPratt/src/main/java/bjc/pratt/blocks/GrammarParseBlock.java
@@ -7,7 +7,7 @@ import bjc.pratt.PrattParser;
import bjc.pratt.tokens.Token;
import bjc.pratt.tokens.TokenStream;
import bjc.data.ITree;
-import bjc.utils.funcutils.Isomorphism;
+import bjc.functypes.*;
import bjc.utils.parserutils.ParserException;
/**
diff --git a/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java b/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
index e13c3c0..e0d63f3 100644
--- a/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
+++ b/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
@@ -20,6 +20,10 @@ public class ParseBlocks {
/**
* Create a new repeating parse block.
*
+ * @param <K> The key type for the tokens.
+ * @param <V> The value type for the tokens.
+ * @param <C> The context type for the tokens.
+ *
* @param inner
* The parse block to repeat.
*
@@ -45,6 +49,10 @@ public class ParseBlocks {
/**
* Create a new triggered parse block.
*
+ * @param <K> The key type for the tokens.
+ * @param <V> The value type for the tokens.
+ * @param <C> The context type for the tokens.
+ *
* @param source
* The block to trigger around.
*
@@ -65,6 +73,10 @@ public class ParseBlocks {
/**
* Create a new simple parse block.
*
+ * @param <K> The key type for the tokens.
+ * @param <V> The value type for the tokens.
+ * @param <C> The context type for the tokens.
+ *
* @param precedence
* The precedence of the expression inside the block.
*