Commit Graph
41 Commits
Author SHA1 Message Date
Cyrus Najmabadi aa2509a08a Small micro optimizations to incremental parsing. 2014-11-04 01:19:19 -08:00
Cyrus Najmabadi 7c0c788886 Specialize update method for both nodes and tokens. 2014-11-04 01:19:06 -08:00
Cyrus Najmabadi 6fd900b4c2 Faster fixedWidthTokenLength function. 2014-11-04 01:18:51 -08:00
Cyrus Najmabadi ddfdfc3dd5 Change 'kind' into a property from a method. 2014-11-04 01:18:37 -08:00
Cyrus Najmabadi 5d06cd7461 Make ISyntaxElement.parent non-optional 2014-11-03 18:59:17 -08:00
Cyrus Najmabadi 296391619e Encode child counts as an array, not as a switch. 2014-11-03 18:29:37 -08:00
Cyrus Najmabadi 8954538399 Remove SyntaxNode.ts file
Lots of cleanup of the syntax generator.

Sort definitions.

Remove unused class.
2014-11-03 00:30:52 -08:00
Cyrus Najmabadi adb775c579 Simplifying node constructors 2014-11-02 23:54:26 -08:00
Cyrus Najmabadi 02ad58c7c7 Use functions instead of classes 2014-11-02 23:51:11 -08:00
Cyrus Najmabadi a8e88eafd3 Remove accept method from syntax nodes 2014-11-02 23:48:29 -08:00
Cyrus Najmabadi a00fdad52b Remove childCount and childAt from ISyntaxElement.
Conflicts:
	src/services/syntax/syntaxUtilities.generated.ts
2014-11-02 23:47:54 -08:00
Cyrus Najmabadi 1f969fe41c Remove shared arrays. 2014-11-02 23:42:54 -08:00
Cyrus Najmabadi 4ebd2a2240 Remove SyntaxNode class 2014-11-02 23:40:29 -08:00
Cyrus Najmabadi 329d3d5f13 Speed up incremental parsing 2014-11-02 23:37:55 -08:00
Cyrus Najmabadi 4e55bcf2a0 Remove unused code. 2014-11-02 23:35:33 -08:00
Cyrus Najmabadi 5af3d48340 Speeding up parsing and incremental parsing. 2014-11-02 23:32:51 -08:00
Cyrus Najmabadi 2d948cb761 Speed up findToken 2014-11-02 23:30:29 -08:00
Cyrus Najmabadi d89d9282ff Speed up incremental parsing by caching child tokens instead of walking the tree for them. 2014-11-02 23:22:09 -08:00
Cyrus Najmabadi 92e40b76c2 Add support for parsing template expressions. 2014-11-02 01:19:19 -08:00
Cyrus Najmabadi 0962a8869b Remove abstract syntax tree generation support from fidelity. 2014-11-01 16:50:04 -07:00
Cyrus Najmabadi c4d6b7c22e Use a flat list for separated syntax lists. 2014-11-01 16:20:23 -07:00
Cyrus Najmabadi f20876b7d8 Merge branch 'master' into defineProperty 2014-10-31 18:45:55 -07:00
Cyrus Najmabadi cb3e6d8921 Speed up separatedListChildCount 2014-10-31 18:41:03 -07:00
Cyrus Najmabadi 6ac80babc5 When augmenting Array.prototype, make the functions non-enumerable by default so as to not affect clients that call for-in 2014-10-31 18:28:55 -07:00
Cyrus Najmabadi 18af4fc165 Move back to how we used to walk trees for incremental parsing perf. 2014-10-31 15:02:43 -07:00
Cyrus Najmabadi 492211fd62 Move away from separate syntax kinds for binary and unary expressions. 2014-10-30 15:09:33 -07:00
Cyrus Najmabadi 84f0348420 Removing commented out code. 2014-10-30 14:06:53 -07:00
Cyrus Najmabadi f0ea98f5b2 Improve walking speed in Fidelity. 2014-10-30 14:00:21 -07:00
Cyrus Najmabadi 64086133e9 Merge branch 'master' into fidelityParsingUpdates2 2014-10-30 12:38:16 -07:00
Cyrus Najmabadi 0e2058c0ab Adding support in fidelity for parsing union and parenthesized types 2014-10-30 01:29:51 -07:00
Cyrus Najmabadi cd1a1dbfc5 Remove nulls from the syntax layer. 2014-10-29 22:41:37 -07:00
Cyrus Najmabadi 782239b6b1 use .pop() on an array instead of setting the length directly. The latter causes v8 to stop optimizing the method. 2014-10-29 14:18:29 -07:00
Mohamed Hegazy e15f4e6d34 Merge branch 'master' into letAndConst
Conflicts:
	src/compiler/types.ts
2014-10-16 09:30:58 -07:00
Dick van den Brink 648c697257 Removed some unused var statements 2014-10-15 20:11:35 +02:00
Mohamed Hegazy 873c1df74b Add es6 target 2014-10-11 12:52:42 -07:00
Cyrus Najmabadi 4143c242b5 Remove unnecessary indent. 2014-09-19 18:15:27 -07:00
Cyrus Najmabadi 0e9134788a Port fidelity changes to github. 2014-09-18 15:37:16 -07:00
Dick van den Brink d16dcaaf1d Remove some unused variables 2014-09-17 19:55:03 +02:00
Cyrus Najmabadi aeb428e9e5 Fix incremental parsing bug due to non invalidating cached data in nodes. 2014-09-05 17:59:52 -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
Mohamed Hegazy 253273820d initial change 2014-07-29 12:04:50 -07:00