Commit Graph

562 Commits

Author SHA1 Message Date
Mohamed Hegazy
a9714257cc Handel modifier const in getOccurrances 2014-12-01 23:46:09 -08:00
Cyrus Najmabadi
f8f314868b Merge branch 'master' into lessDirectCallsToError
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2014-12-01 17:42:59 -08:00
Mohamed Hegazy
4e79458e69 Merge branch 'master' into es6typings
Conflicts:
	tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.types
2014-12-01 16:51:10 -08:00
Cyrus Najmabadi
d730e5ca55 Remove 'missing' syntax kind. 2014-12-01 16:17:04 -08:00
Cyrus Najmabadi
cc1da37e72 Use a single member to represent a module reference. 2014-12-01 13:24:33 -08:00
Mohamed Hegazy
199b71c2ce Merge branch 'master' into es6Typings 2014-12-01 13:22:20 -08:00
Daniel Rosenwasser
9da7287eaa Merge pull request #1275 from Microsoft/unterminator
Keep track of unterminated literal expressions.
2014-12-01 12:57:33 -08:00
Cyrus Najmabadi
ada6cebef3 Don't parse nodes, only to not include them in the tree. This will break incremental parsing scenarios.
Properly store the data for an external module reference in the AST.
2014-12-01 03:00:27 -08:00
Cyrus Najmabadi
16e28156e5 Support arbitrary numbers of implements and extends clauses (with arbitrary numbers of types) for classes and interfaces.
This vastly improves our error tolerance and messages for when the user writes an illegal heritage clause sequence.
2014-11-30 15:38:45 -08:00
Cyrus Najmabadi
0cdc824079 Provide brands for Declarations. 2014-11-30 14:21:34 -08:00
Cyrus Najmabadi
54bd524c90 Provide brands for statements.
Introduce a ModuleElement type to provide more clear typesafety.
2014-11-30 14:06:15 -08:00
Cyrus Najmabadi
5f00c7cdbc Change the names for property access and qualified names to match their types. 2014-11-29 17:25:52 -08:00
Cyrus Najmabadi
e4b543981c Updating syntax kind names. 2014-11-29 15:58:55 -08:00
Cyrus Najmabadi
e1011aa2f0 Rename syntax properties to match Roslyn/Fidelity naming. 2014-11-29 15:47:02 -08:00
Cyrus Najmabadi
6a4927cef7 Provide unique nodes for void/typeof/delete expressions. 2014-11-29 13:43:30 -08:00
Mohamed Hegazy
507ec3db3f Merge branch 'master' into es6Typings 2014-11-27 10:00:32 -08:00
Mohamed Hegazy
d3e70ecfbf Merge branch 'master' into es6typings
Conflicts:
	src/compiler/parser.ts
	src/compiler/tsc.ts
	src/harness/harness.ts
	src/harness/projectsRunner.ts
	tests/baselines/reference/templateStringsArrayTypeDefinedInES5Mode.errors.txt
