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

11363 Commits

Author SHA1 Message Date
joshvera
3d27c9dd3e Add type assertions tests 2017-03-27 17:27:18 -04:00
joshvera
0323f6173c Map accessibility modifier to identifier 2017-03-27 17:22:23 -04:00
Rick Winfrey
3d20fe58a3 Update comment formatting 2017-03-27 14:16:08 -07:00
Rick Winfrey
f935e1542f Use BangPatterns 2017-03-27 14:15:58 -07:00
Rick Winfrey
12616f961c Print IO exceptions rather than swallow them 2017-03-27 14:13:21 -07:00
Rick Winfrey
cc0288f431 Inline error handling for getCurrentDirectory 2017-03-27 14:13:01 -07:00
joshvera
d5e90bdfeb Add module declarations 2017-03-27 17:09:29 -04:00
joshvera
48f4310428 Add ambient type declarations 2017-03-27 17:08:07 -04:00
joshvera
92ff890b9e Add export assignments 2017-03-27 17:06:24 -04:00
joshvera
845dcc2cda Add ambient exports tests 2017-03-27 17:04:42 -04:00
joshvera
0d123d1936 Add typeof type tests 2017-03-27 17:02:51 -04:00
joshvera
40423e47d5 Add ambient declaration tests 2017-03-27 17:00:44 -04:00
joshvera
9c220b9fe1 Generate ambient declarations 2017-03-27 16:58:40 -04:00
Rob Rix
f207a70e1c Spacing. 2017-03-27 16:56:28 -04:00
joshvera
d05e297084 Relax VarDecl and VarAssignment constraints 2017-03-27 16:28:37 -04:00
Rob Rix
5c3a8cac21 Bind the copying functions in the where clause. 2017-03-27 16:19:09 -04:00
Rob Rix
bbc488d12a Pull getChildren, childNodeToTerm, and range into a where clause. 2017-03-27 16:17:10 -04:00
Rob Rix
bf68679f20 Tidy up the source span. 2017-03-27 16:04:43 -04:00
Rob Rix
23c4a8b6c3 Tidy up how we get child terms. 2017-03-27 16:03:35 -04:00
Rob Rix
32b6ff17e0 Filter non-empty children in getChildren. 2017-03-27 16:02:25 -04:00
Rob Rix
72b5b056de Don’t pass the range in. 2017-03-27 15:59:48 -04:00
Rob Rix
e6b85848da We no longer need to evaluate these strictly. 2017-03-27 15:57:11 -04:00
Rob Rix
fa68774cbd Take a Node, not a Ptr Node. 2017-03-27 15:54:34 -04:00
Rob Rix
19ce10451a Batch-copy nodes. 2017-03-27 15:48:24 -04:00
Rick Winfrey
862c335213 snake_case -> camelCase 2017-03-27 10:21:28 -07:00
Rick Winfrey
e801ac3f07 Use void for safeGitmonIO 2017-03-27 10:11:30 -07:00
Rick Winfrey
7258550221 🔥 Data.Text pack 2017-03-27 10:11:09 -07:00
joshvera
48d46489d1 Merge remote-tracking branch 'origin/master' into typescript-mapping 2017-03-27 12:05:06 -04:00
Rob Rix
20a04c04e3 Note some remaining work for character literals & escapes. 2017-03-27 11:40:47 -04:00
Rob Rix
ecf2530fd2 Clarify that Constructor covers structs too. 2017-03-27 10:41:18 -04:00
Rob Rix
6b50a17796 Define ADT declaration syntax. 2017-03-27 10:40:20 -04:00
Rob Rix
9531d58be8 Define class declaration syntax. 2017-03-27 10:34:44 -04:00
Rob Rix
65cd622b93 Define method declaration syntax. 2017-03-27 10:33:15 -04:00
Rob Rix
4e91c973cf Add a todo about function types. 2017-03-27 10:33:03 -04:00
Rob Rix
3efb0670d2 Define function declaration syntax. 2017-03-27 10:31:16 -04:00
Rob Rix
71eee6f060 Define some pattern matching statements. 2017-03-27 10:27:46 -04:00
Rob Rix
20a7ae34b1 Clarify a todo. 2017-03-27 10:17:40 -04:00
Rob Rix
e2da69cf14 Note some other literal todos. 2017-03-27 10:16:24 -04:00
Rob Rix
0b0f1e72a9 Put the derived Eq/Show instances with Try. 2017-03-26 22:01:33 -04:00
Rob Rix
7443cde497 Define ForEach statements. 2017-03-26 22:01:01 -04:00
Rob Rix
e2bf093178 Define For statements. 2017-03-26 22:00:52 -04:00
Rob Rix
d5aa1d3c7e Note an alternative definition of If to decide on. 2017-03-26 21:18:07 -04:00
Rob Rix
8e9cc1607d Rename the If syntax selectors. 2017-03-26 21:17:02 -04:00
Rob Rix
6b1d830e0f Define DoWhile syntax. 2017-03-26 21:16:01 -04:00
Rob Rix
80ae9ffe4b Define While syntax. 2017-03-26 21:15:10 -04:00
Rob Rix
cdd3ae18c8 Define Try/Catch/Finally statements.
Try in particular should suffice to define the same statements for e.g. Ruby (which adds Else to the typical Catch/Finally).
2017-03-26 21:12:47 -04:00
Rob Rix
d025a2aa44 Generalize Data.Functor.Union to (k -> *) -> k -> *. 2017-03-26 20:39:26 -04:00
Rob Rix
64a2523d1c Define Throw syntax. 2017-03-26 18:41:39 -04:00
Rob Rix
574b4eba28 Define Return and Yield syntaxes. 2017-03-26 18:39:35 -04:00
Rob Rix
b13fc0432f Superset is poly-kinded, and takes a constraint combinator.
This means that Superset can be used with Data.Record as well as Union.
2017-03-26 18:29:11 -04:00