Andy Hanson
bd633c828f
Lint all servicesSources
2016-05-25 06:45:52 -07:00
Ethan Rubio
b8692a7fea
Fix minor comment grammatical errors
...
This PR doesn't fix any particular issue. I cleaned up a variety of comment grammatical errors such as missing apostrophes and articles. Further, I made comment formatting more consistent with the rest of the project.
2016-05-18 07:56:45 -10:00
Josh Soref
bb85817d7d
spelling fixes for src
...
Fixes:
* actual
* algorithm
* analyze
* applies
* collapse
* contrast
* definition
* diagnostic
* different
* displayed
* display
* documentation
* finite
* function
* highlight
* initialize
* intentional
* interface
* invariants
* items
* keystroke
* language
* literal
* original
* output
* position
* receive
* recorder
* response
* sequence
* simplicity
* statement
Changing a \ to a /
2016-02-25 20:08:44 +00:00
Anders Hejlsberg
f0abb86158
Removing MultiLine, Synthetic, DeclarationFile, and OctalLiteral flags
2016-01-31 08:08:19 -08:00
Sheetal Nandi
ff00a0c779
Fix breakpoints in object literal pattern destructuring assignment
2015-12-22 16:14:24 -08:00
Sheetal Nandi
bda112546f
Fix the breakpoint for comma expression
2015-12-22 15:23:45 -08:00
Sheetal Nandi
35537b5f32
Implement breakpoint spans of array destructuring pattern of destructuring assignment
2015-12-22 14:54:21 -08:00
Sheetal Nandi
681e3543d6
Fix the breakpoint spans of call / new expressions
2015-12-21 15:45:28 -08:00
Sheetal Nandi
843bdbb4bd
Fix the breakpoints in For Of destructuring
2015-12-21 13:01:21 -08:00
Sheetal Nandi
4e702e5771
Implement breakpoints in paramters with destructuring binding pattern
2015-12-21 11:39:05 -08:00
Sheetal Nandi
adcc685456
Fix the array binding pattern breakpoint span of variable declaration statement
2015-12-17 16:41:34 -08:00
Sheetal Nandi
c25bfe57c6
Support for breakpoint spans in object binding pattern
2015-12-17 16:31:18 -08:00
Sheetal Nandi
83e569e6c3
Breakpoints on the node with decorator should start at actual syntax and not from decorators
2015-11-19 16:48:41 -08:00
Sheetal Nandi
858a99b4f1
Setting breakpoint inside decorator expression results in setting breakpoint on all the decorators
...
On resolution, this would be call to __decorate
2015-11-19 16:48:37 -08:00
Vladimir Matveev
b62ef0d452
initial revision of reachability checks in binder
2015-09-14 13:56:23 -07:00
Arthur Ozga
1d5dcf0d0c
changes that are non-breaking
2015-06-16 15:39:34 -07:00
Mohamed Hegazy
224e7630ea
use namespaces instead of modules in the codebase
2015-06-12 09:01:48 -07:00
Daniel Rosenwasser
9460fb580d
Use 'lastOrUndefined' where appropriate in the services layer.
2015-05-01 18:34:37 -07:00
Jason Freeman
4487fa426b
Rename iterator property of ForStatement to incrementor
2015-04-22 13:29:50 -07:00
Mohamed Hegazy
13ef271831
use @internal comment consistenlly
2015-04-10 16:32:02 -07:00
Mohamed Hegazy
431dce7b84
Merge branch 'master' into APIReviewCleanup
...
Conflicts:
src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Mohamed Hegazy
afe35c810a
Revert "Support an optional type annotation on export default statement"
...
This reverts commit a6a8a96249 .
2015-04-09 16:32:23 -07:00
Mohamed Hegazy
1c91c2c5d0
Mark non-public API surface with the /* @internal */ comment
2015-04-09 14:18:14 -07:00
Mohamed Hegazy
7430f3c9c7
Merge branch 'master' into exportDefaultType
...
Conflicts:
src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Cyrus Najmabadi
35040b9a85
Use 'let' in the services code.
2015-03-13 13:11:17 -07:00
Mohamed Hegazy
a6a8a96249
Support an optional type annotation on export default statement
2015-03-12 22:52:54 -07:00
Vladimir Matveev
efcf0e6f57
introduce CaseBlock as a block-scoped container for switch statements
2015-03-10 17:50:54 -07:00
Cyrus Najmabadi
a76eb69996
Add an 'isVariableLike' helper function.
2015-03-06 18:45:45 -08:00
Anders Hejlsberg
91e8b821ad
Merge branch 'master' into exportDefault
...
Conflicts:
src/compiler/checker.ts
tests/baselines/reference/contextualTyping.js.map
tests/baselines/reference/contextualTyping.sourcemap.txt
tests/baselines/reference/out-flag.js.map
tests/baselines/reference/properties.js.map
tests/baselines/reference/recursiveClassReferenceTest.js.map
tests/baselines/reference/sourceMap-FileWithComments.js.map
tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
tests/baselines/reference/typeResolution.js.map
2015-03-04 06:39:10 -08:00
Anders Hejlsberg
0e8b6dfdf4
Support for 'export default' with expressions
2015-02-25 16:03:03 -08:00
Mohamed Hegazy
bc4057af85
breakpoint support for new import/export syntax
2015-02-24 13:03:14 -08:00
Anders Hejlsberg
f0f4ca6b06
Merge branch 'master' into es6Import
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.json
src/compiler/emitter.ts
tests/baselines/reference/APISample_compile.js
tests/baselines/reference/APISample_compile.types
tests/baselines/reference/APISample_linter.js
tests/baselines/reference/APISample_linter.types
tests/baselines/reference/APISample_transform.js
tests/baselines/reference/APISample_transform.types
tests/baselines/reference/APISample_watcher.js
tests/baselines/reference/APISample_watcher.types
tests/baselines/reference/recursiveClassReferenceTest.js.map
tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt
2015-02-23 11:15:56 -08:00
Cyrus Najmabadi
8c90fc6bc8
Merge branch 'master' into binaryExpressionEmit
...
Conflicts:
src/compiler/checker.ts
2015-02-20 21:28:15 -08:00
Cyrus Najmabadi
fc229368d1
Include the binary expression's operator in the AST.
2015-02-20 18:56:42 -08:00
Cyrus Najmabadi
eb5936b06f
Merge branch 'master' into baseZero
...
Conflicts:
src/harness/harnessLanguageService.ts
2015-02-20 16:56:58 -08:00
Jason Freeman
1a3294a7d2
Parity sweep for for-in & for-of
2015-02-18 11:35:29 -08:00
Cyrus Najmabadi
124a77cc3a
Remove 'ZeroBased' from all APIs, now that all APIs are zero based.
2015-02-16 19:35:45 -08:00
Cyrus Najmabadi
b3366ec8b4
name more line/char functions more clearly. Use zero based indexing in breakpoints.
2015-02-16 16:18:53 -08:00
Cyrus Najmabadi
11a9df2cc9
Expose zero-based helpers that code will be able to call.
2015-02-16 15:30:21 -08:00
Sheetal Nandi
e0581899fa
Rename existing import declaration to ImportEqualsDeclaration
2015-01-27 14:42:20 -08:00
Cyrus Najmabadi
8917e96663
Merge branch 'funcDeclsInBlocks' into sourceFileUpdate
...
Conflicts:
src/compiler/parser.ts
src/compiler/utilities.ts
2014-12-16 03:12:31 -08:00
Cyrus Najmabadi
c7bb0a5ae6
Don't store variable statement flags on its variable declaration children.
2014-12-16 02:50:38 -08:00
Cyrus Najmabadi
fbeb7dd75e
Merge branch 'funcDeclsInBlocks' into sourceFileUpdate
...
Conflicts:
src/services/outliningElementsCollector.ts
2014-12-11 15:16:46 -08:00
Cyrus Najmabadi
b692ea9b66
Remove TryBlock and FinallyBlock.
...
They break the rule that syntactically identical constructs use the same syntax kind. This
prevents node reuse in incremental parsing.
2014-12-11 14:40:25 -08:00
Cyrus Najmabadi
c2d4cd5887
Move TextSpan into the compiler layer.
2014-12-10 13:45:08 -08:00
Cyrus Najmabadi
5bd49fec1d
Initial entrypoint in SourceFile for the LS to call to peform incremental parsing.
...
Right now the entrypoint just causes a full parse to happen. But the LS code is
cleaned up to take advantage of it appropriately.
2014-12-10 11:45:33 -08:00
Cyrus Najmabadi
cc83925f32
Also split out .PropertyDeclaration and .PropertySignature from .Property.
2014-12-08 16:37:35 -08:00
Cyrus Najmabadi
c1b19d761d
Remove the 'Method' syntaxkind and introduce MethodSignature and MethodDeclaration instead.
...
Sharing a single kind here would be bad for incremental scenarios as these two node types
are not interchangeable.
For now, i have updated nearly all code to look for both kinds. However, it may not make sense
in all locations, and we could likely tighten up many code locations to only have to deal with
one or the other.
2014-12-08 16:16:11 -08:00
Cyrus Najmabadi
22d7aed980
CR feedback.
2014-12-03 15:27:14 -08:00
Cyrus Najmabadi
3440869010
Print out methods in the types of object literals as if they were methods, not function typed properties.
2014-12-03 03:19:46 -08:00