[Subversion] / PEAK-Rules / Syntax-Matching.txt  

Diff of /PEAK-Rules/Syntax-Matching.txt

Parent Directory | Revision Log

version 2673, Tue Aug 17 01:25:45 2010 UTC version 2705, Tue Sep 6 00:20:18 2011 UTC
Line 6 
Line 6 
 predicates against snippets of parameterized Python code, such that a  predicates against snippets of parameterized Python code, such that a
 rule expression like::  rule expression like::
   
     syntax.match(expr, type(`x`) is `y`) and y in Const      syntax.match(expr, type(`x`) is `y`) and isinstance(y, Const)
   
 Will return true if ``expr`` is a PEAK-Rules AST of the form::  Will return true if ``expr`` is a PEAK-Rules AST of the form::
   


Generate output suitable for use with a patch program
Legend:
Removed from v.2673  
changed lines
  Added in v.2705

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help