Commit Graph

156 Commits

Author SHA1 Message Date
Yui T
d52fe20df3 Add getEmitOutput and update call to getCurrentDirectory 2014-09-10 09:54:34 -07:00
Yui T
6cb5096087 Make getCurrentDirectory and getDefaultLibFilename invocation in management side 2014-09-10 09:54:28 -07:00
Cyrus Najmabadi
aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -07:00
Ingvar Stepanyan
797ab01467 Return undefined instead of null. 2014-09-03 20:06:17 +03:00
Ingvar Stepanyan
4083d9299b Fixes #492
Conflicts:
	src/services/services.ts
2014-09-03 20:06:14 +03:00
Mohamed Hegazy
dc0560ae59 Merge branch 'master' into getReferences
Conflicts:
	tests/baselines/reference/aliasUsageInGenericFunction.types
	tests/baselines/reference/aliasUsageInObjectLiteral.types
	tests/baselines/reference/aliasUsageInOrExpression.types
	tests/baselines/reference/extendingClassFromAliasAndUsageInIndexer.types
2014-08-29 15:56:36 -07:00
Mohamed Hegazy
49d8157d28 ensure that sys is not used outside tsc.ts 2014-08-28 23:10:05 -07:00
Daniel Rosenwasser
813f28d865 Removed assertion. 2014-08-27 17:28:45 -07:00
Daniel Rosenwasser
fd93a3b4f7 What's in a name anyhow? 2014-08-27 17:26:58 -07:00
Daniel Rosenwasser
0ce39a3c2a Addressed CR feedback. 2014-08-27 17:19:08 -07:00
Daniel Rosenwasser
04456a261a Made 'isAnyFunction' more exhaustive as it should be. 2014-08-27 16:58:59 -07:00
Daniel Rosenwasser
ea613fd0d8 Replaced ES5 functions with analogous core.ts ones. 2014-08-27 16:39:05 -07:00
Daniel Rosenwasser
50d0cdc428 Better coverage against function boundaries. 2014-08-27 16:33:35 -07:00
Daniel Rosenwasser
232e51383f Moved null-guards to appropriate places, added helpers. 2014-08-27 16:07:46 -07:00
Daniel Rosenwasser
3825c9b542 Handled function boundaries. 2014-08-27 12:12:45 -07:00
Daniel Rosenwasser
88f37e579c Support for switch/case/default/break in getOccs 2014-08-26 17:24:11 -07:00
Daniel Rosenwasser
1f77198c4c Made getOccs more resilient. 2014-08-26 12:27:54 -07:00
Daniel Rosenwasser
558be4ea22 Implemented getOccsAtPos for try-catch-finally. 2014-08-26 11:48:31 -07:00
Daniel Rosenwasser
5d15cd22b1 Beginning special casing for getOccurrencesAtPosition. 2014-08-26 11:44:30 -07:00
Daniel Rosenwasser
f948f5d3f7 Re-added fourslash tests, corrected failures. 2014-08-25 17:35:18 -07:00
Daniel Rosenwasser
aef859f442 Merge branch 'master' into getReferences
Conflicts:
	src/services/services.ts
2014-08-25 16:51:35 -07:00
Daniel Rosenwasser
5c1b245d1d Initial work on getOccurrencesAtPosition. 2014-08-25 14:20:59 -07:00
Mohamed Hegazy
892baf0d6c use Identifiers list from the parser to filter getReferences instead of bloomFilters 2014-08-22 22:27:05 -07:00
Mohamed Hegazy
695379404a remove bloom filters 2014-08-22 22:09:36 -07:00
Mohamed Hegazy
8fcc8b26ba Ensure range for string literal references are within the quotes to ensure rename is successful 2014-08-22 22:07:45 -07:00
Mohamed Hegazy
c741e26031 Support external module names correctelly 2014-08-22 21:28:27 -07:00
Mohamed Hegazy
fefe2fb093 Implement getScope 2014-08-22 16:30:21 -07:00
Cyrus Najmabadi
9aee22b943 Merge branch 'master' into newLanguageService
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/harness/fourslash.ts
	src/harness/harness.ts
	src/harness/harnessLanguageService.ts
	src/harness/rwcRunner.ts
	src/services/services.ts
2014-08-22 14:23:14 -07:00
Mohamed Hegazy
dbf9e47832 use isDeclarationOrFunctionExpressionOrCatchVariableName instead of isDeclarationIdentifier in the language service and remove unused functions 2014-08-21 13:34:50 -07:00
Mohamed Hegazy
6965a06b04 Support getReferences on rightside of export assignment and import statements 2014-08-21 13:03:46 -07:00
Dick van den Brink
606601bc7c Fixed TypeScript.declarationEmitGetAccessorFunctionTime having a wrong value 2014-08-21 21:27:30 +02:00
Mohamed Hegazy
bbeeb8df7f update getSymbolInfo 2014-08-21 00:13:29 -07:00
Mohamed Hegazy
e0ffc47acc Merge branch 'master' into getReferences
Conflicts:
	src/compiler/checker.ts
2014-08-20 22:55:41 -07:00
Mohamed Hegazy
74518a9b7f respond to code review comments 2014-08-20 22:46:47 -07:00
Sheetal Nandi
6e4d0ef1ef Merge pull request #452 from Microsoft/emitComments
Emit comments in the .js and .d.ts files
2014-08-20 17:07:24 -07:00
Mohamed Hegazy
978c2ef670 Fix getReferences for labels 2014-08-20 15:35:30 -07:00
Mohamed Hegazy
55512faa0d Use new tree to get Bloom filters 2014-08-20 11:25:39 -07:00
Adam Freidin
828f4c9340 spelling fix 2014-08-19 08:01:12 -07:00
Cyrus Najmabadi
933f416d25 Add bits in tokens to mark if they contain leading/trailing trivia. 2014-08-19 01:37:35 -07:00
Jason Freeman
f949c5014a Merge branch 'master' into typeWriter
Conflicts:
	src/compiler/types.ts
2014-08-18 19:57:35 -07:00
Jason Freeman
a08aa14a74 Address PR feedback 2014-08-18 18:51:18 -07:00
Mohamed Hegazy
54d8722189 Merge branch 'master' into classifier 2014-08-18 14:33:30 -07:00
Mohamed Hegazy
2d4cec43f5 Updates after merge from master 2014-08-18 13:14:20 -07:00
Mohamed Hegazy
3251b7e234 Support filtering references based on meaning 2014-08-18 13:06:18 -07:00
Mohamed Hegazy
f8122977a7 include inherited properties from base classes and interfaces in getReference results 2014-08-18 13:03:55 -07:00
Mohamed Hegazy
922d6d6258 support getReferences on properties and index access wiht numeric and string values 2014-08-18 13:03:35 -07:00
Mohamed Hegazy
d419982422 Support getReferences on contextually typed object literal properties 2014-08-18 13:03:25 -07:00
Mohamed Hegazy
55d002117c support getReferences on object literals 2014-08-18 13:00:31 -07:00
Mohamed Hegazy
fa1033ab7a add support for getReferences on property string index access 2014-08-18 12:41:22 -07:00
Mohamed Hegazy
bfd13347d4 Handel getRefrences for labels 2014-08-18 12:41:12 -07:00