Implemented visit(MainMethodDeclaration)