Yield keyword is usable in expressions.
Await now usable as expression.
Merge pull request #1335 from wbond/add-tests
Add Travis CI config to run syntax tests
Merge pull request #1340 from Thom1729/javascript-await-expression
[JavaScript] `yield` and `await` expressions
Merge pull request #1341 from Thom1729/javascript-async-iteration
[JavaScript] Implemented `for await`.
Added spread operator and made computed property names consistent.
Upate D.sublime-syntax for new function contracts.
Since recently (http://forum.dlang.org/post/esjclvbebspqkekjmwki@forum.dlang.org) the `do` keyword can be used in place of the `body` keyword in function declarations with contracts.
Restructured class parsing. Inheritance no longer borked. Also, a tes…
…t was invalid for no good reason.
Add keyword to the right scope, test
Fixed syntax errors in the test file and added a test for using `do` instead of `body` in a function definition with contracts.
[Groovy] Improve string syntax highlighting
- Highlight triple quoted strings
- Highlight "dollar slashy strings"
- Highlight unclosed strings
- Highlight erroneous newlines in single line strings
- Highlight invalid identifiers in interpolated strings
- Highlight interpolation in slashy strings ("regexp")
- Enable full language highlighting inside interpolation
- Only include the proper unicode ranges in identifiers (variables)
inside string interpolation.
- Only match valid escape sequences (instead of any character at all);
note that the different kinds of strings don't share all of the same
escape sequences.
- Add a whole bunch of tests for strings
Note: Technically "slashy strings" (scoped as "regexp" here) allow
newlines as well, but I think more work needs to be done before
removing the lookahead expression on the opening '/'.
For instance, the following is already highlighted incorrectly and it
would probably lead to even more troubles if these were set free from
their current single line containment (without additional work).
```groovy
// Current (incorrect) highlighting
def a = 1 / 2 + / 3 /
// ^ constant.numeric.groovy
// ^^^^^^^ string.regexp.groovy
// ^ constant.numeric.groovy
// ^ keyword.operator.arithmetic.groovy
// Correct highlighting
def a = 1 / 2 + / 3 /
// ^ constant.numeric.groovy
// ^ keyword.operator.arithmetic.groovy
// ^ constant.numeric.groovy
// ^ keyword.operator.arithmetic.groovy
// ^^^^^ string.regexp.groovy
```- Names with packages are correctly recognized - Constants' definitions can contain several constants - Fixed generic/array related false positive invalids - All braces are now 'punctuation.section' - Removed void/threadsafe
Merge pull request #1345 from veelo/patch-1
Upate D.sublime-syntax for new function contracts.
Merge pull request #1348 from Thom1729/javascript-class-extends-expre…
…ssion [JavaScript] Arbitrary expressions in `extend`.
Merge pull request #1351 from lastsecondsave/javadoc_refresh
[Java] Refactor javadoc
Merge pull request #1353 from TheClams/master
[Matlab] Fix highlight of functions with no return or argument
Merge pull request #1344 from Thom1729/javascript-object-literal-fixes
[JavaScript] Added spread operator and made computed property names consistent.
Merge branch 'master' of https://github.com/Thom1729/Packages into ja…
…vascript-better-arrow-fallthrough
[JavaScript] Overhaul binding declarations (#1338)
* Properly implemented variable bindings. * Add tests. * Cleaned up various naming logic. * Simplified constructor contexts. behavior should be slightly better when a complex expression follows `new`. * Move bindings tests to tests directory.
Merge pull request #1354 from STealthy-and-haSTy/css_at-namespace_url
[CSS] allow url function to be used in at-namespace
Merge pull request #1355 from STealthy-and-haSTy/md_strikethrough
[Markdown] support strikethrough
Merge pull request #1359 from STealthy-and-haSTy/cs_code_outside_clas…
…s_tweak [C#] tweak to code block handling outside of a class
Merge branch 'master' of https://github.com/sublimehq/Packages into j…
…avascript-better-arrow-fallthrough
Merge pull request #1362 from STealthy-and-haSTy/rust_995
[Rust] fix nested array template arguments
Merge pull request #1366 from lastsecondsave/fqn
[Java] Fully Qualified Name
Merge pull request #1368 from JoshuaWebb/feature/groovy-string-highli…
…ghting [Groovy] Improve string syntax highlighting
[JavaDoc] Maintain compatibility with other syntaxes that include jav…
…adoc (D, Groovy)
JavaScript - Improved handling of unexpected close punctuation.
Merge pull request #1381 from Thom1729/javascript-better-arrow-fallth…
…rough [JavaScript] Exported variable declarations end properly.
Merge pull request #1413 from Thom1729/javascript-better-unexpected-b…
…racket-handling [JavaScript] Improved handling of unexpected close punctuation.