Sheetal Nandi
09ea12d95c
Use typeof function in the declaration emitter instead of unwinding first level
2014-08-08 16:15:09 -07:00
Sheetal Nandi
1347621d0c
Report error if the entityname reference in the import declaration is using private module
2014-08-08 13:56:53 -07:00
Sheetal Nandi
875d0c0c75
Emit unexported aliases that need to be emitted to .d.ts to make correct result
2014-08-06 13:12:49 -07:00
Sheetal Nandi
5c4009a163
Merge pull request #161 from Microsoft/privacyErrors
...
Report errors for usage of private types when generating declaration file
2014-08-06 11:51:55 -07:00
Mohamed Hegazy
f8228e1544
Change variabel names:
...
* documentsByName to sourceFilesByName
* getSymbolOfIdentifierLikeNode to getSymbolInfo
2014-08-04 13:37:17 -07:00
Mohamed Hegazy
1667894ec6
Merge branch 'master' into getDefinition
2014-08-04 12:52:27 -07:00
Mohamed Hegazy
aa75de9c70
Consolidate Document and SoruceFile
2014-08-04 12:00:37 -07:00
Anders Hejlsberg
9a5324347e
Merge pull request #330 from Microsoft/pullContextualTypes
...
Pull model for contextual types
2014-08-04 11:51:23 -07:00
Anders Hejlsberg
2b26e37976
Addressing CR feedback.
2014-08-04 11:40:56 -07:00
Daniel Rosenwasser
9a89147587
Merge pull request #324 from Microsoft/watcherIardlyKnowEr
...
Support the '--watch' compiler flag.
2014-08-02 17:52:02 -07:00
Mohamed Hegazy
8606873db6
move identifier-like node handleing (e.g. super, this, string property access etc..) to the checker
2014-08-01 17:11:11 -07:00
Vladimir Matveev
b43d694ec1
move exportAssignSymbol to symbolLinks
2014-08-01 13:09:06 -07:00
Mohamed Hegazy
c406662bc4
Wire getDefinitionAtPosition using the new compiler implementation
2014-07-31 19:58:18 -07:00
Anders Hejlsberg
bd97ba443a
Restructuring and cleanup.
...
Changed binder to record catch clause instead of catch variable as symbol declaration.
Restructuring of getTypeOfVariableDeclaration and getTypeOfVariableOrParameterOrProperty methods.
Restructuring of checkFunctionExpression method.
2014-07-31 15:48:03 -07:00
Daniel Rosenwasser
617910b3d4
Support the '--watch' compiler flag.
2014-07-31 14:57:54 -07:00
Anders Hejlsberg
8199b0b236
Pull model for contextual types.
...
New baselines reflect a couple of unrelated bug fixes.
2014-07-29 18:21:16 -07:00
Mohamed Hegazy
7faad38c84
remove unused interface
2014-07-29 12:18:12 -07:00
Mohamed Hegazy
41826986ac
Clean up code and types in typeScriptServices.ts
2014-07-29 12:13:09 -07:00
Mohamed Hegazy
346809ba2b
wire in getCompletions
2014-07-29 12:10:21 -07:00
Mohamed Hegazy
f8767a5617
wire quick info
2014-07-29 12:07:36 -07:00
Mohamed Hegazy
2ed3de1c28
push newline to compilerhost instead of using sys directelly. This allows the language service to set it, as sys is not defined in language service scenarios
2014-07-29 12:06:43 -07:00
Vladimir Matveev
df3567c7db
Merge pull request #197 from Microsoft/locals_exports
...
Alternative proposal for grouping exported and local declarations
2014-07-28 11:26:08 -07:00
Jason Freeman
86007cc137
Merge branch 'master' into labelledStatements
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/parser.ts
2014-07-24 17:48:11 -07:00
Vladimir Matveev
d7f67083b2
check groups of local symbols
2014-07-24 17:03:33 -07:00
Vladimir Matveev
9112a0e2e2
enabled strict mode
2014-07-24 13:01:25 -07:00
Jason Freeman
76804eb1f9
Add errors for break and continue statements
2014-07-23 12:07:46 -07:00
Jason Freeman
e2617750b1
Track control flow contexts in the parser, and give errors for break, continue, return
2014-07-23 11:57:34 -07:00
Anders Hejlsberg
24dbe2dd79
Improving code and addressing code review feedback.
...
Binder now builds more generally useful linked list of all container declarations.
Emitter uses original spelling when creating unique local container names.
2014-07-21 11:26:24 -07:00
Anders Hejlsberg
175dba4977
Ensuring local module names are unique in emit.
...
Fixes #41 and #42 .
2014-07-21 11:23:08 -07:00
Anders Hejlsberg
393be4687c
Improving code and addressing code review feedback.
...
Binder now builds more generally useful linked list of all container declarations.
Emitter uses original spelling when creating unique local container names.
2014-07-21 11:17:47 -07:00
Anders Hejlsberg
85225c8f29
Ensuring local module names are unique in emit.
...
Fixes #41 and #42 .
2014-07-21 11:17:44 -07:00
Jason Freeman
91d31c7f51
Add error about missing module flag to createProgram
2014-07-21 09:38:59 -07:00
Sheetal Nandi
999b7fed92
Checker and emitter changes to report errors on inaccessibility of symbols when writing types in declaration file
2014-07-18 18:06:37 -07:00
Sheetal Nandi
bbb36dc933
Make the symbol writing api on the text writer
2014-07-18 17:50:12 -07:00
Sheetal Nandi
fe1fea3710
Merge pull request #30 from Microsoft/declarations
...
Changes to determine when to qualify the symbol in given enclosing declaration
2014-07-16 15:20:00 -07:00
Jason Freeman
17563f3c5d
Remove SymbolLinks.typeChecked
2014-07-16 13:34:27 -07:00
Sheetal Nandi
148abea09d
Use the isDeclarationVisible in checker to determine if the declaration needs to be emitted
...
This would help in unifying logic of when to check if the type is visible
2014-07-16 11:37:49 -07:00
Anders Hejlsberg
c1d0fd979d
More I/O fixes
...
Support for --charset command line option
File read and write errors are propagated into compiler diagnostics
emitFiles returns diagnostics in EmitResult
2014-07-16 10:57:05 -07:00
Sheetal Nandi
574c075dba
Emit the types in declaration file
2014-07-15 13:08:10 -07:00
Sheetal Nandi
455364cf5a
Do not emit the signature for implementation of overload in the declaration file
2014-07-15 08:58:02 -07:00
Sheetal Nandi
063399d228
Emit declaration if its identifier is used in export assignment of external module
2014-07-15 08:57:22 -07:00
Mohamed Hegazy
214df64e28
Add snapshot of compiler sources
2014-07-12 17:30:19 -07:00