diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-09-05 17:19:53 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2018-09-05 17:19:53 -0300 |
| commit | 85b81988facc919908d522bd5a7b9ff99cef8f2d (patch) | |
| tree | a91d67b0b05d7d70902a5982c2750c3178e0f4d4 /src | |
| parent | 1116d8450c0115ebb8a4201d130d2de6d5b1a107 (diff) | |
Comment
Diffstat (limited to 'src')
| -rwxr-xr-x | src/main/java/bjc/rgens/parser/RGrammarParser.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/java/bjc/rgens/parser/RGrammarParser.java b/src/main/java/bjc/rgens/parser/RGrammarParser.java index 3fe4886..4014baa 100755 --- a/src/main/java/bjc/rgens/parser/RGrammarParser.java +++ b/src/main/java/bjc/rgens/parser/RGrammarParser.java @@ -619,6 +619,23 @@ public class RGrammarParser { doChance = true; } else if (partToAdd.matches("\\<\\<\\>")) { + /* + * @NOTE + * + * One, am I even using this feature anywhere? + * As far as I can tell, this says to apply the + * current set of case part rules to the + * previous case part. This may be useful in + * certain cases, but none come to mind at the + * moment. + * + * @PERF + * + * For performance reasons, we may want to + * consider setting the chance/serial values as + * a setting on CaseElement, instead of having + * their own CaseElement type. + */ CaseElement elm = caseParts.popLast(); if(repCount == 0) { |
