rename to System.environment
This commit is contained in:
parent
4b9b071419
commit
91e59fe3eb
|
@ -22,7 +22,7 @@ let rec fromNode = (node: Parse.node): expression => {
|
||||||
let callIdentifier = nodeCallIdentifier["value"]
|
let callIdentifier = nodeCallIdentifier["value"]
|
||||||
// `callIdentifier ${callIdentifier}`->Js.log
|
// `callIdentifier ${callIdentifier}`->Js.log
|
||||||
let callValue = switch callIdentifier {
|
let callValue = switch callIdentifier {
|
||||||
| "withEnvironmentSampleCount" => "$$_withEnvironmentSampleCount_$$"
|
| "Environment.withSampleCount" => "$$_withEnvironmentSampleCount_$$"
|
||||||
| callName => callName
|
| callName => callName
|
||||||
}
|
}
|
||||||
ExpressionBuilder.eCall(callValue)
|
ExpressionBuilder.eCall(callValue)
|
||||||
|
@ -33,7 +33,7 @@ let rec fromNode = (node: Parse.node): expression => {
|
||||||
let identifier = nodeIdentifier["value"]
|
let identifier = nodeIdentifier["value"]
|
||||||
// `caseIdentifier ${identifier}`->Js.log
|
// `caseIdentifier ${identifier}`->Js.log
|
||||||
switch identifier {
|
switch identifier {
|
||||||
| "environment" => "$$_environment_$$"->ExpressionBuilder.eFunction(list{})
|
| "System.environment" => "$$_environment_$$"->ExpressionBuilder.eFunction(list{})
|
||||||
| symbol => symbol->ExpressionBuilder.eSymbol
|
| symbol => symbol->ExpressionBuilder.eSymbol
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user