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

26773 Commits

Author SHA1 Message Date
joshvera
c7c9aafa2b s/Module/InternalModule 2018-12-06 10:49:04 -05:00
joshvera
4a7fa7b18a Implement AbstractClass 2018-12-06 10:48:58 -05:00
joshvera
1ddd78b9de Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-06 10:44:43 -05:00
joshvera
4ee84bc538 Implement InternalModule 2018-12-06 10:44:40 -05:00
joshvera
9ac611e17f Implement Module 2018-12-06 10:41:26 -05:00
joshvera
f0e2b51b80 Revert "Remove TypeScript Module"
This reverts commit 0c9d58ae586e492075dec1a8666492451f83a480.
2018-12-06 10:32:02 -05:00
joshvera
8bd2f30875 Format the heaps 2018-12-06 10:31:22 -05:00
joshvera
f82d82b2ba Remove TypeScript Module 2018-12-06 10:27:56 -05:00
Rob Rix
fc19fa67db Use declareFunction to define both Function and Method evaluation. 2018-12-06 10:20:51 -05:00
Rob Rix
e65da03e85 No we should not. 2018-12-06 10:20:05 -05:00
Rob Rix
4913b252b8 Define a helper for declaring functions/methods. 2018-12-06 10:19:22 -05:00
Rob Rix
8ff61d8299 Simplify the ValueRoots instance for closures. 2018-12-06 10:09:50 -05:00
joshvera
f4a0bd7265 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-06 09:30:36 -05:00
Rob Rix
e639c3ffc3 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 17:22:22 -05:00
Rob Rix
de6557442a 🔥 some redundant language extensions. 2018-12-05 17:21:57 -05:00
Rob Rix
92a82f0bd2 Simplify some fmaps. 2018-12-05 17:21:49 -05:00
Rob Rix
db823182a7 Use an operator section. 2018-12-05 17:21:23 -05:00
Rob Rix
da99d65e61 🔥 redundant parens. 2018-12-05 17:21:13 -05:00
Rob Rix
b21f900a3a Replace some dollars with dots. 2018-12-05 17:21:00 -05:00
joshvera
eee533a010 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 15:58:11 -05:00
Rob Rix
743e24f9ce 🔥 a redundant language extension. 2018-12-05 15:56:27 -05:00
Rob Rix
46ab1d6b02 Use <$> again. 2018-12-05 15:56:00 -05:00
Rob Rix
7ca06eff7f Use <$>. 2018-12-05 15:55:41 -05:00
Rob Rix
cdb869e199 Functor law. 2018-12-05 15:55:13 -05:00
Rob Rix
0fe1f4db5f Use for_. 2018-12-05 15:54:22 -05:00
Rob Rix
a14cc79903 🔥 redundant parens. 2018-12-05 15:53:23 -05:00
joshvera
52c685d30f Implement default export instance 2018-12-05 15:45:20 -05:00
Rob Rix
47c2dea759 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 15:39:09 -05:00
Rob Rix
6bb5308697 Rename the ScopeGraph field to unScopeGraph. 2018-12-05 15:35:02 -05:00
Rob Rix
d98cb05d0b Pattern-match against the constructor. 2018-12-05 15:34:20 -05:00
Rob Rix
7badac6148 Spacing. 2018-12-05 15:32:18 -05:00
Rob Rix
0daef02edc Don’t use record wildcards to unpack ScopeGraph. 2018-12-05 15:32:06 -05:00
Rob Rix
dc2b94eef2 Align { to the next line. 2018-12-05 15:26:35 -05:00
Rob Rix
6bf9f08f63 🔥 a couple of redundant do-blocks. 2018-12-05 15:24:50 -05:00
Rob Rix
3d34922fe2 Tighten up reference with <$> and <|>. 2018-12-05 15:24:10 -05:00
Rob Rix
c90e1605fd Tighten up insertImportReference using <$> and <|>. 2018-12-05 15:20:08 -05:00
Rob Rix
12ccbf8f85 Move modifyReferences down. 2018-12-05 15:19:09 -05:00
Rob Rix
e8a9634339 Flip modifyReferences. 2018-12-05 15:18:53 -05:00
Rob Rix
1e12265292 Extract a function to modify a scope’s references. 2018-12-05 15:17:18 -05:00
Rob Rix
ebc1a83ed1 Factor out a common traverseEdges function. 2018-12-05 15:14:57 -05:00
joshvera
522c87e627 Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames 2018-12-05 15:09:46 -05:00
joshvera
eae6b7c8b3 Add tests for QualifedExportFrom 2018-12-05 15:07:37 -05:00
Rob Rix
05392f2296 simplify lookupScopePath using <$>. 2018-12-05 14:53:42 -05:00
Rob Rix
98107e05be Correct associatedScope using >>=. 2018-12-05 14:48:44 -05:00
Rob Rix
3a3fa0c541 Define associatedScope using foldr. 2018-12-05 14:42:53 -05:00
Rob Rix
38611d053c Simplify associatedScope using <$> and <|>. 2018-12-05 14:42:05 -05:00
Rob Rix
3c2a544a2d Define scopeOfDeclaration using a foldr. 2018-12-05 14:40:12 -05:00
Rob Rix
bc0c28477f Simplify scopeOfDeclaration using <$ and <|> . 2018-12-05 14:38:25 -05:00
Rob Rix
9a966a51f4 Use maybe. 2018-12-05 14:35:30 -05:00
Rob Rix
433e3dd04d Use maybeM. 2018-12-05 14:35:24 -05:00