summaryrefslogtreecommitdiff
path: root/JPratt/src/main/java/bjc/pratt/ParserContext.java
diff options
context:
space:
mode:
Diffstat (limited to 'JPratt/src/main/java/bjc/pratt/ParserContext.java')
-rw-r--r--JPratt/src/main/java/bjc/pratt/ParserContext.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/JPratt/src/main/java/bjc/pratt/ParserContext.java b/JPratt/src/main/java/bjc/pratt/ParserContext.java
index 1697a12..162c5cf 100644
--- a/JPratt/src/main/java/bjc/pratt/ParserContext.java
+++ b/JPratt/src/main/java/bjc/pratt/ParserContext.java
@@ -2,14 +2,14 @@ package bjc.pratt;
/**
* Represents the contextual state passed to a command.
- *
+ *
* @author EVE
*
* @param <K>
* The key type of the tokens.
* @param <V>
* The value type of the tokens.
- *
+ *
* @param <C>
* The state type of the parser.
*/
@@ -29,17 +29,17 @@ public class ParserContext<K, V, C> {
/**
* Create a new parser context.
- *
+ *
* @param tokns
* The source of tokens.
- *
+ *
* @param prse
* The parser to call for sub expressions.
- *
+ *
* @param stte
* Any state needing to be kept during parsing.
*/
- public ParserContext(TokenStream<K, V> tokns, PrattParser<K, V, C> prse, C stte) {
+ public ParserContext(final TokenStream<K, V> tokns, final PrattParser<K, V, C> prse, final C stte) {
this.tokens = tokns;
this.parse = prse;
this.state = stte;