summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-12-01 20:20:53 -0500
committerBen Culkin <scorpress@gmail.com>2020-12-01 20:20:53 -0500
commitb90f1ea0f1a35d04bd1d5ec2741dc8d45c1f3c0f (patch)
tree45a3779b1d41fa2b72bcb063bf64be002569c01b /JPratt/src/main/java/bjc/pratt/blocks/ParseBlocks.java
parent747bff446547120d3045685c0c1878251d24c382 (diff)
Add some comments
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.
*