diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-09-22 12:31:18 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-09-22 12:31:18 -0300 |
| commit | 7dea5e48d15b0e6bf590838aad3d0787aa9c4c89 (patch) | |
| tree | de74103da866bfb0a7b6b116dc3804a0faa719ad | |
| parent | c8a6453a0a4284f58e2060d9fab06c8e55fecee7 (diff) | |
Formatting
| -rw-r--r-- | dice-lang/src/bjc/dicelang/Shunter.java | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/dice-lang/src/bjc/dicelang/Shunter.java b/dice-lang/src/bjc/dicelang/Shunter.java index d9025c1..547f379 100644 --- a/dice-lang/src/bjc/dicelang/Shunter.java +++ b/dice-lang/src/bjc/dicelang/Shunter.java @@ -44,30 +44,31 @@ import bjc.utils.funcdata.IMap; * */ public class Shunter { - // The binary operators and their - // priorities + /* The binary operators and their priorities. */ IMap<Token.Type, Integer> ops; - /* - * Operators that are right-associative - */ + /* Operators that are right-associative */ Set<Token.Type> rightAssoc; - /* - * Operators that aren't associative - */ + /* Operators that aren't associative */ Set<Token.Type> notAssoc; - // Unary operators that can only be - // applied to non-operator tokens and yield operator tokens + /* + * Unary operators that can only be applied to non-operator tokens and + * yield operator tokens. + */ Set<Token.Type> unaryAdjectives; - // Unary operators that can only be - // applied to operator tokens and yield operator tokens + /* + * Unary operators that can only be applied to operator tokens and yield + * operator tokens. + */ Set<Token.Type> unaryAdverbs; - // Unary operators that can only be - // applied to operator tokens and yield data tokens + /* + * Unary operators that can only be applied to operator tokens and yield + * data tokens + */ Set<Token.Type> unaryGerunds; /** |
