Skip to content

code_4

pygerber.nodes.primitives.Code4 module contains definition of Code4 class.

Code4

Bases: Node

Represents code 4 macro primitive.

visit

visit(visitor: AstVisitor) -> Code4

Handle visitor call.

get_visitor_callback_function

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

Get callback function for the node.