summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/NonInitialCommand.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2017-04-10 16:49:54 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2017-04-10 16:49:54 -0400
commit56f07e9a3aaa873fe385d224f088f048dbafa8f7 (patch)
tree64fae78f95fd1c233689ecf3dda2e2b645bb8d33 /JPratt/src/main/java/bjc/pratt/NonInitialCommand.java
parent251419e1f0ab8eb04d21287b708b06a552f4c58a (diff)
Cleanup
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/NonInitialCommand.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/NonInitialCommand.java26
1 files changed, 13 insertions, 13 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/NonInitialCommand.java b/JPratt/src/main/java/bjc/pratt/NonInitialCommand.java
index 3f6512d..bb1aa5b 100644
--- a/JPratt/src/main/java/bjc/pratt/NonInitialCommand.java
+++ b/JPratt/src/main/java/bjc/pratt/NonInitialCommand.java
@@ -5,15 +5,15 @@ import bjc.utils.parserutils.ParserException;
/**
* Represents a non-initial command in parsing.
- *
+ *
* @author EVE
- *
+ *
* @param <K>
* The key type for the tokens.
- *
+ *
* @param <V>
* The value type for the tokens.
- *
+ *
* @param <C>
* The state type of the parser.
*
@@ -21,17 +21,17 @@ import bjc.utils.parserutils.ParserException;
public abstract class NonInitialCommand<K, V, C> {
/**
* Construct the left denotation of this command.
- *
+ *
* @param operand
* The left-hand operand of this command.
* @param operator
* The operator for this command.
- *
+ *
* @param ctx
* The state needed for commands.
- *
+ *
* @return The tree this command forms.
- *
+ *
* @throws ParserException
* If something went wrong during parsing.
*/
@@ -40,21 +40,21 @@ public abstract class NonInitialCommand<K, V, C> {
/**
* Get the left-binding power of this command.
- *
+ *
* This represents the general precedence of this command.
- *
+ *
* @return The left-binding power of this command.
*/
public abstract int leftBinding();
/**
* Get the next-binding power of this command.
- *
+ *
* This represents the highest precedence of command this command can be
* the left operand of.
- *
+ *
* This is the same as the left-binding power by default.
- *
+ *
* @return The next-binding power of this command.
*/
public int nextBinding() {