MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/root/proc/self/root/proc/2/root/usr/lib/python2.4/compiler/syntax.pyc
mò
‚=5Dc@s<dZdklZlZdd„Zdfd„ƒ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.
(sastswalkcCs t|ƒ}t||ƒ|iS(N(tSyntaxErrorCheckertmultitvtwalkttreeterrors(RRR((t%/usr/lib/python2.4/compiler/syntax.pytchecks
RcBs,tZdZed„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(RtselfR(RR((Rt__init__s	cCs\|id|_|idj	od|i|i|fGHntd||i|if‚dS(Nis	%s:%s: %ss
%s (%s:%s)(	RRRtNonetnodetfilenametlinenotmsgtSyntaxError(RRR((Rterror scCsx|iD]}q
WdS(N(Rtnodesttarget(RRR((RtvisitAssign's
(t__name__t
__module__t__doc__R
R	RR(((RRs
	N(RtcompilertastRR
RR(RRRR((Rt?
s