View Source HypeLib.DSL (HypeLib v2.4.1)

The HypeLib.DSL module contains functions for parsing custom Domain-specific languages (DSLs).

changelog

Changelog

2-3-1

2.3.1

Fixed credo warnings

Link to this section Summary

Link to this section Functions

Link to this function

parse(parser_module, ast_to_parse)

View Source
@spec parse(
  parser_module :: HypeLib.DSL.Parser.t(),
  ast_to_parse :: HypeLib.DSL.Parser.ast_element()
) :: HypeLib.DSL.Parser.parse_result()
Link to this function

parse(parser_module, initial_parser_state, ast_to_parse)

View Source
@spec parse(
  parser_module :: HypeLib.DSL.Parser.t(),
  initial_parser_state :: HypeLib.DSL.Parser.state(),
  ast_to_parse :: HypeLib.DSL.Parser.ast_element()
) :: HypeLib.DSL.Parser.parse_result()
Link to this function

parse!(parser_module, ast_to_parse)

View Source
@spec parse!(
  parser_module :: HypeLib.DSL.Parser.t(),
  ast_to_parse :: HypeLib.DSL.Parser.ast_element()
) :: HypeLib.DSL.Parser.state()
Link to this function

parse!(parser_module, initial_parser_state, ast_to_parse)

View Source
@spec parse!(
  parser_module :: HypeLib.DSL.Parser.t(),
  initial_parser_state :: HypeLib.DSL.Parser.state(),
  ast_to_parse :: HypeLib.DSL.Parser.ast_element()
) :: HypeLib.DSL.Parser.state()