Emph Strong Delimiter Parser
Types
Functions
canOpenClose
Link copied to clipboard
open fun canOpenClose(tokens: TokensCache, left: TokensCache.Iterator, right: TokensCache.Iterator, canSplitText: Boolean): <ERROR CLASS><Boolean, Boolean>
Content copied to clipboard
isLeftFlankingRun
Link copied to clipboard
open fun isLeftFlankingRun(leftIt: TokensCache.Iterator, rightIt: TokensCache.Iterator): Boolean
Content copied to clipboard
isPunctuation
Link copied to clipboard
isRightFlankingRun
Link copied to clipboard
open fun isRightFlankingRun(tokens: TokensCache, leftIt: TokensCache.Iterator, rightIt: TokensCache.Iterator): Boolean
Content copied to clipboard
isWhitespace
Link copied to clipboard
process
Link copied to clipboard
open override fun process(tokens: TokensCache, iterator: TokensCache.Iterator, delimiters: MutableList<DelimiterParser.Info>, result: SequentialParser.ParsingResultBuilder)
Content copied to clipboard
Receives a list of delimiters collected by scan (contains tokens from all parsers) and creates actual tree nodes from them.
scan
Link copied to clipboard
open override fun scan(tokens: TokensCache, iterator: TokensCache.Iterator, delimiters: MutableList<DelimiterParser.Info>): Int
Content copied to clipboard