1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00
Commit Graph

10063 Commits

Author SHA1 Message Date
Rob Rix
e88e4c81ff Slightly more lenient handling of Case. 2017-01-23 15:12:12 -05:00
Rob Rix
122a34452a Let If & While fall through. 2017-01-23 15:12:02 -05:00
Rob Rix
7af836e39d 🔥 a redundant function call pattern. 2017-01-23 15:09:45 -05:00
Rob Rix
f761323f14 Let return statements fall through. 2017-01-23 15:08:40 -05:00
Rob Rix
f2dd0977ba Defer to the language-agnostic handling of Switch. 2017-01-23 15:06:55 -05:00
Rob Rix
e95ae2c5d9 Ruby uses Switch/Case like anyone else would. 2017-01-23 15:06:05 -05:00
Rob Rix
974020891a Assign Switch terms language-agnostically. 2017-01-23 15:04:05 -05:00
Rob Rix
e5902d9358 Switch takes a list of subject clauses. 2017-01-23 15:02:52 -05:00
Rob Rix
0d52a93060 Placate hlint. 2017-01-23 15:02:08 -05:00
Rob Rix
ab8b6d4b37 Simplify the import of Go sources. 2017-01-23 14:47:42 -05:00
Rob Rix
f5d22fcc4d Syntax.Ty takes a list of fields. 2017-01-23 14:39:12 -05:00
Rob Rix
0474b79b97 🔥 some redundant uses of withCategory. 2017-01-23 14:33:48 -05:00
Rob Rix
413fd969f1 Simplify withRanges to get the children from the syntax. 2017-01-23 14:24:05 -05:00
Rob Rix
2540196cf3 Define the var assignment zippers tacitly. 2017-01-23 14:19:22 -05:00
Rob Rix
9092a9ebc2 Inline the range/source span lists. 2017-01-23 14:17:08 -05:00
Rob Rix
f55dd77f18 Allow variable & const declarations to fall through. 2017-01-23 14:15:42 -05:00
Rob Rix
e1df6cc471 Flatten the struct type pattern. 2017-01-23 14:14:24 -05:00
Timothy Clem
381549c045 Structure to produce toc summaries 2017-01-23 11:13:11 -08:00
Rob Rix
a7cbea7051 Handle break/continue statements language-agnostically. 2017-01-23 14:09:07 -05:00
Rob Rix
a0bdcb9f60 Handle pairs in the default term assignment. 2017-01-23 14:07:47 -05:00
Rob Rix
fac36a16ab Fall through from Go term assignment. 2017-01-23 14:06:39 -05:00
Rob Rix
af4fcadc5f Var assignment patterns match partially. 2017-01-23 14:03:05 -05:00
Timothy Clem
02f87738c0 Plumb in cmd line option for new toc output format 2017-01-23 10:49:48 -08:00
Rob Rix
107124fe62 🔥 special handling of import_declaration. 2017-01-23 13:27:55 -05:00
Rob Rix
f6eea74747 Assign C.Import to S.Import. 2017-01-23 13:27:46 -05:00
Rob Rix
9c83566b34 Map import_spec into Import. 2017-01-23 13:27:27 -05:00
Rob Rix
4c48fe33dd Simplify how individual imports are flattened. 2017-01-23 13:23:07 -05:00
Rob Rix
aa1d770ab1 Flatten import declarations. 2017-01-23 13:21:20 -05:00
Rob Rix
b2456dce33 Flatten the field declaration patterns. 2017-01-23 13:19:39 -05:00
Rob Rix
f5bc950755 Flatten toIdent into toFieldDecl. 2017-01-23 13:17:49 -05:00
Rob Rix
9a98bd6c8e Flatten the type declaration pattern. 2017-01-23 13:14:42 -05:00
Rob Rix
9e61d8a2eb Flatten the defer/go statement patterns. 2017-01-23 13:14:01 -05:00
Rob Rix
b9a8207b93 Flatten the susbcript access patterns. 2017-01-23 13:13:16 -05:00
Rob Rix
2d3bffbad3 Flatten the slice/subscript access patterns. 2017-01-23 13:12:24 -05:00
Rob Rix
df6c2dae38 Flatten the struct patterns. 2017-01-23 13:09:39 -05:00
Rob Rix
bf618900ae Flatten the dictionary literal pattern. 2017-01-23 13:05:53 -05:00
Rob Rix
252e2a6f2d Flatten the array literal pattern. 2017-01-23 13:05:19 -05:00
Rob Rix
53eff8dc1a Flatten the composite_literal pattern match. 2017-01-23 13:02:35 -05:00
Rob Rix
2fc48d7ff8 Flatten the continue pattern. 2017-01-23 13:00:57 -05:00
Rob Rix
b3ee5042cb Flatten the break pattern. 2017-01-23 13:00:06 -05:00
Rob Rix
e284d73430 Flatten the pair pattern. 2017-01-23 12:59:25 -05:00
Rob Rix
c7bb1e5325 Flatten the module/package_name pattern somewhat. 2017-01-23 12:58:51 -05:00
Rob Rix
893cb771e6 Flatten the anonymous function pattern. 2017-01-23 12:54:21 -05:00
Rob Rix
ef5d6e9df5 Don’t attempt to convert cases. 2017-01-23 12:53:09 -05:00
Rob Rix
3a459a7f31 Flatten Method pattern matches. 2017-01-23 12:44:41 -05:00
Rob Rix
5c9a9c8eb5 Flatten the FunctionCall patterns. 2017-01-23 12:41:51 -05:00
Rob Rix
918dcd0498 Flatten the type assertion/conversion patterns. 2017-01-23 12:41:01 -05:00
Rob Rix
681dc71832 Flatten the Send pattern. 2017-01-23 12:40:00 -05:00
Rob Rix
07a5688d21 Flatten the pointer/channel type patterns. 2017-01-23 12:39:37 -05:00
Rob Rix
0b01b510a3 Combine the ParameterDecl patterns. 2017-01-23 12:38:33 -05:00