transonic.analyses.blocks_if

Analyses for “if blocks”

Functions

find_index_closing_parenthesis(string)

Find the index of the closing parenthesis

get_block_definitions(code, module, ...)

Get all "if" block definitions

get_signatures_from_comments(comments)

Get the blocks signatures for a block

Classes

BlockDefinition(**kwargs)

Represent a block definition