()
| 3119 | // case the caller must call `this.prodParam.exit()`. |
| 3120 | // Lets hot-path callers manage the frame without allocating a closure. |
| 3121 | enterAllowIn(): boolean { |
| 3122 | const flags = this.prodParam.currentFlags(); |
| 3123 | const prodParamToSet = |
| 3124 | (ParamKind.PARAM_IN | ParamKind.PARAM_NOT_FSHARP_PIPELINE_DIRECT_BODY) & |
| 3125 | ~flags; |
| 3126 | if (prodParamToSet) { |
| 3127 | this.prodParam.enter( |
| 3128 | flags | |
| 3129 | ParamKind.PARAM_IN | |
| 3130 | ParamKind.PARAM_NOT_FSHARP_PIPELINE_DIRECT_BODY, |
| 3131 | ); |
| 3132 | return true; |
| 3133 | } |
| 3134 | return false; |
| 3135 | } |
| 3136 | |
| 3137 | // Same as `enterAllowIn`, but with [~In]. |
| 3138 | enterDisallowIn(): boolean { |
nothing calls this directly
no test coverage detected