Add support for the "Hack" pipeline proposal (#13191)

Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
This commit is contained in:
J. S. Choi
2021-06-02 17:53:55 -04:00
committed by Nicolò Ribaudo
parent 885e1e02f5
commit 6276853eb9
675 changed files with 7126 additions and 496 deletions

View File

@@ -64,7 +64,6 @@ export default class State {
// Flags to track
maybeInArrowParameters: boolean = false;
inPipeline: boolean = false;
inType: boolean = false;
noAnonFunctionType: boolean = false;
inPropertyName: boolean = false;
@@ -72,13 +71,13 @@ export default class State {
isAmbientContext: boolean = false;
inAbstractClass: boolean = false;
// For the smartPipelines plugin:
// For the Hack-style pipelines plugin
topicContext: TopicContextState = {
maxNumOfResolvableTopics: 0,
maxTopicIndex: null,
};
// For the F# plugin
// For the F#-style pipelines plugin
soloAwait: boolean = false;
inFSharpPipelineDirectBody: boolean = false;