summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
diff options
context:
space:
mode:
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java12
1 files changed, 12 insertions, 0 deletions
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.
*