Skip to main content

Module block

Module block 

Source
Expand description

Block construction utilities

This module provides helper functions to reduce code duplication when constructing AST blocks.

Functionsยง

block_with_statement
Create a block with a single statement
block_with_statements
Create a block with multiple statements
empty_block
Create an empty block