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("", ast: [?H, ?e, ?l, ?l, ?o])
iex> assert %Context{ast: "Hello"} = Context.ast_to_string(context)