Rick Winfrey
1cdd847e16
Use Statement.Pattern in place of Go.Syntax.Communication
2017-11-06 17:00:04 -08:00
Rick Winfrey
2ca942a9e8
🔥 Communication constructor
...
- We can use Statement.Pattern, because the parent is a Go.Syntax.Select syntax. Because we have the parent context in the parse tree, adding a separate constructor for the case is unnecessary.
2017-11-06 16:59:42 -08:00
Rick Winfrey
a17fbb5cd9
Update type switch statements tests
2017-11-06 16:58:33 -08:00
Rick Winfrey
bebfc6d761
Add TypeSwitch to Go Syntax Union
2017-11-06 16:58:15 -08:00
Rick Winfrey
3032bbef8e
Add defaultCase to expressions choice
2017-11-06 16:57:46 -08:00
Rick Winfrey
f159e73b72
Assign type switch statements
2017-11-06 16:57:29 -08:00
Rick Winfrey
0330349c4c
Assign type case clause statements
2017-11-06 16:57:18 -08:00
Rick Winfrey
b32add6c21
Assign type case statements
2017-11-06 16:57:08 -08:00
Rick Winfrey
74e9feddcd
Assign type switch guard statements
2017-11-06 16:56:52 -08:00
Rick Winfrey
beb1789054
Add TypeSwitchGuard constructor
2017-11-06 16:56:25 -08:00
Rick Winfrey
9e6544a53a
Add TypeSwitch constructor
2017-11-06 16:56:15 -08:00
Rick Winfrey
a7f461298b
Separate default expression cases
2017-11-06 15:50:24 -08:00
Josh Vera
1d31831730
Merge pull request #1424 from github/handle-typescript-assignment-errors
...
Handle assignment errors
2017-11-06 17:28:03 -05:00
joshvera
485669c6f8
qualify handleError
2017-11-06 16:04:54 -05:00
joshvera
bc10d0c696
qualify handleError
2017-11-06 16:01:06 -05:00
joshvera
0b6fa7bf93
handle assignment errors in markdown
2017-11-06 15:58:05 -05:00
joshvera
3fce07a948
handle assignment errors in json
2017-11-06 15:57:49 -05:00
joshvera
92769123c4
Catch exceptions in Ruby assignment back to assignment errors
2017-11-06 15:53:31 -05:00
joshvera
965d12dc98
Catch exceptions back to assignment errors
2017-11-06 15:53:05 -05:00
Josh Vera
3c474f1cfd
Merge pull request #1423 from github/typescript-fixes
...
More typescript fixes
2017-11-06 13:58:58 -05:00
joshvera
f74ba1a858
remove GHC.Stack
2017-11-06 13:52:25 -05:00
joshvera
59f137eccc
s/data/newtype
2017-11-06 11:25:23 -05:00
joshvera
300d860ae5
Ruby/TypeScript
2017-11-06 11:24:58 -05:00
Rick Winfrey
ba5be778ad
Update select statements tests
2017-11-03 17:11:51 -07:00
Rick Winfrey
d662655988
Unify default cases for various switch / select statements to one syntax
2017-11-03 17:11:38 -07:00
Rick Winfrey
cbd0b71ee3
🔥 DefaultCommunication constructor
2017-11-03 17:11:20 -07:00
Rick Winfrey
4d903dbb90
Bump haskell-tree-sitter
2017-11-03 16:35:14 -07:00
Rick Winfrey
436a66b8b7
Update type declarations tests
2017-11-03 15:14:25 -07:00
Rick Winfrey
97f10bd358
Update unary expressions tests
2017-11-03 15:12:25 -07:00
Rick Winfrey
2b7feb3c8b
Update type conversion expressions tests
2017-11-03 15:12:12 -07:00
Rick Winfrey
bbe0e0c3f4
Assign type alias declarations
2017-11-03 15:10:13 -07:00
Rick Winfrey
eba0d30983
Assign pointer literals
2017-11-03 15:01:23 -07:00
Rick Winfrey
39d0b31010
Move Pointer and Reference constructors from Statement.hs to Literal.hs
2017-11-03 15:00:46 -07:00
joshvera
cb0924f4cb
haskell-tree-sitter
2017-11-03 16:01:36 -04:00
joshvera
59e928a07f
🔥 HasCallStack constraints in typescript
2017-11-03 15:30:27 -04:00
Josh Vera
8dd19297d4
Merge branch 'master' into typescript-fixes
2017-11-03 13:58:13 -04:00
joshvera
9a4effa8a7
++haskell-tree-sitter
2017-11-03 13:30:42 -04:00
joshvera
4bce58a0c8
Update go tests based on tree-sitter-go changes
2017-11-03 12:41:18 -04:00
joshvera
acbaf0cffc
Add lookup type support
2017-11-03 10:36:43 -04:00
joshvera
62d729d008
++haskell-tree-sitter
2017-11-03 10:08:57 -04:00
joshvera
8bcec1b922
++haskell-tree-sitter
2017-11-03 08:56:19 -04:00
joshvera
8749edaf63
Contextualize/postContextualize classBodyStatements
...
We can't catch comments with emptyTerm because that'll add an emptyTerm node to every list of parameters/bodyStatements
2017-11-02 20:41:53 -04:00
joshvera
78e182578f
Revert "Simplify formalParameters and classBodyStatements by parsing emptyTerm in case of comments in empty bodies"
...
This reverts commit b7c1f668ff14faf8493365ca2f217abf572284b3.
2017-11-02 20:37:09 -04:00
joshvera
6aaeb3695f
++haskell-tree-sitter
2017-11-02 20:32:00 -04:00
joshvera
6775483aa8
Simplify formalParameters and classBodyStatements by parsing emptyTerm in case of comments in empty bodies
2017-11-02 20:19:34 -04:00
joshvera
d5c3b552eb
++haskell-tree-sitter
2017-11-02 20:05:54 -04:00
Rick Winfrey
2c2925bedb
Assign type conversion statements
2017-11-02 16:11:00 -07:00
Rick Winfrey
42cd73e67e
Add TypeConversion constructor
2017-11-02 16:10:51 -07:00
joshvera
f57ffed5c2
++haskell-tree-sitter
2017-11-02 18:53:15 -04:00
joshvera
e4de7a381e
++haskell-tree-sitter
2017-11-02 18:41:58 -04:00