diff options
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/parserutils')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/parserutils/AST.java | 10 | ||||
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/parserutils/ShuntingYard.java | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/parserutils/AST.java b/BJC-Utils2/src/main/java/bjc/utils/parserutils/AST.java index 943d177..52248f0 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/parserutils/AST.java +++ b/BJC-Utils2/src/main/java/bjc/utils/parserutils/AST.java @@ -90,8 +90,10 @@ public class AST<T> { /** * Collapse this tree into a single node - * @param <E> The final value of the collapsed tree - * @param <T2> + * + * @param <E> + * The final value of the collapsed tree + * @param <T2> * * @param tokenTransform * The function to transform nodes into data @@ -199,7 +201,9 @@ public class AST<T> { /** * Transmute the tokens in an AST into a different sort of token - * @param <E> The type of the transformed tokens + * + * @param <E> + * The type of the transformed tokens * * @param tokenTransformer * The transform to run on the tokens diff --git a/BJC-Utils2/src/main/java/bjc/utils/parserutils/ShuntingYard.java b/BJC-Utils2/src/main/java/bjc/utils/parserutils/ShuntingYard.java index b5f48e7..8dfe9fa 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/parserutils/ShuntingYard.java +++ b/BJC-Utils2/src/main/java/bjc/utils/parserutils/ShuntingYard.java @@ -82,7 +82,8 @@ public class ShuntingYard<E> { * * @param tok * The token representing the operator - * @param i The precedence of the operator to add + * @param i + * The precedence of the operator to add */ public void addOp(String tok, int i) { this.addOp(tok, IPrecedent.newSimplePrecedent(i)); |
