1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
Commit Graph

152 Commits

Author SHA1 Message Date
joshvera
fc55bee5fc Change Break and Continue to take a Maybe 2017-01-17 17:20:50 -05:00
joshvera
c3201ed689 Map var declarations to VarDecl 2017-01-17 14:56:59 -05:00
joshvera
52c4f1a7b4 Add tag to FieldDecl 2017-01-17 11:53:44 -05:00
joshvera
20ead53d1c Add send statements 2017-01-12 18:39:09 -05:00
joshvera
98f2407677 Add Ty syntax 2017-01-12 17:56:41 -05:00
Rick Winfrey
9d9e3e295f Add FieldDecl Syntax 2017-01-11 15:06:06 -08:00
joshvera
5d1e105dc3 Parse type declarations 2017-01-10 18:04:34 -05:00
joshvera
0d13819f30 Make a switch statements clause a Maybe 2017-01-10 16:41:55 -05:00
joshvera
cbd132c8dc Add a Default Syntax for default cases 2017-01-10 16:05:55 -05:00
joshvera
3d95799fc7 Handle parameter declarations 2017-01-10 15:09:09 -05:00
joshvera
ae40908cd2 Update go tests 2017-01-05 17:08:28 -05:00
Timothy Clem
91721682a6 Give BEGIN/END their own Syntax 2016-12-12 15:26:26 -08:00
joshvera
563652355d Add ArrayTy, DictionaryTy, StructTy, Struct 2016-12-06 16:09:04 -05:00
Timothy Clem
6e42369ffe Collapse up math assignment into operator assignment syntax 2016-12-06 12:36:56 -08:00
Timothy Clem
048ac119ed Remove need for Binary and Unary - just use operator instead. 2016-12-06 11:43:20 -08:00
Timothy Clem
97c17a1b5c Just moving operator_assignment around 2016-12-06 11:42:41 -08:00
Timothy Clem
907d9d6cff Update termConstruction for ruby with new unary and binary 2016-12-06 11:23:10 -08:00
Timothy Clem
2ee93b4525 New shape for yield statements 2016-12-05 15:56:18 -08:00
Timothy Clem
47402c7c8a New shape for return statements 2016-12-05 15:54:59 -08:00
Rick Winfrey
859820cfb2 Added support for Continue statements in JavaScript 2016-11-30 15:40:06 -06:00
Rick Winfrey
1329d6c763 Add Break Syntax constructor 2016-11-30 15:30:51 -06:00
joshvera
2ea54313a4 Add type conversions 2016-11-21 15:44:31 -05:00
joshvera
83453dd54f Add type assertions 2016-11-21 15:27:06 -05:00
joshvera
30a3961409 Add go, defer, and subscript access statements 2016-11-14 19:05:02 -05:00
joshvera
6e248e76f0 Add select statements 2016-11-14 17:47:04 -05:00
Timothy Clem
ba9e0424ff Implement until as a negation of while 2016-11-07 13:33:41 -08:00
Timothy Clem
cafcd8fd91 Implement unless as a Negate syntax 2016-11-07 13:12:53 -08:00
Timothy Clem
363fb62bd7 Remove comment 2016-11-07 13:11:03 -08:00
Timothy Clem
b541a903dd Collapse up Ruby begin with Try syntax 2016-11-07 10:26:59 -08:00
Timothy Clem
2b195508fd Streamline block expression 2016-11-04 15:45:26 -07:00
Timothy Clem
463d075879 Refactor ruby case/when into switch/case Syntax and start on elsif 2016-11-04 15:35:09 -07:00
Timothy Clem
5705393b10 Remove Args syntax entirely! 2016-11-04 13:42:06 -07:00
Timothy Clem
437522f5e1 Remove need for Params syntax 2016-11-04 13:05:28 -07:00
Timothy Clem
c02c32ac7c Back to a single Rescue syntax 2016-11-04 12:29:02 -07:00
Timothy Clem
769413813c Better begin and method declaration parsing and summaries 2016-11-03 14:24:05 -07:00
Timothy Clem
452d795ddd Merge remote-tracking branch 'origin/master' into more-ruby-parsing 2016-11-03 09:26:35 -07:00
Timothy Clem
4daf39476e Parse rescue modifiers 2016-11-03 09:23:35 -07:00
Timothy Clem
a98185f1a6 Rescue blocks in all their glory 2016-11-02 17:18:09 -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
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
Rick Winfrey
1cd998ff88 Merge branch 'master' into syntax-term-to-json 2016-11-01 17:58:15 -05:00
Rick Winfrey
72899821bc Add generic ToJSON instance for Syntax 2016-11-01 15:03:18 -05:00
Timothy Clem
a950a07b40 While and Until just have a list of f 2016-10-31 13:14:32 -07:00
Timothy Clem
c21307b5f7 Parse for iterator syntax 2016-10-27 10:07:24 -07:00
Timothy Clem
539a68f06e Parse lambdas 2016-10-27 09:24:28 -07:00
Timothy Clem
5dd53c0b93 if/unless modifiers and (sort of) unless statements 2016-10-26 14:49:51 -07:00
Timothy Clem
3bbfb765a5 Parse if, with some caveats 2016-10-26 14:32:08 -07:00