org v0.1.0 Org.Parser

Parses a text or list of tokens into an Org.Document.

By calling parse/1, the lexer is invoked first. To parse a file that has already been lexed, pass the tokens to parse_tokens/2 directly.

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Org.Parser{doc: Org.Document.t(), mode: :paragraph | :table | nil}

Link to this section Functions

Link to this function parse_tokens(parser \\ %Org.Parser{}, tokens)
parse_tokens(Org.Parser.t(), [Org.Lexer.token()]) :: Org.Document.t()