Module parse

Source
Expand description

Provides parsing functionality.

Re-exports§

pub use crate::error::ParseError;
pub use crate::error::TracebackError;

Structs§

LocatableToken
Encapsulates a token and its location in a file.
ParsedMarkdown
Represents the parsed contents of a markdown file.
Parser
Represents a parser.
RawFunction
Represents a raw function.

Enums§

ParsedContents
The parsed contents of a file.
RawArgument
Represents a raw argument.
Token
Represents a token to parse.

Functions§

parse_html
Attempts to parse a file at the given path into a list of tokens.
parse_markdown
Attempts to parse a markdown file into a ParsedMarkdown struct.