Ergo.Context.ast_to_string
You're seeing just the function
ast_to_string
, go back to Ergo.Context module for more information.
Link to this function
ast_to_string(ctx)
Where an AST has been built from individual characters and needs to be converted to a string
Examples
iex> context = Ergo.Context.new()
iex> context = %{context | ast: [?H, ?e, ?l, ?l, ?o]}
iex> Context.ast_to_string(context)
%Context{ast: "Hello"}