B u `.ã@s ddlmZGdd„deƒZdS)é)Ú Interfacec@s.eZdZdd„Zdd„Zdd„Zd d d „ZdS) Ú IModelCheckercCsdS)ag Check a particular piece of Python information for errors. Provides the primary interface for checking some code for problems, according to the particular subclass's definition. @param runner the ModelCheckRunner instance that has dispatched this call to check(). @param script the ModelScript instance being checked. @param info the data to check. Depending on the subclass, info can be the raw text of a Python script, the entire AST of the script, or a particular node in that AST. N©)ÚselfÚrunnerÚscriptÚinforrú9/tmp/pip-unpacked-wheel-n62dbgi3/pyomo/checker/checker.pyÚchecks zIModelChecker.checkcCsdS)zH Start checking the given script from the given runner. Nr)rrrrrr Ú beginCheckingszIModelChecker.beginCheckingcCsdS)zI Finish checking the given script from the given runner. Nr)rrrrrr Ú endChecking$szIModelChecker.endCheckingNÚErrorcCsdS)aË Write a problem to the console. The format varies and can be changed in subclasses; by default, this method prints the following: [CheckerName] script.py:line: Error @param script the ModelScript instance being checked. Must be passed to have the file name and line number printed. @param message the error to display. @param lineno the line number on which the error occurred. Nr)rrÚmessageÚlinenorrr Úproblem)s zIModelChecker.problem)Nr N)Ú__name__Ú __module__Ú __qualname__r r r rrrrr rsrN)Zpyomo.common.pluginrrrrrr Ú s