Package-level declarations
Types
A wrapper of a TokenData that may be parsed in order to extract information. A token can be parsed into a com.quarkdown.core.ast.Node.
The position of a token within the source code.
Data of a single, usually small, substring of the source code that stores a chunk of information. For instance, the Markdown code Hello _Quarkdown_ contains the tokens Hello , _, Quarkdown, _.
Functions
Like the generic acceptAll, but specialized to Node output: each parsed node is also passed through wrapIfPrimitive, so primitive nodes (e.g. com.quarkdown.core.ast.base.block.Heading) are wrapped into a com.quarkdown.core.ast.quarkdown.FunctionCallNode backed by their stdlib function, both at the top level (see com.quarkdown.core.pipeline.stages.ParsingStage) and inside nested content (see com.quarkdown.core.parser.BlockTokenParser).
Converts a range of indexes within a string to its (x, y) coordinates.