Crate angelmarkupsource · [−]
An error struct to catch Angelmarkup errors.
A struct to store and retrieve data about all lexed tokens.
Both the string and split character have to be strings.
Compiles an AML file to a JSON file.
Compiles an AML file to a TOML file.
Compiles an AML file to a YAML file.
a boolean depending on whether the operation succeeded.
returns a boolean to that effect.
Checks if “subject” has the index “index”.
The actual lexing function: Iterates through all lines and then through all characters and builds a vector of tokens while doing so and finally returns this vector.
Lints your AML code. If everything is A-OK, “true” is returned.
A HashMap for tokens the lexer recognises.
Tries to read a file and return its contents.
Serializes an AML string into a “HashMap”.
Converts a HashMap into a Angelmarkup string.
Converts a HashMap into a TOML string.
Converts a HashMap into a YAML string.
Tries to write to a file and returns a boolean depending on whether the operation succeeded.