waveform_editor.derived_waveform.ExpressionExtractor

class waveform_editor.derived_waveform.ExpressionExtractor

Bases: NodeTransformer

AST transformer extracting all string constants from expressions and replacing them with Name nodes for later evaluation.

__init__()

Methods

__init__()

generic_visit(node)

Called if no explicit visitor function exists for a node.

visit(node)

Visit a node.

visit_Constant(node)

generic_visit(node)

Called if no explicit visitor function exists for a node.

visit(node)

Visit a node.


Last update: 2025-10-02