diff options
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/NonInitialCommand.java')
| -rw-r--r-- | JPratt/src/main/java/bjc/pratt/NonInitialCommand.java | 26 |
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() { |
