summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/javacc
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-02-02 15:02:17 +0000
committerArne Juul <arnej@yahooinc.com>2023-02-02 15:02:17 +0000
commita57d9c0a3149cbeb8680065ee143e605f5af0744 (patch)
tree485a2fb54450c9e8c19fa04ec4a34177fb096504 /config-model/src/main/javacc
parent3cfb3337ba83d4cf69df70dd219c2268a95f852d (diff)
container-phase -> global-phase
Diffstat (limited to 'config-model/src/main/javacc')
-rw-r--r--config-model/src/main/javacc/SchemaParser.jj20
1 files changed, 10 insertions, 10 deletions
diff --git a/config-model/src/main/javacc/SchemaParser.jj b/config-model/src/main/javacc/SchemaParser.jj
index 888e5ffb665..fa9d34139ea 100644
--- a/config-model/src/main/javacc/SchemaParser.jj
+++ b/config-model/src/main/javacc/SchemaParser.jj
@@ -279,7 +279,7 @@ TOKEN :
| < MAXHITS: "max-hits" >
| < FIRSTPHASE: "first-phase" >
| < SECONDPHASE: "second-phase" >
-| < CONTAINERPHASE: "container-phase" >
+| < GLOBALPHASE: "global-phase" >
| < MACRO: "macro" >
| < INLINE: "inline" >
| < ARITY: "arity" >
@@ -1707,7 +1707,7 @@ void rankProfileItem(ParsedSchema schema, ParsedRankProfile profile) : { }
| rankFeatures(profile)
| rankProperties(profile)
| secondPhase(profile)
- | containerPhase(profile)
+ | globalPhase(profile)
| inputs(profile)
| constants(schema, profile)
| matchFeatures(profile)
@@ -1926,28 +1926,28 @@ void secondPhaseItem(ParsedRankProfile profile) :
}
/**
- * Consumes the container-phase block of a rank profile.
+ * Consumes the global-phase block of a rank profile.
*
* @param profile The rank profile to modify.
*/
-void containerPhase(ParsedRankProfile profile) : { }
+void globalPhase(ParsedRankProfile profile) : { }
{
- <CONTAINERPHASE> lbrace() (containerPhaseItem(profile) (<NL>)*)* <RBRACE>
+ <GLOBALPHASE> lbrace() (globalPhaseItem(profile) (<NL>)*)* <RBRACE>
}
/**
- * Consumes a statement for a container-phase block.
+ * Consumes a statement for a global-phase block.
*
* @param profile The rank profile to modify.
*/
-void containerPhaseItem(ParsedRankProfile profile) :
+void globalPhaseItem(ParsedRankProfile profile) :
{
String expression;
int rerankCount;
}
{
- ( expression = expression() { profile.setContainerPhaseExpression(expression); }
- | (<RERANKCOUNT> <COLON> rerankCount = integer()) { profile.setContainerPhaseRerankCount(rerankCount); }
+ ( expression = expression() { profile.setGlobalPhaseExpression(expression); }
+ | (<RERANKCOUNT> <COLON> rerankCount = integer()) { profile.setGlobalPhaseRerankCount(rerankCount); }
)
}
@@ -2585,7 +2585,7 @@ String identifier() : { }
| <CONSTANT>
| <CONSTANTS>
| <CONTEXT>
- | <CONTAINERPHASE>
+ | <GLOBALPHASE>
| <CREATEIFNONEXISTENT>
| <DENSEPOSTINGLISTTHRESHOLD>
| <DESCENDING>