TypeScript-TmLanguage/tests/cases
Evan Wallace 48f608692a
Support "Arbitrary Module Namespace Identifiers" (#1030)
* Support "Arbitrary Module Namespace Identifiers"

* Use `quotedStrings` instead of `aliasString`
2024-10-24 13:10:30 -07:00
..
Abstracts.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
ArrowFunctionInsideTypeAssertion.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
AsConstSatisfies.ts fix #956: the case like `as const satisfies T` (#958) 2023-01-31 09:53:24 -08:00
Comments.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
FunctionMethodOverloads.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
FunctionMethodParameters.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
FunctionMethodReturnTypes.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue3.ts Fix the regex start 2016-09-09 10:03:49 -07:00
Issue5.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue10.ts Computed property names 2016-08-26 12:54:39 -07:00
Issue11.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue22.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue28.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue32.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue36.ts Add support for method declaration as object member 2016-08-24 17:06:18 -07:00
Issue37.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue42.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue43.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue44.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue59.ts Treat the expression after as operator as Type 2016-09-13 10:43:37 -07:00
Issue62.ts < followed by default can be cast or arrow type parameter 2016-09-22 09:09:06 -07:00
Issue63.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue64.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue65.ts Handle comments inside type 2016-09-08 10:56:06 -07:00
Issue66.tsx Few test cases for #202, #247, #66, #88 2016-08-31 16:58:36 -07:00
Issue77.ts Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
Issue82.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue87.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue88.tsx Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
Issue89.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue90.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue96.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue110.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue112.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue114.ts Support string literal type 2016-09-01 12:02:58 -07:00
Issue115.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue119.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue124.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue131.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue133.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue135.ts Support Import equals and import declarations 2016-08-24 11:39:50 -07:00
Issue139.ts new operator can end at another new operator 2016-09-13 12:04:08 -07:00
Issue142.ts Arrow function bodies and minimal return type support 2016-08-30 16:13:37 -07:00
Issue143.ts Support decorators 2016-08-25 11:41:39 -07:00
Issue146.ts Support generators syntax and fix the scoping of type parameter end 2016-08-31 11:21:34 -07:00
Issue148.ts Support decorators 2016-08-25 11:41:39 -07:00
Issue149.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue152.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue153.ts Fix the method return type, handle return type that is object type and object type's field declaration's type annotation 2016-08-17 15:00:09 -07:00
Issue154.ts Computed property names 2016-08-26 12:54:39 -07:00
Issue155.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue156.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue157.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue158.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue161.tsx Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
Issue163.ts Add support for method declaration as object member 2016-08-24 17:06:18 -07:00
Issue166.ts Handle type alias declaration spanning multiple lines 2016-09-19 13:55:51 -07:00
Issue171.ts constructor and new keyword do start the constructor/new signature independent of presence of ( 2016-09-26 13:53:01 -07:00
Issue172.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue175.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue177.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue178.ts Test case for #203 and #178 2016-09-01 11:42:27 -07:00
Issue180.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue182.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue183.ts Arrow function bodies and minimal return type support 2016-08-30 16:13:37 -07:00
Issue186.ts Adding test for already fixed bug 2016-08-26 16:32:42 -07:00
Issue187.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue191.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue193.ts Adding test for already fixed bug 2016-08-26 16:32:42 -07:00
Issue197.ts Indexer is something that has identifier(parameter) followed by [ with or without type annotation 2016-09-26 16:16:11 -07:00
Issue198.ts Dont treat start of new line as regex since it could be continuing expression 2016-09-13 10:51:04 -07:00
Issue200.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue202.tsx Few test cases for #202, #247, #66, #88 2016-08-31 16:58:36 -07:00
Issue203.ts Test case for #203 and #178 2016-09-01 11:42:27 -07:00
Issue206.ts Handle type alias declaration spanning multiple lines 2016-09-19 13:55:51 -07:00
Issue208.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue212.ts Make sure the identifiers are handled with . and $ 2016-09-06 14:54:08 -07:00
Issue215.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue216.ts Arrow function bodies and minimal return type support 2016-08-30 16:13:37 -07:00
Issue217.ts Support decorators 2016-08-25 11:41:39 -07:00
Issue218.ts Computed property names 2016-08-26 12:54:39 -07:00
Issue219.ts Destructuring variable declaration 2016-08-24 16:09:53 -07:00
Issue221.ts Use expression as one of the rule in class body to pick up assignments to field declaration that are not on the same line 2016-09-26 14:24:54 -07:00
Issue223.ts Optimize the TypeArguments of function call regex 2016-09-01 14:45:47 -07:00
Issue226.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue230.ts Fix the new expression end regex 2016-08-31 16:48:13 -07:00
Issue232.ts Fix the for of declarations 2016-09-07 15:36:30 -07:00
Issue235.ts Support decorators 2016-08-25 11:41:39 -07:00
Issue236.ts Computed property names 2016-08-26 12:54:39 -07:00
Issue237.ts Include comments in type declaration 2016-08-17 16:17:57 -07:00
Issue239.tsx Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
Issue241.ts Fix the return type of function type when it is tuple or object type 2016-08-17 15:56:00 -07:00
Issue243.ts Fix the regex start 2016-09-09 10:03:49 -07:00
Issue244.ts Fix the end of ternary expression 2016-09-06 14:55:33 -07:00
Issue247.tsx Few test cases for #202, #247, #66, #88 2016-08-31 16:58:36 -07:00
Issue248.ts Fix the new expression end regex 2016-08-31 16:48:13 -07:00
Issue249.ts Arrow functions 2016-08-30 12:35:50 -07:00
Issue250.ts Fix the new expression end regex 2016-08-31 16:48:13 -07:00
Issue251.ts Fix function call type parameters 2016-09-01 14:09:14 -07:00
Issue252.ts Variable scope can end with block end 2016-08-31 13:06:52 -07:00
Issue262.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue264.tsx Make tags accomodate spaces 2016-09-21 16:48:43 -07:00
Issue276.ts Update jsdoc type and variable recognition 2016-09-29 14:41:22 -07:00
Issue280.tsx Rename the scope of jsx evaluated code to meta.embedded.expression 2016-10-03 11:06:29 -07:00
Issue283.tsx Distinguish between jsx-tag start from expression vs from jsx children, 2016-10-04 11:13:52 -07:00
Issue285.ts new/constructor followed by ':' are not methods 2016-10-03 10:21:22 -07:00
Issue288.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue292.ts Add test case when last property of object literal is short hand property assignment 2016-10-07 10:41:48 -07:00
Issue294.ts Adding test case for when case block starts on new line 2016-10-07 15:23:32 -07:00
Issue304.ts No need to check the context for arrow since we are already speculating it based on => 2016-10-11 12:41:01 -07:00
Issue305.ts Fix the modifier detection for fields and parameters 2016-10-11 12:30:14 -07:00
Issue307.ts Simplify variable and destructuring pattern 2016-10-12 10:48:50 -07:00
Issue314.ts As operator can end at ':' if its part of ternary operation 2016-10-17 16:54:00 -07:00
Issue318.ts Add a backup check for complete regexp expression 2016-10-17 17:16:40 -07:00
Issue321.ts Consume parenthesis of new and function call so that they dont participate in arrow detection 2016-10-18 11:32:26 -07:00
Issue322.ts Scope out enum members explicitly so as to avoid using support variable names for them 2016-10-20 09:12:26 -07:00
Issue326.ts Allow expression in class inheritance 2016-10-25 16:38:24 -07:00
Issue334.ts When looking ahead for probable function assignment handle the case function( 2016-10-26 10:55:20 -07:00
Issue335.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue337.ts Parse comment line shebang 2016-10-27 10:11:15 -07:00
Issue338.ts Allow Array literals inside the computed property name 2016-11-01 13:15:01 -07:00
Issue339.ts Allow class expression as part of new expression target 2016-11-01 13:23:06 -07:00
Issue343.ts Capture the arithmetic sign after the variable so that it isnt captured as regex 2016-11-07 10:50:59 -08:00
Issue344.tsx Consume support functions during function call scoping so that in tsx the typeparameters are not assumed to be tags 2016-11-08 10:52:24 -08:00
Issue346.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
Issue347.ts Stop consuming spaces when determining function type and parenthesized type 2016-11-07 11:44:25 -08:00
Issue351.tsx Consume support functions during function call scoping so that in tsx the typeparameters are not assumed to be tags 2016-11-08 10:52:24 -08:00
Issue356.ts Fix the regex lookup to fix #356 2016-11-17 16:27:28 -08:00
Issue357.tsx Fix the regex for tag detection to handle ternary operator 2016-11-18 14:32:27 -08:00
Issue359.ts Fix the computerd property name regex when there is template string containing [] 2016-11-18 15:44:17 -08:00
Issue361.ts Pull out object literal method separately so that constructor and new syntax doesnt play into it. 2016-11-18 15:14:21 -08:00
Issue365.ts Match multiple modifiers in the parameter name 2016-11-21 11:58:03 -08:00
Issue366.ts Fix the nested ternary operator 2016-11-22 09:51:21 -08:00
Issue368.ts Change the constant's scope from constant.other to variable.other.constant 2016-12-06 14:42:30 -08:00
Issue375.ts Treat the < at the begining of the line as cast operator as it is most likely to be cast rather than relational operator 2016-12-06 12:53:14 -08:00
Issue376.ts Include type in object member syntax of object type to pick left over type annotations on new line 2016-12-06 12:53:18 -08:00
Issue377.ts / followed by parenthesized expression is arithmetic division instead of start of regexp 2016-12-08 11:38:20 -08:00
Issue379.ts Treat the { in the class body as decl block. 2016-12-12 15:13:15 -08:00
Issue380.ts Do not treat namespace as namespace declaration if it doesnt follow with the name 2016-12-12 11:42:57 -08:00
Issue381.ts Handle the end of the new expression as look ahead of } as it can be possible in case of template expressions 2016-12-12 11:46:42 -08:00
Issue382.ts Treat the { in the class body as decl block. 2016-12-12 15:13:15 -08:00
Issue383.tsx Fix arrow function determination logic to accomodate => present on next line 2016-12-14 12:42:12 -08:00
Issue384.ts Treat the end of line as end of function declaration 2016-12-19 12:01:55 -08:00
Issue387.ts Remove the incorrect identification of function type 2017-01-03 14:24:17 -08:00
Issue388.ts End arrow return type matching after we encounter arrow 2017-01-03 14:32:57 -08:00
Issue389.ts Do not allow function expression to end with line break 2017-01-03 14:56:59 -08:00
Issue391.ts Fix the interface/class declaration detection 2017-01-03 15:02:31 -08:00
Issue393.ts Fix the precedence of literal matching so as to not mix up arrow and function call detection 2017-01-03 15:09:54 -08:00
Issue394.ts Adding test for #394 2017-01-03 15:15:29 -08:00
Issue396.ts Match yield while matching expression operators instead of during control statements 2017-01-03 15:21:16 -08:00
Issue397.ts Scope the complete function call instead of just method/function call to make sure they dont get confused with arrows 2017-01-04 09:49:27 -08:00
Issue398.ts Update the return type end regex 2017-01-09 11:18:22 -08:00
Issue402.ts Arrow lookup is ok if it is not followed by "]" because then it has to be function call 2017-01-09 11:25:34 -08:00
Issue403IncorrectlyDetectedArrowTypeParameters.ts Fix the incorrectly detected arrow function type parameters which could be just relational operations 2017-01-10 11:34:38 -08:00
Issue403IncorrectlyDetectedFunctionCallAsArrow.ts Fix the incorrect detection of arrow when it would be function call 2017-01-10 11:32:05 -08:00
Issue405.ts Handle case when function declaration is multiple lines with parameters on new line 2017-01-17 11:50:33 -08:00
Issue407.ts Add missing type annotation pattern matching for constant like variable declarations 2017-01-17 11:35:15 -08:00
Issue408.ts Do not scope support.module.node 2017-01-23 11:23:41 -08:00
Issue415.tsx Add only own grammar directive 2017-05-04 16:57:26 -07:00
Issue417.ts Handle numberic object literal keys 2017-04-20 10:53:45 -07:00
Issue418.ts Update the keyword to be recognized only if they are not followed by '.' 2017-04-20 10:21:51 -07:00
Issue420.ts Handle numberic object literal keys 2017-04-20 10:53:45 -07:00
Issue421.ts Handle '|' and '&' type operators such that they can handle new lines better 2017-04-21 14:48:39 -07:00
Issue423.ts Scope out interface, class and alias name so as to distinuish them 2017-04-24 11:15:49 -07:00
Issue427.ts Handle '|' and '&' operator in function return type when they are followed by object type 2017-04-20 10:21:46 -07:00
Issue428.ts Add special handling of arrow function end to be start of another declaration 2017-04-20 11:30:55 -07:00
Issue430.tsx Fix the type parameter regex to handle incorrect closing when arrow is present 2017-04-21 10:13:56 -07:00
Issue431.ts Modify the rest operator detection in arrow function given that there exists spread operator now 2017-04-20 10:34:11 -07:00
Issue433.ts Handle namespace declaration blocks 2017-04-20 15:14:17 -07:00
Issue434.ts Treat only expression like <Identifier> on new line as cast expression 2017-04-19 14:39:27 -07:00
Issue435.ts Update jsdoc regex to atom/language-javascript#70a6c530b8fdc678086e2883e348fb909c9e4b77 2017-04-21 16:04:51 -07:00
Issue441.ts Dont treat async on its own as arrow/function expression start 2017-04-24 10:57:09 -07:00
Issue444.ts Fix the regex look up to not valid if it is followed by ')' 2017-04-21 10:33:15 -07:00
Issue445.ts Update jsdoc regex to atom/language-javascript#70a6c530b8fdc678086e2883e348fb909c9e4b77 2017-04-21 16:04:51 -07:00
Issue450.ts Fix the cast expression detection logic to include few more expression locations that would be operator location 2017-05-08 10:04:22 -07:00
Issue452.ts End type parameter regex only on '>' 2017-05-18 10:07:43 -07:00
Issue453.ts Handle NonNullOperator with arrow function 2017-05-18 10:22:47 -07:00
Issue455.ts Handle single line comments so that they consume end of the line so that we dont use wrong lookup to determine end of syntax matching 2017-05-18 15:24:15 -07:00
Issue458.ts Handle accessors separately so as to correctly tokenize method with name 'get/set' 2017-05-24 12:06:59 -07:00
Issue460.ts Fixes unnecessary indirection of single line comment which also fixes how the new line is handled 2017-05-24 11:04:17 -07:00
Issue461.tsx Update the end of arrow expression to be anything but space or => 2017-06-02 10:36:10 -07:00
Issue463.ts Fix the end of variable initializer to be anything but \s and = 2017-06-02 10:44:45 -07:00
Issue466.ts Add scope for 'this' parameter 2017-06-02 15:22:48 -07:00
Issue468.ts Relax the string literal property name rules a bit to allow quotes in the strings 2017-06-08 09:37:58 -07:00
Issue470.ts Add detection of dynamic import call 2017-06-14 11:15:50 -07:00
Issue471.ts Better end regex for variable initializer 2017-06-13 17:45:55 -07:00
Issue472.ts Handle line endings in typennotation and return type little better 2017-06-13 18:21:38 -07:00
Issue476.ts Handle object-literal members so that it can handle computed names and string literal keys better 2017-06-22 14:22:50 -07:00
Issue477.ts Fix the generator lookup to determine if value is going to be function 2017-06-22 15:58:35 -07:00
Issue478.tsx Add the context test for jsx tag without attributes when matching in expression 2017-06-26 16:36:21 -07:00
Issue480.ts Recognize @internal in the line and block comments 2017-06-28 12:02:31 -07:00
Issue482.ts Add ] as the end for new expression 2017-07-10 12:31:29 -07:00
Issue484.ts Module declaration is not always followed by block 2017-07-10 11:49:46 -07:00
Issue485.ts Update the end of import declaration at the new line as well as end of the line 2017-07-11 10:33:20 -07:00
Issue486.ts Update class expression to accept anonymous declaration 2017-07-11 10:13:28 -07:00
Issue491.ts Fix the detection of variable declaration over multiple lines when separated by , 2017-09-13 17:09:08 -07:00
Issue496.ts Fixes the cast expression matching 2017-09-13 14:40:50 -07:00
Issue499.ts Add test for #499 2017-09-13 13:46:49 -07:00
Issue500.ts Fix the as operator detection 2017-09-13 13:44:00 -07:00
Issue502.ts Fix this literal matching with spread operator 2017-09-13 13:33:43 -07:00
Issue506.ts Fix dynamic imports matching 2017-09-13 13:21:57 -07:00
Issue510.ts Add simple variable assignment expression matching to object literal member to handle cases where the destructuring parameters of arrow are span multiple lines 2017-09-13 11:47:50 -07:00
Issue513.ts Support u flag for regexp 2017-09-11 15:49:06 -07:00
Issue515.ts Sync atom/language-javascript@6086114 2017-09-25 11:03:04 -07:00
Issue518.tsx Make sure the typeparameters arent predicted when it is expression of type < number 2017-09-13 12:48:29 -07:00
Issue521.ts Fix incorrectly detected arrow functions 2017-09-15 10:53:53 -07:00
Issue522.ts Support optional chaining 2017-12-22 13:15:50 -08:00
Issue525.ts Use more stricter return type matching for single line arrow detection 2017-09-28 09:24:59 -07:00
Issue526.ts Do not treat use expression followed by ++ as cast expression 2017-09-28 16:40:42 -07:00
Issue530.ts Modify type parameter detection so that function call gets detected correctly 2017-10-11 11:42:15 -07:00
Issue531.ts Correct the import/export matching to exclude \*|default from as clause. 2017-10-13 14:39:33 -07:00
Issue536.ts Fix the arrow parameter detection 2017-11-03 12:35:08 -07:00
Issue538.ts Update the function-call typearguments matching 2017-11-03 12:15:36 -07:00
Issue540.ts Relax the parameter matching lookup rule for arrow detection 2017-11-09 10:18:32 -08:00
Issue543.ts Fix cast expression detection 2017-11-28 17:26:46 -08:00
Issue549.ts Fix the type argument detection to match parenthesis and strings in simple cases 2017-12-08 13:34:14 -08:00
Issue550.ts Treat ( followed by new line as parameter context for arrow, falling back to expression 2017-12-14 10:58:17 -08:00
Issue551.ts Fix the handling of extends/implements clause 2017-12-14 09:30:49 -08:00
Issue554.ts Update the start and end of identifier detection 2017-12-22 11:59:37 -08:00
Issue556.ts Ignore typeannotation when matching functionorarrow assignment 2018-01-25 13:17:04 -08:00
Issue558.ts Fix the async arrow function that spans multiline 2018-03-07 12:16:24 -08:00
Issue559.ts Handle the arrows inside type arguments 2018-01-25 11:27:32 -08:00
Issue562.ts Fix the incorrect look behinds of cast expression when property name is yield 2018-01-25 12:55:16 -08:00
Issue566.ts Add numeric seperator support 2018-01-30 14:53:09 -08:00
Issue567.ts Fix arrow parameters detection 2018-01-31 14:19:21 -08:00
Issue569.ts Fix the default keyword detection in import/export clause 2018-02-08 10:06:33 -08:00
Issue571.ts Handle multiline computed or string literal name methods 2018-03-02 12:38:10 -08:00
Issue572.ts Handle inline comments 2018-03-02 13:33:56 -08:00
Issue572ForLoop.ts Fix the comments in for loop 2018-03-02 14:00:42 -08:00
Issue575.ts Fix the matching brackets to ensure that we handle tuples with array types correctly. 2018-03-02 13:02:21 -08:00
Issue578.ts Colorize right side of instance of as type 2018-03-08 09:12:00 -08:00
Issue579.ts Update the ternary expression : operator to consume leading white spaces 2018-03-12 16:15:02 -07:00
Issue580.ts Handle the "/" followed by "]" to ensure it not being treated as regex 2018-03-13 11:29:11 -07:00
Issue581.ts Scope optional methods correctly 2018-03-14 11:16:27 -07:00
Issue584.ts Enhance type arguments detection to remove some false cases 2018-03-23 16:07:36 -07:00
Issue585.tsx Handle comments in jsx 2018-03-23 15:36:04 -07:00
Issue586.ts Handle multiline import declaration 2018-03-23 15:22:10 -07:00
Issue590.ts Handle the dotted type arguments 2018-04-02 12:41:40 -07:00
Issue591.ts Fix the type tokenization of instace of 2018-04-04 11:46:40 -07:00
Issue592.ts Add return as a look ahead to end the statement 2018-04-06 16:43:48 -07:00
Issue595.ts Handle declaration block with ternary operator and switch case statement better 2018-04-09 12:36:23 -07:00
Issue598.ts Fix keyof/infer keywords as type arguments 2018-04-13 13:53:28 -07:00
Issue601.ts Fix the type parameters of arrow detection 2018-04-16 13:17:22 -07:00
Issue602.ts Fix instanceof used in ternary expresison. 2018-04-18 11:45:28 -07:00
Issue604.ts Support numeric literal in field/getter/setter/method declarations 2018-04-24 13:05:43 -07:00
Issue605.ts Fix the optional new property 2018-04-24 13:41:17 -07:00
Issue606.tsx Fix the type argument detection in tag without attributes 2018-04-27 12:53:15 -07:00
Issue607.ts Handle multiline import statement 2018-04-27 15:52:58 -07:00
Issue608.ts Handle the scenario of => ( followed by new line where we treat that as possibly arrow 2018-04-27 16:07:22 -07:00
Issue609.ts Add support scope to new.target and import.meta 2018-04-30 12:52:46 -07:00
Issue610.ts Support labels 2018-05-11 14:19:19 -07:00
Issue612.ts Fix method declaration detection when method name is string literal 2018-05-17 11:42:57 -07:00
Issue613.ts Fix multiline conditional types 2018-05-23 11:30:42 -07:00
Issue616.ts Fix parameter name detection such that it doesnt consume unnecessary leading space resulting it in taking precedence over other rules 2018-05-25 14:14:58 -07:00
Issue623.ts Fix the incorrect regexp detection 2018-06-07 10:54:05 -07:00
Issue624.tsx Uniformly handle the leading white spaces for array literal, binding patterns, method/field declarations 2018-06-07 10:32:21 -07:00
Issue625.ts Fix incorrect end lookback for labeled blocks 2018-06-07 08:53:18 -07:00
Issue626.ts Fix the arrow detection when first parameter is rest parameter 2018-06-07 09:04:13 -07:00
Issue628.ts Fix incorrect detection of keyword vs function call 2018-06-14 13:25:08 -07:00
Issue629.ts Handle the parameter name scoping in function type 2018-06-14 12:55:37 -07:00
Issue632.tsx Fix the tag with type argument detectioon when type arguments span over multiple lines 2018-07-03 13:19:52 -07:00
Issue634.ts Add keyword.control for 'package' 2018-07-10 15:23:59 -07:00
Issue635.ts Fix incorrect multi line variable declaration capture for "," 2018-07-10 15:15:57 -07:00
Issue636.tsx Handle jsx expression after yield 2018-07-12 11:12:03 -07:00
Issue637.ts When detecting arrow '<T extends' is not guaranteed to be type parameter of arrow as it could be type assertion with conditional type 2019-07-17 15:47:32 -07:00
Issue637a.ts When detecting arrow '<T extends' is not guaranteed to be type parameter of arrow as it could be type assertion with conditional type 2019-07-17 15:47:32 -07:00
Issue637b.tsx When detecting arrow '<T extends' is not guaranteed to be type parameter of arrow as it could be type assertion with conditional type 2019-07-17 15:47:32 -07:00
Issue638.ts Handle new line after var/let/const 2018-07-25 15:38:18 -07:00
Issue639.ts RegExp like pattern followed by } is not regexp 2018-07-26 13:11:42 -07:00
Issue642.ts Include export declare pattern in declaration matching 2018-08-02 09:15:34 -07:00
Issue643.ts Handle field declaration without type or assignment 2018-08-02 09:43:13 -07:00
Issue646.ts Do not consume end of line in a single line comment 2018-08-21 10:48:24 -07:00
Issue647.ts Treat spaces followed by < as ending of as operator 2018-08-21 11:38:22 -07:00
Issue650.ts Handle export declaration when its followed by comment 2018-08-21 13:31:15 -07:00
Issue651.ts Handle optional fields followed by , and no type 2018-08-21 12:13:25 -07:00
Issue652.ts Test for #652 2018-08-21 12:39:52 -07:00
Issue653.ts Allow 'export default interface' 2018-08-21 10:30:59 +02:00
Issue654.ts Fix the line ending consumption of let and var expression 2018-08-21 12:38:06 -07:00
Issue661.ts Match template strings while matching strings 2018-08-30 09:07:23 -07:00
Issue662.ts Fix incorrect export declaration detection when export is not ending the word 2018-09-04 11:39:02 -07:00
Issue663.ts Fix the function expression overload 2018-09-04 11:50:19 -07:00
Issue665.ts Fix detection of import-export clause when name is $ 2018-09-10 12:02:14 -07:00
Issue666.ts Fixes shorthand property assignment followed by comment 2018-09-17 19:27:21 -07:00
Issue667.tsx Fix incorrect detection of arrow in embedded code 2018-09-17 19:41:20 -07:00
Issue668.ts Fallback to matching strings before parameters to ensure when method call gets detected as method definition 2018-09-17 19:48:49 -07:00
Issue670.ts Handle inline comment in object literal 2018-09-19 13:03:36 -07:00
Issue672.ts Fix the lookbehind for multiline arrow to include return keyword 2018-10-01 09:16:21 -07:00
Issue673.ts Add +\- to the list to end the new expression 2018-10-12 13:27:43 -07:00
Issue674.ts Handle single line comments in arrow function 2018-10-29 10:04:10 -07:00
Issue675.ts Fixed incorrectly matched destructuring parametes in type declaration. 2018-10-29 09:46:03 -07:00
Issue677.ts Handle return type of function declaration on new line 2018-10-31 09:22:27 -07:00
Issue677arrow.ts Fix return type on new line of arrow function 2018-10-31 09:27:45 -07:00
Issue683.ts Handle variable initializer in for in loop 2018-11-09 10:01:06 -08:00
Issue684.ts Dont consume space after cast expression 2018-11-20 09:04:37 -08:00
Issue685.ts Add typeof to type argument start detection 2018-11-20 08:49:05 -08:00
Issue686.ts Handle inline comment inside arrow parenthesis 2018-11-20 15:51:04 -08:00
Issue687.ts Fix incorrect constructor type's type parameter detection 2018-11-29 10:10:12 -08:00
Issue688.ts Support custom jsdoc tags 2018-11-29 10:48:36 -08:00
Issue689.ts Dont identify x ? as optional parameter in possible multiline arrow unless its followed by type annotation or assigment 2018-11-29 10:32:25 -08:00
Issue692.ts Fix in correctly detecting arrow type argument end with as => 2018-12-04 11:11:41 -08:00
Issue695.ts Handle type arguments and type parameters when matching type correctly 2018-12-13 11:09:09 -08:00
Issue698.ts Handle one more level of typearguments 2018-12-18 11:28:21 -08:00
Issue701.ts Add support for definite assignment operator 2019-01-02 16:09:56 -08:00
Issue702.ts Handle new line in variable initializer when expression ends with arrow operator 2019-01-02 16:37:12 -08:00
Issue711.ts Add numberic literal and regex in binding element matching as it might be needed when matching arrow expression spaned on multiple lines 2019-01-22 10:26:11 -08:00
Issue715.ts Fix multiline type annotation in parameters 2019-01-29 14:22:02 -08:00
Issue717.ts Fix incorrect regexp matching when followed by comment 2019-02-06 13:01:45 -08:00
Issue720.ts Fix the method declaration detection to handle complete typeparameter list on single line 2019-03-20 13:00:19 -07:00
Issue721.ts Match anything following ternary ':' as expression in class body as fallback 2019-03-20 12:11:29 -07:00
Issue724.ts Match anything following ternary ':' as expression in class body as fallback 2019-03-20 12:11:29 -07:00
Issue727.ts Fix matching of method template tags 2019-03-19 14:45:15 -07:00
Issue728.ts Allow abstract class expression 2019-03-07 15:12:14 -08:00
Issue730.ts Scope length method correctly 2019-03-19 14:27:19 -07:00
Issue732.ts Match regexp followed by if expression with special casing 2019-03-19 14:11:51 -07:00
Issue737.ts Fix regexp detection when followed by return keyword 2019-04-26 15:38:04 -07:00
Issue741.ts Fix detection of end of if statement without semicolon 2019-04-25 15:39:51 -07:00
Issue743.ts Fix readonly modifier detection when its followed by object type 2019-04-23 12:27:16 -07:00
Issue744.ts Increase one more level of <> detection in typeparameters 2019-07-11 14:32:18 -07:00
Issue748.ts When detecting arrow '<T extends' is not guaranteed to be type parameter of arrow as it could be type assertion with conditional type 2019-07-17 15:47:32 -07:00
Issue750.ts Handle inline comments when detecting arithmetic operator followed by number 2019-07-17 15:31:46 -07:00
Issue751.ts Handle return type of arrow in possibly multiline arrow of the object member 2019-07-17 15:17:06 -07:00
Issue754.tsx Fix incorrect highlighting of jsx expression following comment 2019-07-17 15:03:03 -07:00
Issue756.ts Fix of/in operator detection when no space after `]` 2019-07-11 14:12:13 -07:00
Issue760.ts Fix quoted string detection 2019-07-22 13:15:21 -07:00
Issue762.ts Fix the logical && and || operators after as expression 2019-07-29 11:24:19 -07:00
Issue763.ts Fix the function detection for variables/parameters typed as Function type 2019-10-01 11:43:23 -07:00
Issue766.ts Fix field declaration without type annotation when its last element 2019-10-01 11:26:25 -07:00
Issue774.ts Consume single line comment endings for import declaration to correctly detect end of the import declaration 2019-10-01 11:15:26 -07:00
Issue780.ts Fix multiline arrow with destructuring parameters 2019-10-30 14:08:21 -07:00
Issue782.ts set unicode escape sequences to constant.character.escape scope 2019-10-25 15:37:42 -04:00
Issue785.ts Fix detection of function call when called after another function call 2019-10-30 14:27:13 -07:00
Issue786.ts Fix regexp tail detection 2019-11-05 13:30:54 -08:00
Issue787.ts Fix the regexp tail to account for // and /* both 2019-11-07 08:57:02 -08:00
Issue790.ts Handle readonly in type arguments 2019-11-26 11:30:58 -08:00
Issue791.ts Handle possibly parameters when there is no type annotation 2019-11-26 11:37:03 -08:00
Issue793.ts Handle incorrect order of string and comment matching 2019-12-06 08:42:35 -08:00
Issue794.tsx Fix detection of division operator when its followed by ! 2019-12-17 14:48:58 -08:00
Issue796.ts Fix multiline arrow assignment with multiline arrow type parameters to the object member 2020-01-02 16:04:26 -08:00
Issue797.ts Handle declare modifier for class fields 2020-01-02 15:43:26 -08:00
Issue811.tsx Handle multiline type arguments of a function call better since it could be not followed by parenthesis and be followed instead by template string 2020-03-23 15:29:14 -07:00
Issue816.ts Increase depth for matching parens, bracews and brackets 2020-11-05 15:33:31 -08:00
Issue822.ts Match type arguments before the template string 2020-11-05 16:33:33 -08:00
Issue823.ts handle expression after return keyword explicitly 2020-11-05 14:52:28 -08:00
Issue832.ts Fix recognition of regexp class 2020-11-05 13:27:34 -08:00
Issue836.ts Include matching return type using arrow in method declaration 2020-11-05 13:07:30 -08:00
Issue840.ts Increase level of type argument depth in possibly type 2020-11-05 12:27:46 -08:00
Issue841.ts Consider empty line as end of statement 2021-01-20 10:36:38 -08:00
Issue844.ts Fix new expression scoping 2021-01-04 11:33:48 -08:00
Issue846.ts Fix typeof as typeof expression in type arguments 2021-01-04 11:29:09 -08:00
Issue850.ts Correct the comound arithmetic assignment detection with /= 2021-01-27 14:19:33 -08:00
Issue858.ts Handle typoeof operator 2021-04-06 13:02:25 -07:00
Issue868.ts Support override 2021-04-07 16:00:54 -07:00
Issue870.ts Handle ternary operator with typeof 2021-04-13 12:40:53 -07:00
Issue921.ts Fix incorrect instance of end 2022-08-16 16:54:46 -07:00
Issue923.ts Fix multiline arrow 2022-08-16 17:30:29 -07:00
Issue924.tsx Remove the illegal ampersand escape from the react entity 2022-08-16 16:42:05 -07:00
Issue964.ts Add decl-block as fail safe as object literal member matching for methods 2023-02-22 13:20:51 -08:00
Issue975.ts Fix var declaration without line ending followed by expression 2023-04-05 15:14:56 -07:00
Issue1006.ts Add support for regexp v flag (#1032) 2024-10-24 11:36:53 -07:00
Issues573.ts Handle new statement ending with ternary `:` operator 2018-02-26 15:27:21 -08:00
Issues597.ts Multiline arrow in object literal members 2018-04-12 12:28:11 -07:00
Issues648.tsx Mark onlyOwnGrammar 2018-08-23 10:27:19 +02:00
Issues649.tsx Add tests for #649 2018-08-23 10:27:19 +02:00
ParameterProperties.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
SyntacticallyIncorrectStrings.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
TsxSamples.tsx No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
arbitraryModuleNamespaceIdentifiers.ts Support "Arbitrary Module Namespace Identifiers" (#1030) 2024-10-24 13:10:30 -07:00
arrow.ts Support arrow type parameters 2016-09-13 15:19:24 -07:00
arrowInsideCall.ts Simplify arrow parameter regex so make sure it doesnt take forever 2016-09-06 15:41:25 -07:00
assertions.ts Update type predeicate matching per microsoft/TypeScript#32695 2019-09-27 15:09:40 -07:00
autoAccessor.ts Adds highlighting for the 'accessor' keyword (#917) 2022-11-11 12:52:59 -08:00
awaitColoring.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
awaitUsedInExpression.ts await can be used in expression 2016-09-29 11:15:37 -07:00
awaitUsing.ts Add support for 'using' and 'await using' declarations (#984) 2023-06-23 16:06:42 -04:00
awaited.ts Support awaited type operator added as part of microsoft/TypeScript#35998 2020-03-20 16:34:30 -07:00
bigint.ts Colorize bigint 2018-11-07 09:26:09 -08:00
binder.ts Fix the end expression regex for return type 2016-09-28 11:58:36 -07:00
conditionalTypes.ts Make conditional type colorization little bit better 2018-03-23 12:53:51 -07:00
constType.ts Add const assertion as per Microsoft/TypeScript#29510 2019-01-22 10:18:36 -08:00
constTypeAssert.ts Add const assertion as per Microsoft/TypeScript#29510 2019-01-22 10:18:36 -08:00
constTypeParameter.ts Support const type parameters 2023-01-24 11:25:08 -08:00
constants.ts Constants - true, false, null, undefined, nan, infinity 2016-08-12 12:37:30 -07:00
constructorType.ts Add 'abstract' constructor types (#861) 2021-03-09 13:21:48 -08:00
destructuringWithDefaults.ts Support the default initializers for destructuring variables 2016-10-11 12:05:15 -07:00
directives.ts Add tests 2018-06-25 17:45:23 -07:00
docComments.ts Update comment grammar 2016-08-11 11:57:16 -07:00
enumMemberWithIntializer.ts Scope out enum members explicitly so as to avoid using support variable names for them 2016-10-20 09:12:26 -07:00
enumMemberWithQuotedMemberName.ts Scope out enum members explicitly so as to avoid using support variable names for them 2016-10-20 09:12:26 -07:00
exportDeclarations.ts Type-only imports and exports (#792) 2020-01-07 08:32:48 -08:00
forof.ts Adds for-await-of 2016-11-30 13:20:28 -08:00
generator.ts Support generators syntax and fix the scoping of type parameter end 2016-08-31 11:21:34 -07:00
genericTaggedTemplate.ts Handle the generic tagged template 2018-04-19 16:03:22 -07:00
importAssert.ts Import asserts 2022-05-10 13:06:06 -07:00
importTypeOnly.ts Add tests 2021-10-11 17:53:15 -07:00
importTypes.ts Support import types getting added by Microsoft/TypeScript#22592 2018-03-16 11:35:03 -07:00
inferTypes.ts Updated to support 'infer..extends' 2022-03-21 15:32:48 -07:00
intrinsic.ts Support for intrinsic keyword in type alias as part of microsoft/TypeScript#40580 2020-11-20 15:06:10 -08:00
issue327.ts baselines for issues that are fixed now 2023-02-09 11:02:12 -08:00
issue522_1.ts add nullish coalescing support 2019-08-16 18:55:55 +08:00
issue534.tsx Add JSX fragment test 2017-10-18 16:39:40 -07:00
issue776.ts Fix ! operator in function call 2019-10-14 09:43:36 -07:00
issue806.ts Fix incorrect detection of regexp and arithmetic operator 2020-03-16 11:04:31 -07:00
issue807.tsx In function call allow when type argument starts with object type to be on multi line 2020-03-16 11:59:03 -07:00
issue807ts.ts In function call allow when type argument starts with object type to be on multi line 2020-03-16 11:59:03 -07:00
issue809.ts Fix string detection in arrow lookup 2020-03-16 11:36:07 -07:00
issue812.ts Some more changes to type alias on multi line 2023-02-09 11:34:50 -08:00
issue814.ts Fix type detection in instance of expression 2020-03-31 12:17:03 -07:00
issue824.ts Some more changes to type alias on multi line 2023-02-09 11:34:50 -08:00
issue907.ts Fix typeof to end expression on extends 2023-02-08 15:01:59 -08:00
issue909.ts Fix variable initializer end if ending in operator 2023-02-08 16:33:15 -08:00
issue916.ts Remove string.template scope from identifier<typeArgruments> of template function call (#962) 2023-02-22 13:44:09 -08:00
issue927.ts Fix possibly arrow to capture parameter binding pattern like expression 2023-02-09 12:19:26 -08:00
issue930.ts shift assignment working as intended 2023-02-09 11:57:07 -08:00
issue932.ts Fix variable initializer end if ending in operator 2023-02-08 16:33:15 -08:00
issue935.ts Handle multiline type annotation that start with & or | operator 2023-02-09 10:48:14 -08:00
issue940.ts Fix variable initializer end if ending in operator 2023-02-08 16:33:15 -08:00
issue948.ts Handle end of comment in the variable initializer 2023-02-08 15:56:09 -08:00
issue949.ts Handle multiline type annotation that start with & or | operator 2023-02-09 10:48:14 -08:00
issue951.ts Prefer type arguments next to typeof operator 2023-02-08 15:23:40 -08:00
issue957.ts Prefer type arguments next to typeof operator 2023-02-08 15:23:40 -08:00
issue971.ts Fix the varible expression with type-annotation only that ends without semicolon 2023-04-03 15:31:33 -07:00
issue1005.ts Import attributes 2024-01-03 12:49:06 -08:00
javascript.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
javascriptClasses.ts identifier.prototype makes identifier a class 2016-09-23 16:17:14 -07:00
jsdocProperty.ts Support @property and @prop in jsdoc 2016-11-22 15:44:46 -08:00
jsdocType.ts Add @satisfies tag 2023-01-24 09:21:25 -08:00
jsxTagWithTypeArguments.tsx Support the JSX Opening or self closing tag's type arguments 2018-03-13 13:09:00 -07:00
keyof.ts Add support for keyof 2016-11-02 11:33:09 -07:00
mappedType.ts Mapped type support that gets added by Microsoft/TypeScript#12114 2016-11-11 12:27:48 -08:00
modifierOperators.ts Support for modifier operator on mapped type signature 2018-03-28 11:48:34 -07:00
multilineArrow.ts Add type parameters to multiline arrow detection 2018-03-09 16:23:13 -08:00
multilineDestructuringParametersOfArrow.ts Support arrows with multiline destructuring parameters 2018-04-20 12:21:30 -07:00
multineTag.tsx Add type parameters to multiline arrow detection 2018-03-09 16:23:13 -08:00
multipleVariableDeclaration.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
namedTuples.ts Support for named tuple added as part of microsoft/TypeScript#38234 2020-05-21 13:40:30 -07:00
namespaceAndModule.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
notMultilineArrow1.ts Remove the illegal ampersand escape from the react entity 2022-08-16 16:42:05 -07:00
notMultilineArrow2.ts Restrict multiline arrow detection to only few tokens 2018-03-12 15:48:52 -07:00
notMultilineArrow3.ts Restrict multiline arrow detection to only few tokens 2018-03-12 15:48:52 -07:00
numeric.ts Changes for numeric literals 2016-08-11 15:45:11 -07:00
numericAsType.ts Numeric literals can be used as type 2016-09-26 12:00:10 -07:00
objectLiteral.ts Update the string property name or object literal key detection to match puctuations 2017-06-28 14:31:11 -07:00
objectLiteralWithCast.ts Fix object literal detection after cast expression 2018-05-25 14:25:11 -07:00
objectType.ts Mark "object" type as keyword 2017-01-23 11:00:37 -08:00
optionalChaining.ts Support optional chaining 2017-12-22 13:15:50 -08:00
parameterBindingPattern.ts Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
partialTypeArguments.ts Treat _ in type argument list as infering type argument 2018-11-02 15:43:01 -07:00
pr48_noSemiColon.ts No need to generate scopes for marker given that we have baseline for complete file 2019-07-22 13:30:25 -07:00
pr557_namespacedJsx.tsx support namespaced tsx 2018-03-02 12:41:49 +00:00
privateFields.ts Private fields corresponding to microsoft/TypeScript#30829 2020-01-08 09:22:32 -08:00
property.ts Handle single line comments so that they consume end of the line so that we dont use wrong lookup to determine end of syntax matching 2017-05-18 15:24:15 -07:00
propertyNameInObjectBindingElement.ts Added support for property names that are not identifier in object binding element 2016-11-01 15:31:25 -07:00
readonly.ts Support readonly modifier 2016-09-09 16:26:56 -07:00
readonlyModifier.ts Readonly modifier support from PR Microsoft/TypeScript#29435 2019-01-16 15:48:17 -08:00
regexp.ts Add 'd' flag from the RegExp Match Indices proposal (#862) 2021-03-09 10:28:30 -08:00
resolutionMode.ts Resolution mode support 2022-05-24 09:34:40 -07:00
restAndSpreadExpression.ts Support Spread and Rest operator 2016-10-07 13:57:39 -07:00
restInBindingPattern.ts Rest in binding pattern 2018-07-30 12:07:41 -07:00
satisfies.ts Satisfies operator 2022-09-21 11:47:46 -07:00
specialNew.ts Let the new expression end if its a function expression start 2017-04-24 16:03:35 -07:00
templateLiteralType.ts Support for template literal types added as part of microsoft/TypeScript#40336 2020-11-20 14:51:03 -08:00
typeofClass.ts Correctly parse expression after typeof operator 2020-11-20 14:26:25 -08:00
typeparameterDefault.ts Update grammar for type parameter defaults that get introduces in Microsoft/TypeScript#13487 2017-01-23 12:09:14 -08:00
using.ts Add support for 'using' and 'await using' declarations (#984) 2023-06-23 16:06:42 -04:00
variableBindingPattern.ts Compare the baselines against both the grammars unless specified 2016-09-21 13:36:46 -07:00
varianceAnnotations.ts Support Variance Annotations 2022-05-24 09:17:07 -07:00