zkay.zkay_ast.analysis.return_checker

Module Contents

zkay.zkay_ast.analysis.return_checker.check_return(ast)
exception zkay.zkay_ast.analysis.return_checker.ReturnPositionException(ast: zkay.zkay_ast.ast.ReturnStatement)

Bases: zkay.zkay_ast.ast.AstException

Generic exception for errors in an AST

class zkay.zkay_ast.analysis.return_checker.ReturnCheckVisitor(traversal='post', log=False)

Bases: zkay.zkay_ast.visitor.visitor.AstVisitor

visitReturnStatement(self, ast: zkay.zkay_ast.ast.ReturnStatement)