-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfiguration.js
42 lines (35 loc) · 1.18 KB
/
Configuration.js
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
/**
* Written by Nommiin - https://github.com/Nommiin
*/
class Configuration {
/**
* @description The name of the program, used by Logger.js
*/
static PROGRAM_NAME = "brief";
/**
* @description If true, FileEditor will write changes to files with ".test" appended to their filename
*/
static USE_TEST = true;
/**
* @description If true, Processor will save processed tokens to "tokens.json" token; useful for debugging
*/
static WRITE_TOKENS = true;
/**
* @description Spacing character used for writing generated code
*/
static SPACING = " ";
/**
* @description If true, scanner class will retain "Semicolon" tokens
*/
static KEEP_SEMICOLONS = true;
/**
* @description If true, scanner class will retain "Comment" and "CommentMultiline" tokens
*/
static KEEP_COMMENTS = true;
/**
* @description Keyword/macro used for marking wrapper functions
*/
static WRAPPER_DEF = "GMFUNC";
}
module.exports = Configuration;
if (!global["__program_main"]) if (!global["__program_warn"]) {global["__program_warn"]=1;console.error("Please execute the program by running main.js");}