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

11289 Commits

Author SHA1 Message Date
joshvera
41915ff44a Update tests 2017-03-28 13:25:46 -04:00
joshvera
01a8087b0a Map public_field_definition to FieldDecl and fix up VarDecl and VarAssignment mappings 2017-03-28 13:00:15 -04:00
Rob Rix
d7b294e3d0 Merge branch 'master' into batch-copy-terms 2017-03-28 12:57:24 -04:00
Rick Winfrey
e2da5ce309 Merge pull request #1026 from github/gitmon-support
Gitmon support
2017-03-28 09:55:37 -07:00
Rob Rix
c652ec4367 Bump haskell-tree-sitter to master. 2017-03-28 12:50:53 -04:00
Rick Winfrey
2ff5d92d01 Alignment 2017-03-28 09:44:19 -07:00
Rick Winfrey
5aebd2006a Rework loading of env vars 2017-03-28 09:41:16 -07:00
Rick Winfrey
5e220b620b Move renderSExpression function 2017-03-28 08:58:27 -07:00
joshvera
980565af05 Don't rewrap VarAssignment and VarDecl 2017-03-28 11:51:39 -04:00
joshvera
285bd71606 Add function type and array type 2017-03-28 11:22:27 -04:00
joshvera
f2666fd5bd Add tuple type 2017-03-28 11:19:45 -04:00
Rob Rix
e1c914d90a Bump haskell-tree-sitter. 2017-03-28 09:45:19 -04:00
Rob Rix
7438874a59 Bump haskell-tree-sitter for another microoptimization. 2017-03-27 21:35:22 -04:00
Rob Rix
0a7f840d79 Bump haskell-tree-sitter for low-level optimizations to node importing. 2017-03-27 21:09:59 -04:00
Rick Winfrey
d9ee7ca25d 🔥 a bunch of code, reduce code paths 2017-03-27 17:07:09 -07:00
Rick Winfrey
4eaee89482 SourceText -> Maybe SourceText 2017-03-27 16:43:37 -07:00
Rick Winfrey
854f35759b 🔥 convenience functions 2017-03-27 16:29:41 -07:00
Rick Winfrey
844f54464f Reflow toJSON definitions 2017-03-27 16:21:30 -07:00
Rick Winfrey
faeaed219f Move identifierFor to main where 2017-03-27 16:17:41 -07:00
Rick Winfrey
0e406f57d3 Use traverse_ with uncurry to setEnv in specs 2017-03-27 15:55:43 -07:00
Rick Winfrey
eaa5873ed7 Merge branch 'master' into gitmon-support 2017-03-27 15:38:18 -07:00
Rick Winfrey
1399166ed0 Print IO exception to stderr
- Printing to stdout will cause JSON parsing issues on the dotcom side
2017-03-27 15:27:03 -07:00
Rob Rix
02828cb949 Pass the TSNode through instead of copying the whole Node back over. 2017-03-27 18:19:24 -04:00
joshvera
30c605f0a6 Map variable_declarator to VarAssignment 2017-03-27 18:02:43 -04:00
joshvera
31361d2306 Add interface, intersection, union type tests 2017-03-27 17:54:37 -04:00
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