Daniel Rosenwasser
d45fb7769a
Renamed certain functions in the parser to more accurately reflect behavior.
2014-10-28 18:45:06 -07:00
Daniel Rosenwasser
7fad76955e
Merge branch 'master' into templates
2014-10-28 18:43:43 -07:00
Daniel Rosenwasser
c03dc107ca
Added syntactic classification for templates; also made 'spans' a NodeArray.
2014-10-24 17:14:41 -07:00
Mohamed Hegazy
51e101c55e
Merge branch 'master' into letAndConst
2014-10-24 10:32:21 -07:00
Mohamed Hegazy
e4a20849bb
Ensure let and const declarations in labels are parsed correctelly
2014-10-24 10:14:36 -07:00
Daniel Rosenwasser
e7096280b4
Added support for tagged template strings, updated baselines.
...
Still need to implement some error recovery and add tests.
2014-10-23 16:54:11 -07:00
Daniel Rosenwasser
b704f19502
Merge branch 'letAndConst' into templates
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
2014-10-23 16:03:53 -07:00
Daniel Rosenwasser
518a5d3a48
Rudimentary template support, excluding tagging.
2014-10-23 14:57:47 -07:00
Sheetal Nandi
0cb2e983aa
Breakpoints in expressions
2014-10-20 23:05:44 -07:00
Mohamed Hegazy
d5fe43b53e
allow let and const declarations in module bodies under labels
2014-10-20 15:31:33 -07:00
Mohamed Hegazy
dd5c89d5cf
Update error messages
2014-10-20 13:48:22 -07:00
Mohamed Hegazy
0e7d8b62ef
Merge branch 'master' into letAndConst
2014-10-20 13:34:06 -07:00
Jason Freeman
d5709edbc7
Merge branch 'master' into sigHelp
2014-10-20 11:52:31 -07:00
Jason Freeman
1b8814cdcd
Address PR feedback
2014-10-20 11:51:45 -07:00
Jason Freeman
628fa4c7b2
Remove OmittedType
2014-10-17 16:55:16 -07:00
Jason Freeman
08f9a0148a
Parser changes to parse omitted types correctly
2014-10-17 16:55:11 -07:00
Mohamed Hegazy
a5a6c6f242
Allow const and let declarations to be exported in modules. Also ensure that const module elements are not used as references.
2014-10-17 15:15:22 -07:00
Anders Hejlsberg
766010e531
Parentheses in type literals
2014-10-17 13:45:13 -07:00
Mohamed Hegazy
4ef68b9fb0
Respond to code review comments
2014-10-17 10:09:21 -07:00
Mohamed Hegazy
e15f4e6d34
Merge branch 'master' into letAndConst
...
Conflicts:
src/compiler/types.ts
2014-10-16 09:30:58 -07:00
Mohamed Hegazy
03a100d039
Do not allow let and const declarations to be exported from a module
2014-10-15 09:15:00 -07:00
Mohamed Hegazy
3e4560147b
Allow const in for statements
2014-10-14 17:37:46 -07:00
Anders Hejlsberg
fc842b177e
Merge branch 'master' into unionTypes
...
Conflicts:
src/compiler/checker.ts
src/compiler/types.ts
src/services/services.ts
tests/baselines/reference/assignmentCompatBetweenTupleAndArray.errors.txt
tests/baselines/reference/bestCommonTypeOfTuple.types
tests/baselines/reference/bestCommonTypeOfTuple2.types
tests/baselines/reference/castingTuple.errors.txt
tests/baselines/reference/contextualTypeWithTuple.errors.txt
tests/baselines/reference/genericCallWithTupleType.errors.txt
tests/baselines/reference/indexerWithTuple.types
tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.errors.txt
2014-10-13 12:37:34 -07:00
Mohamed Hegazy
979d45eb67
Disallow let and const declarations outside blocks
2014-10-12 21:43:09 -07:00
Mohamed Hegazy
778f101dea
Add basic parsing support for let and const
2014-10-12 21:10:04 -07:00
Yui T
00c30a3ed7
Merge branch 'master' into fixThrowExceptionOnEmitFile
2014-10-09 14:36:48 -07:00
Yui T
3cb6c9cf45
Add isDeclarationFile and update similar all usage
2014-10-09 14:19:36 -07:00
Daniel Rosenwasser
400f6eb654
Merge pull request #859 from Microsoft/useProperMeaningAtLocation
...
Use proper meanings when requesting information about a node
2014-10-08 17:59:29 -07:00
Anders Hejlsberg
ea4cbbee4e
Merge branch 'master' into unionTypes
2014-10-08 15:23:37 -07:00
Jason Freeman
8346b48e6d
Add assserts to help diagnose signature help crash #832
2014-10-07 13:37:57 -07:00
Daniel Rosenwasser
eb5d378d55
Reverted code back to original location since these functions no longer need to be exported.
2014-10-06 15:03:50 -07:00
Cyrus Najmabadi
7222963923
Tweak how we populate NavBarItems.
...
Now we will always place child items of a node in the right bar, even if we're
also placing it on the 'top level nodes' list on the left. This makes things
clearer for users by making it clear that any time you have a node selected on
the left, you can always find its children on the right. And, it still preserves
the behavior we want where the left list acts as a high level 'table of contents'
for the file.
2014-10-05 21:17:13 -07:00
Anders Hejlsberg
e836fe1729
Initial implementation of Union Types
2014-10-04 09:19:47 -07:00
Daniel Rosenwasser
c1d15c792b
Merge branch 'master' into navbar
...
Also fixed getSourceText and renamed it to getTextOfNode
2014-10-03 17:44:52 -07:00
Daniel Rosenwasser
7d9bf5093b
Replaced 'getModuleNameFromFilename' with 'removeFileExtension'.
2014-10-03 16:21:15 -07:00
Cyrus Najmabadi
2a8b9ef21f
Support rename in comments and strings.
2014-10-03 14:53:50 -07:00
Cyrus Najmabadi
183bed1bb8
Specify which outlining spans should auto-collapse if the user choose "collapse to definitions".
2014-10-02 17:35:48 -07:00
Daniel Rosenwasser
ffef437320
Merge pull request #799 from Microsoft/stopBlindlyColoring
...
Values sharing names with interfaces no longer classified as interfaces
2014-10-01 17:42:15 -07:00
Mohamed Hegazy
0434635b94
handle absolute path in /// references
2014-10-01 16:12:16 -07:00
Mohamed Hegazy
a37106d4da
Merge pull request #748 from chrisbubernak/selfReferencingFileError
...
Fix issue #568 (no error for file self reference)
2014-10-01 13:44:47 -07:00
Daniel Rosenwasser
a6e991a3db
Fixed bug where value-space identifiers got classified as interfaces when sharing the same name as an interface.
2014-10-01 12:44:17 -07:00
Jason Freeman
23843ffa92
Parse OmittedExpression for missing arguments followed by commas
2014-09-30 17:13:55 -07:00
Jason Freeman
a79a1d2248
Record trailing comma even for incorrectly terminated lists
2014-09-30 17:13:49 -07:00
Daniel Rosenwasser
5851752e32
Merge branch 'master' into navbar
...
Conflicts:
Jakefile
src/services/getScriptLexicalStructureWalker.ts
src/services/services.ts
2014-09-30 14:20:58 -07:00
ChrisBubernak
3751b25dd2
Fixed indentation
2014-09-29 10:23:01 -07:00
ChrisBubernak
ba61c63a1a
Moved logic to another location where host was in scope so we could call
...
getCanonicalFileName
2014-09-29 10:20:31 -07:00
ChrisBubernak
36b46291f2
still trying to get the indenting correct
2014-09-26 09:54:32 -07:00
Daniel Rosenwasser
4ed6a80c9c
Limited identifying identifiers after dots to keywords.
2014-09-26 09:46:14 -07:00
ChrisBubernak
93db897778
Fixed some of the baselines, made file comparisons handle different
...
casing, put diagnostic message in correct order
2014-09-26 07:47:44 -07:00
ChrisBubernak
a12c35b69b
fixing formatting again...
2014-09-25 13:07:14 -07:00