Skip to main content

Module statement_surface

Module statement_surface 

Source
Expand description

Normalize Gemfile-like Ruby surface sugar into the canonical Prayfile statement form.

Supported (static, non-executable):

  • top-level ; statement separators
  • { … } blocks as do / end
  • optional call parentheses after keywords (compose("x") do)
  • optional call parentheses on symbol assignments (support_email("x"))

Not supported (intentional): interpolation, constants, variables, method chaining.

Structs§

SurfaceStatementReader

Functions§

expand_statement_surface
split_symbol_assignment