@@ -29,7 +29,7 @@ options {
29
29
*
30
30
* Since the tokens/modes are in development, simply define them under the
31
31
* "// in development section" and follow the section comments in that section.
32
- * That is use the DEV_ prefix and use the {isDevVersion()}? conditional.
32
+ * That is use the DEV_ prefix and use the {this. isDevVersion()}? conditional.
33
33
* They are defined at the end of the file, to minimize the impact on the existing
34
34
* token types.
35
35
*
@@ -80,15 +80,15 @@ WHERE : 'where' -> pushMode(EXPRESSION_MODE);
80
80
// Before adding a new in-development command, to sandbox the behavior when running in production environments
81
81
//
82
82
// For example: to add myCommand use the following declaration:
83
- // DEV_MYCOMMAND : {isDevVersion()}? 'mycommand' -> ...
83
+ // DEV_MYCOMMAND : {this. isDevVersion()}? 'mycommand' -> ...
84
84
//
85
85
// Once the command has been stabilized, remove the DEV_ prefix and the {}? conditional and move the command to the
86
86
// main section while preserving alphabetical order:
87
87
// MYCOMMAND : 'mycommand' -> ...
88
- DEV_INLINESTATS : {isDevVersion()} ? ' inlinestats' -> pushMode(EXPRESSION_MODE );
89
- DEV_LOOKUP : {isDevVersion()} ? ' lookup' -> pushMode(LOOKUP_MODE );
90
- DEV_MATCH : {isDevVersion()} ? ' match' -> pushMode(EXPRESSION_MODE );
91
- DEV_METRICS : {isDevVersion()} ? ' metrics' -> pushMode(METRICS_MODE );
88
+ DEV_INLINESTATS : {this. isDevVersion()} ? ' inlinestats' -> pushMode(EXPRESSION_MODE );
89
+ DEV_LOOKUP : {this. isDevVersion()} ? ' lookup' -> pushMode(LOOKUP_MODE );
90
+ DEV_MATCH : {this. isDevVersion()} ? ' match' -> pushMode(EXPRESSION_MODE );
91
+ DEV_METRICS : {this. isDevVersion()} ? ' metrics' -> pushMode(METRICS_MODE );
92
92
93
93
//
94
94
// Catch-all for unrecognized commands - don't define any beyond this line
@@ -211,7 +211,7 @@ SLASH : '/';
211
211
PERCENT : ' %' ;
212
212
213
213
// move it in the main section if the feature gets promoted
214
- DEV_MATCH_OP : {isDevVersion()} ? DEV_MATCH -> type(DEV_MATCH );
214
+ DEV_MATCH_OP : {this. isDevVersion()} ? DEV_MATCH -> type(DEV_MATCH );
215
215
216
216
NAMED_OR_POSITIONAL_PARAM
217
217
: PARAM (LETTER | UNDERSCORE ) UNQUOTED_ID_BODY *
0 commit comments