mirror of
https://github.com/github/semantic.git
synced 2025-01-02 12:23:08 +03:00
Don't serve Java over the API.
This commit is contained in:
parent
f0a34778ad
commit
02f3f375c3
@ -129,7 +129,6 @@ doParse :: (Member (Error SomeException) sig, Member Distribute sig, Member Task
|
|||||||
doParse blobPair decorate = case languageForBlobPair blobPair of
|
doParse blobPair decorate = case languageForBlobPair blobPair of
|
||||||
Go -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse goParser blob >>= decorate blob)
|
Go -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse goParser blob >>= decorate blob)
|
||||||
Haskell -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse haskellParser blob >>= decorate blob)
|
Haskell -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse haskellParser blob >>= decorate blob)
|
||||||
Java -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse javaParser blob >>= decorate blob)
|
|
||||||
JavaScript -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse tsxParser blob >>= decorate blob)
|
JavaScript -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse tsxParser blob >>= decorate blob)
|
||||||
JSON -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse jsonParser blob >>= decorate blob)
|
JSON -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse jsonParser blob >>= decorate blob)
|
||||||
JSX -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse tsxParser blob >>= decorate blob)
|
JSX -> SomeTermPair <$> distributeFor blobPair (\ blob -> parse tsxParser blob >>= decorate blob)
|
||||||
|
@ -115,7 +115,6 @@ doParse :: (ParseEffects sig m) => Blob -> m (SomeTerm TermConstraints Location)
|
|||||||
doParse blob = case blobLanguage blob of
|
doParse blob = case blobLanguage blob of
|
||||||
Go -> SomeTerm <$> parse goParser blob
|
Go -> SomeTerm <$> parse goParser blob
|
||||||
Haskell -> SomeTerm <$> parse haskellParser blob
|
Haskell -> SomeTerm <$> parse haskellParser blob
|
||||||
Java -> SomeTerm <$> parse javaParser blob
|
|
||||||
JavaScript -> SomeTerm <$> parse tsxParser blob
|
JavaScript -> SomeTerm <$> parse tsxParser blob
|
||||||
JSON -> SomeTerm <$> parse jsonParser blob
|
JSON -> SomeTerm <$> parse jsonParser blob
|
||||||
JSX -> SomeTerm <$> parse tsxParser blob
|
JSX -> SomeTerm <$> parse tsxParser blob
|
||||||
|
Loading…
Reference in New Issue
Block a user