summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.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/commands/impls/NonInitialCommands.java
parent747bff446547120d3045685c0c1878251d24c382 (diff)
Add some comments
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java b/JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java
index 82110b2..6019ffe 100644
--- a/JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java
+++ b/JPratt/src/main/java/bjc/pratt/commands/impls/NonInitialCommands.java
@@ -18,6 +18,10 @@ public class NonInitialCommands {
/**
* Create a left-associative infix operator.
*
+ * @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 operator.
*
@@ -30,6 +34,10 @@ public class NonInitialCommands {
/**
* Create a right-associative infix operator.
*
+ * @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 operator.
*
@@ -42,6 +50,10 @@ public class NonInitialCommands {
/**
* Create a non-associative infix operator.
*
+ * @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 operator.
*
@@ -54,6 +66,10 @@ public class NonInitialCommands {
/**
* Create a chained operator.
*
+ * @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 operator.
*
@@ -73,6 +89,10 @@ public class NonInitialCommands {
/**
* Create a postfix operator.
*
+ * @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 operator.
*
@@ -87,6 +107,10 @@ public class NonInitialCommands {
*
* This is an operator in form similar to array indexing.
*
+ * @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 this operator
*
@@ -113,6 +137,10 @@ public class NonInitialCommands {
*
* This is like C's ?: operator.
*
+ * @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 operator.
*