2014-11-27 09:59:46 -08:00
Daniel Rosenwasser
cef5062791 Fixed issue where classifier didn't check for backslash-newline. 2014-11-26 16:32:30 -08:00
Daniel Rosenwasser
0e122b5633 Keep track of unterminated literal expressions. 2014-11-25 17:41:49 -08:00
Daniel Rosenwasser
d373dc8a99 Merge branch 'master' into getOccsForModifiers 2014-11-25 15:03:28 -08:00
Yui T
44e6bcf7ff Merge branch 'master' of https://github.com/Microsoft/TypeScript 2014-11-25 10:30:20 -08:00
Yui T
92f8d0ba28 Change the name invokeEmitter back to emitFiles 2014-11-25 10:30:13 -08:00
Daniel Rosenwasser
e2eec0e15c Added to comment. 2014-11-23 12:23:19 -08:00
Daniel Rosenwasser
7836ae82b7 Fixed issue where findAllRefs on identifiers starting with 2+ underscores failed. 2014-11-21 16:53:32 -08:00
Sheetal Nandi
28c41e869a Merge branch 'master' into constLet 2014-11-20 21:06:08 -08:00
Sheetal Nandi
c4a49acd8e Merge remote-tracking branch 'origin/release-1.3' 2014-11-20 20:38:25 -08:00
Sheetal Nandi
3af2c29e83 Merge branch 'release-1.3' 2014-11-20 20:26:28 -08:00
Sheetal Nandi
77572dab0c Merge remote-tracking branch release-1.3 2014-11-20 20:24:08 -08:00
Sheetal Nandi
0762e55286 Merge branch 'master' into constLet 2014-11-20 17:27:39 -08:00
Sheetal Nandi
51017cdd11 Merge pull request #1140 from Microsoft/signatureInfoApiRemoval
Remove the Obsolete api getSignatureAtPosition
2014-11-20 17:13:23 -08:00
Sheetal Nandi
4320c67a38 Merge branch 'master' into constLet 2014-11-20 16:56:14 -08:00
CyrusNajmabadi
4fb04c72c3 Merge pull request #1230 from Microsoft/removeImpls
Remove unnecessary 'do nothing' implementations in SourceFileObject.
2014-11-20 16:47:27 -08:00
Sheetal Nandi
302c246934 Merge branch 'master' into signatureInfoApiRemoval 2014-11-20 16:47:14 -08:00
Cyrus Najmabadi
598fb71fe9 Remove unnecessary 'do nothing' implementations in SourceFileObject. 2014-11-20 16:32:13 -08:00
Sheetal Nandi
ff23748908 Merge pull request #1131 from Microsoft/relativePathReferenceResolution
Fix the relative path reference resolution
2014-11-20 15:59:06 -08:00
Daniel Rosenwasser
1fa08ff132 Fixed comment. 2014-11-20 12:41:54 -08:00
Daniel Rosenwasser
be3c544e9d Catch modifiers in sourcefiles. 2014-11-20 12:29:47 -08:00
Cyrus Najmabadi
f605699604 Merge branch 'master' into grammarChecks
Conflicts:
	src/compiler/diagnosticMessages.json
	src/compiler/parser.ts
	tests/baselines/reference/objectTypesWithOptionalProperties.errors.txt
2014-11-19 17:29:39 -08:00
Daniel Rosenwasser
f283f8055f Merge branch 'master' into getOccsForModifiers 2014-11-19 17:23:05 -08:00
Paul van Brenk
629ea86043 Updated test case and added comment 2014-11-19 15:05:07 -08:00
Cyrus Najmabadi
f634bc19d8 Expose parse errors and grammar errors off the source file. 2014-11-19 14:29:20 -08:00
unknown
c2f253f4aa Fix for crash in QuickInfo on module path in import statement. 2014-11-19 13:19:00 -08:00
Sheetal Nandi
264bd5db7c Merge branch 'master' into relativePathReferenceResolution 2014-11-19 13:11:17 -08:00
Yui T
df54db758a Merge branch 'master' into usingShorthand
Conflicts:
	bin/tsc.js
	bin/typescriptServices.js
	src/compiler/parser.ts
2014-11-18 18:25:51 -08:00
Yui T
c417df4306 Remove unused getImplementorAtPosition 2014-11-18 17:54:39 -08:00
Yui T
970aac6458 Address code review 2014-11-18 16:32:18 -08:00
Cyrus Najmabadi
00a49536fe Initial refactoring to support doing grammar checks as a separate pass of the tree.
Right now, this means hiding 'syntacticDiagnostics' behind a getter function that
only computes all the syntactic diagnostics (parser+grammar checks) lazily.

This will help incremental parsing out as we can reuse nodes that have grammar
errors in them, and we dont' have to even do grammar checks if this is not the
full-type-check type-checker.
2014-11-18 15:51:55 -08:00
Yui T
1d78406bf8 Refactoring language service to use short-hand 2014-11-18 14:08:42 -08:00
Mohamed Hegazy
22e2bde7e9 Merge pull request #1158 from gisenberg/master
Adding support for named AMD modules.
2014-11-18 12:18:48 -08:00
Yui T
5844f68040 Address code review 2014-11-18 10:53:14 -08:00