Module parsing

Source

Structs§

ExtractedToken
Struct that represents a token in a specific text.
NonBooleanValue
Error value for parse_boolean(). Returned if the given string value is not a loose boolean, for instance "yes" or "true".
ParseError
An issue that occurred during parsing.
ParseOutcome
ParseSuccess
UnstructuredParseResult
Represents the result of an internal parse.

Enums§

ParseErrorKind
Token
Enum that represents the type of a parsed token. For a struct with additional context surrounding the positioning and content of the token, see ExtractedToken.

Functions§

parse
Parse through the given tokens and produce an AST.
parse_boolean
Parse a boolean string into its corresponding value.
parse_internal
Runs the parser, but returns the raw internal results prior to conversion.

Type Aliases§

ParseResult