1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
Commit Graph

9268 Commits

Author SHA1 Message Date
Timothy Clem
2e4c4ee194 Fully test case/when/else 2016-11-02 13:46:33 -07:00
Timothy Clem
fbe7bc7c13 Better handling of case/when 2016-11-02 13:42:06 -07:00
Timothy Clem
295d03dd43 Handle rescue blocks 2016-11-02 13:05:30 -07:00
Timothy Clem
71f53b37fd Handle ensure blocks and refactor to BlockExpression syntax 2016-11-02 12:55:48 -07:00
Timothy Clem
6eebd35a8f Improved elsif parsing and summaries 2016-11-02 12:32:46 -07:00
Timothy Clem
185f1de69c Better handling of else blocks 2016-11-02 11:16:57 -07:00
Timothy Clem
2c1497ab99 Handle else blocks in begin statements 2016-11-02 11:10:01 -07:00
Timothy Clem
fc73be16d7 Better handling of begin statements 2016-11-02 10:52:40 -07:00
Timothy Clem
9868c9b0a6 Merge pull request #891 from github/ruby
Ruby parser
2016-11-01 09:04:46 -07:00
Timothy Clem
6cac25d2a9 Merge remote-tracking branch 'origin/master' into ruby 2016-11-01 08:50:54 -07:00
Rick Winfrey
2aa2179b41 Merge pull request #898 from github/json-api
Update JSON Output Format
2016-11-01 10:34:38 -05:00
Timothy Clem
f78704b9c0 Merge remote-tracking branch 'origin/master' into ruby 2016-11-01 08:27:24 -07:00
Josh Vera
d4d99d359e Merge branch 'master' into json-api 2016-11-01 11:20:29 -04:00
Josh Vera
412e8a9587 Merge pull request #899 from github/javascript-exhaustion
Produce error nodes if productions don't match expected shape
2016-11-01 11:19:13 -04:00
Rick Winfrey
fb73232449 Verify tests and generation are 👌 2016-11-01 10:19:04 -05:00
Rick Winfrey
63c30662b2 Remove remaining EmptyResult reference 2016-11-01 10:18:41 -05:00
Rick Winfrey
582e7ce978 Remove NamespaceImport Category (unrelated change) 2016-11-01 10:09:05 -05:00
Rick Winfrey
d09d0d65d2 Remove EmptyResult constructor (no longer used) 2016-11-01 10:06:55 -05:00
Rick Winfrey
c058ac634d Remove auto-formatted alignment 2016-11-01 10:06:36 -05:00
Rick Winfrey
67adf75fdf ++JavaScript tests 2016-11-01 10:03:25 -05:00
Rick Winfrey
b2d6728a78 Simplify help language for -s and -j 2016-11-01 10:01:28 -05:00
Rick Winfrey
cd19f63129 Omekasify the test case generator
- convention for repo file path
- convention for test case file path
- convention for location of repo
- now requires a generate flag (for summary or json expectedResult
output)
2016-11-01 09:53:28 -05:00
Rick Winfrey
35ff284569 Remove warning unnecessary do 2016-11-01 09:52:09 -05:00
Rick Winfrey
d9adbe8783 Simplify JSONMetaRepo fields 2016-11-01 09:51:54 -05:00
Timothy Clem
5f20127044 Stub out expected todo for ruby control statements 2016-10-31 13:56:19 -07:00
Timothy Clem
ada47c7208 Error if for statements don't match expected shape 2016-10-31 13:47:51 -07:00
Timothy Clem
4f3e5fa069 Produce error nodes if productions don't match expected shape 2016-10-31 13:29:58 -07:00
Timothy Clem
37ac36e22c Regenerate with s/_/- and todos 2016-10-31 13:21:58 -07:00
Timothy Clem
271831b70d Exhaustively match to error 2016-10-31 13:15:19 -07:00
Timothy Clem
2c96933c29 Generate to fix multiple-assignment 2016-10-31 13:14:58 -07:00
Timothy Clem
a950a07b40 While and Until just have a list of f 2016-10-31 13:14:32 -07:00
Rick Winfrey
e87e54302f Add documentation for Eff related functions 2016-10-31 15:03:12 -05:00
Timothy Clem
ad422ffc11 Produce errors if we can't match while, until, for, or functions 2016-10-31 12:14:52 -07:00
Timothy Clem
c6f734db67 Remove experimental test fixture format 2016-10-31 11:58:10 -07:00
Timothy Clem
a4362d854e And a bump for tree-sitter too 2016-10-31 10:16:37 -07:00
Timothy Clem
9ac247dbd4 Element reference parsing, control statement tests 2016-10-31 10:15:44 -07:00
Rick Winfrey
416536d882 Add missing parens 2016-10-28 08:09:37 -05:00
Rick Winfrey
aa724c4159 Preserve original type class constraint order 2016-10-28 07:56:26 -05:00
Rick Winfrey
282c7abd4e Remove unnecessary comment 2016-10-28 07:44:13 -05:00
Rick Winfrey
5b7fc1e256 Remove GenerateAll as we don't support that functionality yet 2016-10-28 07:43:57 -05:00
Rick Winfrey
532a29aeec Rename SemanticGitDiffSpec.hs -> IntegrationFormatSpec.hs 2016-10-27 21:09:04 -05:00
Rick Winfrey
b2709315c5 Rename for better consistency 2016-10-27 20:51:23 -05:00
Rick Winfrey
cb28917573 Add JSON format tests to integration-test 2016-10-27 20:51:09 -05:00
Rick Winfrey
8c3d9d0d76 Add JSON output format JavaScript JSONTestCases 2016-10-27 20:46:12 -05:00
Rick Winfrey
16c6e1da59 ++diff-summary javascript test cases 2016-10-27 20:44:36 -05:00
Rick Winfrey
3cfbcd102d Update SemanticGitDiffSpec to handle ExpectedResult data type 2016-10-27 20:43:30 -05:00
Rick Winfrey
4936f282ad Simplify the structure of generator files; update GenerateTestCases 2016-10-27 20:42:46 -05:00
Rick Winfrey
df231ca64c Add ToJSON and FromJSON instances for JSONTestCase and ExpectedResult 2016-10-27 20:40:20 -05:00
Rick Winfrey
4ac2608749 Add HashMap 2016-10-27 20:23:31 -05:00
Timothy Clem
ba305a2a44 Parse module declarations 2016-10-27 12:47:27 -07:00