diff options
| author | Ben Culkin <scorpress@gmail.com> | 2020-10-06 19:16:26 -0400 |
|---|---|---|
| committer | Ben Culkin <scorpress@gmail.com> | 2020-10-06 19:16:26 -0400 |
| commit | e9e0ca7bfe722375e7ccb25d2bafbe395b6c6a59 (patch) | |
| tree | 8e8e556724683d4d10d7da1f3e85705a50ae33c6 /src/main/java/bjc/rgens/parser/RGrammarSet.java | |
| parent | a3ea557c0b7204f56b1499687cc7f82c5b1677a5 (diff) | |
Info cleanup
Diffstat (limited to 'src/main/java/bjc/rgens/parser/RGrammarSet.java')
| -rwxr-xr-x | src/main/java/bjc/rgens/parser/RGrammarSet.java | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/src/main/java/bjc/rgens/parser/RGrammarSet.java b/src/main/java/bjc/rgens/parser/RGrammarSet.java index 05823ec..c87c02a 100755 --- a/src/main/java/bjc/rgens/parser/RGrammarSet.java +++ b/src/main/java/bjc/rgens/parser/RGrammarSet.java @@ -14,10 +14,19 @@ import java.util.TreeMap; * @author EVE */ public class RGrammarSet { + /** + * The name for this grammar set. + */ public String name; + /** + * The config set this grammar set belongs to. + */ public ConfigSet belongsTo; + /** + * The grammar which contains the exports of this grammar set. + */ public RGrammar exportGrammar; /* Contains all the grammars in this set. */ @@ -26,17 +35,21 @@ public class RGrammarSet { /* Contains all the exported rules from grammars. */ private Map<String, Rule> exportedRules; - /* Contains which file a grammar was loaded from. */ + /** + * Contains which file a grammar was loaded from. + */ public Map<String, String> loadedFrom; - /* @NOTE These are replaced by the logging setup */ - public static final boolean PERF = true; - /** Create a new set of randomized grammars. */ public RGrammarSet() { this(false); } + /** + * Create a new set of randomized grammars. + * + * @param orderExports Should the exports be ordered? + */ public RGrammarSet(boolean orderExports) { grammars = new HashMap<>(); |
