Moved TreansformFlags assertions after markers

This commit is contained in:
Ron Buckton 2016-02-09 11:43:25 -08:00
parent 1a0b877873
commit 51dd27a7ec

View File

@ -2749,13 +2749,6 @@ namespace ts {
ES6 = 1 << 6,
ContainsES6 = 1 << 7,
// Assertions
// - Bitmasks that are used to assert facts about the syntax of a node and its subtree.
AssertTypeScript = TypeScript | ContainsTypeScript,
AssertJsx = Jsx | ContainsJsx,
AssertES7 = ES7 | ContainsES7,
AssertES6 = ES6 | ContainsES6,
// Markers
// - Flags used to indicate that a subtree contains a specific transformation.
ContainsDecorators = 1 << 8,
@ -2767,6 +2760,13 @@ namespace ts {
ContainsSpreadElementExpression = 1 << 14,
ContainsComputedPropertyName = 1 << 15,
// Assertions
// - Bitmasks that are used to assert facts about the syntax of a node and its subtree.
AssertTypeScript = TypeScript | ContainsTypeScript,
AssertJsx = Jsx | ContainsJsx,
AssertES7 = ES7 | ContainsES7,
AssertES6 = ES6 | ContainsES6,
// Scope Exclusions
// - Bitmasks that exclude flags from propagating out of a specific context
// into the subtree flags of their container.