Pantagruel v0.0.9 Pantagruel.Parse.Expressions View Source

This module contains all advanced parsing operations that have to be called by the parser.

Link to this section Summary

Functions

Given a list of expressions representing an object/method-style function application, construct an AST

Parse a string into a float

Given a list of expressions representing function application, construct an AST

Link to this section Types

Link to this type parsed() View Source
parsed() :: [term()]

Link to this section Functions

Link to this function parse_dot_expression(_, expressions, context, _, _) View Source
parse_dot_expression(binary(), parsed(), map(), pos_integer(), pos_integer()) ::
  parsed()

Given a list of expressions representing an object/method-style function application, construct an AST.

Link to this function parse_float(_, list, context, _, _) View Source

Parse a string into a float.

Link to this function parse_function_application(rest, expressions, context, line, offset) View Source
parse_function_application(
  binary(),
  parsed(),
  map(),
  pos_integer(),
  pos_integer()
) :: parsed()

Given a list of expressions representing function application, construct an AST.

Link to this function parse_import(_, import_line, context, _, _) View Source
Link to this function parse_integer(_, list, context, _, _) View Source