1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 08:54:07 +03:00
Commit Graph

16383 Commits

Author SHA1 Message Date
Rob Rix
5ac488f164 Revert "Use the declarationAlgebra in the tests."
This reverts commit d42f9b01b42f1d0d4b769f89642b3ed7e47a5c34.
2017-10-06 10:30:20 -04:00
Rob Rix
5510e5b0fd Revert "Add Syntax to the DeclarationStrategy predicate."
This reverts commit dc841faff44ea966969563f729ee23edc03e2db8.
2017-10-06 10:30:17 -04:00
Rob Rix
ba850e9853 Combine the code paths for ToC rendering. 2017-10-06 10:29:38 -04:00
Rob Rix
3830324818 🔥 the first parameter to HasDeclaration. 2017-10-06 10:25:59 -04:00
Rob Rix
7ae35a79c2 Revert "Define a CustomHasDeclaration instance for Syntax."
This reverts commit 91510ce6e8c93f1728c138905b26bb93630f8864.
2017-10-06 10:24:50 -04:00
Rob Rix
e9c0377d03 Revert "Decorate Syntax with declarationAlgebra."
This reverts commit 4a4f799bdb63824d6e403ff292ac9fda8059876b.
2017-10-06 10:24:06 -04:00
Rob Rix
913d0f6979 Revert "🔥 syntaxDeclarationAlgebra."
This reverts commit 042d42db1a9df6876ec061de35517f3e823f16e3.
2017-10-06 10:23:56 -04:00
Rob Rix
a644e46efc Test for emptiness without a membership constraint. 2017-10-06 10:17:17 -04:00
Rob Rix
53e6f80d93 Add Syntax to the DeclarationStrategy predicate. 2017-10-06 10:14:05 -04:00
Rob Rix
ec3dff1c66 Use the declarationAlgebra in the tests. 2017-10-06 09:34:15 -04:00
Rob Rix
58e4a5fcf1 Spacing. 2017-10-05 20:54:29 -04:00
Rob Rix
37845baa08 Reorder the re-exports. 2017-10-05 20:38:45 -04:00
Rob Rix
5b55bb37a9 🔥 syntaxDeclarationAlgebra. 2017-10-05 20:38:35 -04:00
Rob Rix
9bf11258a5 Decorate Syntax with declarationAlgebra. 2017-10-05 20:38:30 -04:00
Rob Rix
e6ad277ef7 Define a CustomHasDeclaration instance for Syntax. 2017-10-05 20:37:20 -04:00
Rob Rix
25ca026c83 🔥 markupSectionAlgebra. 2017-10-05 20:36:33 -04:00
Rob Rix
f09621444f Decorate Markdown declarations using declarationAlgebra. 2017-10-05 20:36:14 -04:00
Rob Rix
30fb1bb324 Silence a warning in Semantic.Util. 2017-10-05 20:35:18 -04:00
Rob Rix
072f3e1e0a Replace declarationAlgebra with toDeclarationAlgebra. 2017-10-05 20:32:57 -04:00
Rob Rix
6082c5090e Export HasDeclaration. 2017-10-05 20:30:33 -04:00
Rob Rix
e9e17b71da Merge remote-tracking branch 'origin/abstract-high-level-flow-over-syntax-types' into open-toc-rendering 2017-10-05 20:12:46 -04:00
Rob Rix
85872a3e2e Merge branch 'master' into abstract-high-level-flow-over-syntax-types 2017-10-05 20:11:56 -04:00
Rob Rix
17be494d3c Rename toDeclaration' to customToDeclaration. 2017-10-05 20:07:25 -04:00
Rob Rix
544071884b Rename HasDeclaration' to CustomHasDeclaration. 2017-10-05 20:06:34 -04:00
Rob Rix
f701045232 Define a HasDeclaration' instance for Declaration.Method. 2017-10-05 20:04:42 -04:00
Rob Rix
683ea586d5 Comment on the named functions clause. 2017-10-05 20:02:34 -04:00
Rob Rix
8284db1320 We have a custom instance for Error, not Empty. 2017-10-05 19:38:23 -04:00
Rob Rix
025429f6cc Add the Union to the predicate. 2017-10-05 19:31:22 -04:00
Rob Rix
43df678875 Add Syntax.Empty & Declaration.Function to the predicate. 2017-10-05 19:29:55 -04:00
Rob Rix
bc73d982a9 Define a HasDeclaration' instance for Declaration.Function. 2017-10-05 19:26:31 -04:00
Timothy Clem
701cbd7bf2 No need for bang patterns here 2017-10-05 16:19:40 -07:00
Timothy Clem
077deb44c2 Extract withTiming and measure overall run time 2017-10-05 16:15:32 -07:00
Rob Rix
9e7cde3e9a 🔥 the membership constraint for Context in diffWithParser. 2017-10-05 18:48:53 -04:00
Rob Rix
193167e3e9 Lift the file helper into MonadIO. 2017-10-05 18:42:19 -04:00
Rob Rix
89b22f5efa Re-export toDeclarationAlgebra. 2017-10-05 18:40:42 -04:00
Timothy Clem
82968ac175 Merge branch 'master' into stats 2017-10-05 14:34:55 -07:00
Josh Vera
3ecd1d1bfa Merge pull request #1392 from github/typescript-fixes
Typescript fixes
2017-10-05 14:13:25 -07:00
Timothy Clem
5e692a5127 Documenting things 2017-10-05 14:07:18 -07:00
joshvera
71eefd92a5 Merge remote-tracking branch 'origin/master' into typescript-fixes 2017-10-05 14:04:57 -07:00
Josh Vera
93a93c5fe4 Merge pull request #1391 from github/bump-haskell-tree-sitter
Bump haskell-tree-sitter
2017-10-05 14:04:30 -07:00
joshvera
a1d075a47e regenerate tests 2017-10-05 14:01:03 -07:00
Rick Winfrey
13b50137bf Merge branch 'master' into bump-haskell-tree-sitter 2017-10-05 13:52:41 -07:00
Rick Winfrey
e18b6c8628 Bump haskell-tree-sitter 2017-10-05 13:49:50 -07:00
joshvera
f5514b89c7 Add readonly modifiers to parameters 2017-10-05 13:24:53 -07:00
joshvera
fca4818269 Move abstract class to declaration 2017-10-05 13:16:39 -07:00
joshvera
9b8bde6b1e ++haskell-tree-sitter 2017-10-05 13:16:29 -07:00
Timothy Clem
b61d9a5619 Docs 2017-10-05 13:09:44 -07:00
Timothy Clem
d301cca11a Point free 2017-10-05 13:06:14 -07:00
Timothy Clem
8f0e8bf151 Format with one less indent 2017-10-05 13:02:57 -07:00
Timothy Clem
1c9c5e420e Make sure stat names don't use reserved chars 2017-10-05 13:02:44 -07:00