Crate latex_ast

Source
Expand description

§Warning: unfinished crate

Planned stages of AST are

  • Stage 1: document ➡ vector of chunks
  • Stage 2: stage 1 ➡ environment-based AST
  • Stage 3: stage 2 ➡ handles paragraphs and inline maths
  • Stage 4: stage 3 ➡ programmatic handling/querying of chunks

Missing sanitisation checks for line numbers for constructing individual chunks.

Modules§

ast1
Stage 1 AST
ast2
Stage 2 AST
ast3
Stage 3 AST
traits
Public traits

Structs§

Error
Main error struct

Enums§

ErrorType
Error message content
InternalError
Errors caused by incorrect usage of the crate