From e9e0ca7bfe722375e7ccb25d2bafbe395b6c6a59 Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Tue, 6 Oct 2020 19:16:26 -0400 Subject: Info cleanup --- src/main/java/bjc/rgens/parser/RGrammarSet.java | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/main/java/bjc/rgens/parser/RGrammarSet.java') 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 exportedRules; - /* Contains which file a grammar was loaded from. */ + /** + * Contains which file a grammar was loaded from. + */ public Map 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<>(); -- cgit v1.2.3