summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-03-25 11:03:35 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-03-25 11:03:35 -0700
commitf520ac9b17b91ff4f295678abde4c04e1f91afc2 (patch)
tree00e4b1d5fe8438ff6b1ffd6dc1a397cfbde041ee /src
parent1572c272410bb97278c5a25a1144e0055a109064 (diff)
T.P.Parsing: use explicit imports.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Parsing.hs103
1 files changed, 101 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs
index fdf5aa332..b6b7a58ce 100644
--- a/src/Text/Pandoc/Parsing.hs
+++ b/src/Text/Pandoc/Parsing.hs
@@ -225,11 +225,110 @@ import Text.Parsec
Stream(..) )
import Text.Parsec.Pos (initialPos, newPos)
import Text.Pandoc.Parsing.Capabilities
-import Text.Pandoc.Parsing.Citations
+ ( guardDisabled,
+ guardEnabled,
+ logMessage,
+ notAfterString,
+ reportLogMessages,
+ updateLastStrPos,
+ HasIdentifierList(..),
+ HasIncludeFiles(..),
+ HasLastStrPosition(..),
+ HasLogMessages(..),
+ HasMacros(..),
+ HasQuoteContext(..),
+ HasReaderOptions(..),
+ QuoteContext(..) )
+import Text.Pandoc.Parsing.Citations ( citeKey )
import Text.Pandoc.Parsing.Combinators
+ ( readWithM,
+ (<+?>),
+ anyLine,
+ anyLineNewline,
+ blankline,
+ blanklines,
+ charRef,
+ characterReference,
+ charsInBalanced,
+ countChar,
+ emailAddress,
+ enclosed,
+ escaped,
+ extractIdClass,
+ gobbleAtMostSpaces,
+ gobbleSpaces,
+ indentWith,
+ insertIncludedFile,
+ lineBlockLines,
+ lineClump,
+ many1Char,
+ many1Till,
+ many1TillChar,
+ manyChar,
+ manyTillChar,
+ manyUntil,
+ manyUntilChar,
+ nested,
+ nonspaceChar,
+ notFollowedBy',
+ oneOfStrings,
+ oneOfStringsCI,
+ parseFromString,
+ parseFromString',
+ readWith,
+ registerHeader,
+ sepBy1',
+ skipSpaces,
+ spaceChar,
+ stringAnyCase,
+ testStringWith,
+ textStr,
+ token,
+ trimInlinesF,
+ uri,
+ withHorizDisplacement,
+ withRaw )
import Text.Pandoc.Parsing.GridTable
+ ( gridTableWith,
+ gridTableWith',
+ tableWith,
+ tableWith',
+ toTableComponents,
+ toTableComponents',
+ widthsFromIndices,
+ TableComponents(..),
+ TableNormalization(..) )
import Text.Pandoc.Parsing.Lists
-import Text.Pandoc.Parsing.Math
+ ( indentWith,
+ anyOrderedListMarker,
+ decimal,
+ lowerAlpha,
+ lowerRoman,
+ orderedListMarker,
+ romanNumeral,
+ upperAlpha,
+ upperRoman )
+import Text.Pandoc.Parsing.Math ( mathDisplay, mathInline )
import Text.Pandoc.Parsing.Smart
+ ( apostrophe,
+ dash,
+ doubleCloseQuote,
+ doubleQuoteEnd,
+ doubleQuoteStart,
+ ellipses,
+ singleQuoteEnd,
+ singleQuoteStart,
+ smartPunctuation )
import Text.Pandoc.Parsing.State
+ ( defaultParserState,
+ toKey,
+ HeaderType(..),
+ Key(..),
+ KeyTable,
+ NoteTable,
+ NoteTable',
+ ParserContext(..),
+ ParserState(..),
+ SubstTable )
import Text.Pandoc.Parsing.Types
+ ( ParserT, askF, asksF, returnF, runF, Future(..), Parser )