Skip to content

constant

pygerber.nodes.math.constant module contains definition of Constant class.

Constant

Bases: Expression

Represents math expression constant.

visit

visit(visitor: AstVisitor) -> Constant

Handle visitor call.

get_visitor_callback_function

get_visitor_callback_function(
    visitor: AstVisitor,
) -> Callable[[Self], Constant]

Get callback function for the node.