summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/rgens/parser/LoadOptions.java
blob: 1af09235b32daa73310dcb727a8912d4adf3c630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package bjc.rgens.parser;

import java.nio.file.Path;

/**
 * Options used during the loading of config sets and config set related things.
 * 
 * @author Ben Culkin.
 */
public class LoadOptions {
	/**
	 * Should timings be tracked?
	 */
	public boolean doPerf;

	/**
	 * Should debug stats be tracked?
	 */
	public boolean doDebug;

	/**
	 * Should trace stats be tracked?
	 */
	public boolean doTrace;

	/**
	 * The default grammar set name.
	 */
	public String defName;

	/**
	 * The path the current file is in.
	 */
	public Path parent;

	/**
	 * The file the current config set is being loaded from.
	 */
	public Path cfgFile;

	/**
	 * The config set being loaded.
	 */
	public ConfigSet cfgSet;

	/**
	 * The grammar set being loaded.
	 */
	public RGrammarSet gramSet;
}