file ¶ nodes.file module contains definition of File class. File ¶ Bases: Node The File node class represents a root of Gerber AST. It will be invalid for a File node to contain another File node. visit ¶ visit(visitor: AstVisitor) -> File Handle visitor call. get_visitor_callback_function ¶ get_visitor_callback_function( visitor: AstVisitor, ) -> Callable[[Self], File] Get callback function for the node.