Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(0)  |  Derive(0)  |  Import(8)
Python parse tree definitions.

This is a very concrete parse tree; we need to keep every token and
even the comments and whitespace between tokens.

There's also a pattern matching implementation here.

src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_set_literal.py   py3kwarn(Download)
# Author: Benjamin Peterson
 
from py3kwarn2to3 import fixer_base, pytree
from py3kwarn2to3.fixer_util import token, syms
 

src/p/y/py3kwarn-HEAD/py3kwarn2to3/fixes/fix_exitfunc.py   py3kwarn(Download)
# Author: Benjamin Peterson
 
from py3kwarn2to3 import pytree, fixer_base
from py3kwarn2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms
 

src/p/y/py3kwarn-HEAD/py3kwarn/main.py   py3kwarn(Download)
from . import __version__
 
from py3kwarn2to3 import refactor, pytree
from py3kwarn2to3.fixer_util import find_root
 

src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_set_literal.py   py3kwarn(Download)
# Author: Benjamin Peterson
 
from py3kwarn2to3 import fixer_base, pytree
from py3kwarn2to3.fixer_util import token, syms
 

src/p/y/py3kwarn-0.4.4/py3kwarn2to3/fixes/fix_exitfunc.py   py3kwarn(Download)
# Author: Benjamin Peterson
 
from py3kwarn2to3 import pytree, fixer_base
from py3kwarn2to3.fixer_util import Name, Attr, Call, Comma, Newline, syms
 

src/p/y/py3kwarn-0.4.4/py3kwarn/main.py   py3kwarn(Download)
from . import __version__
 
from py3kwarn2to3 import refactor, pytree
from py3kwarn2to3.fixer_util import find_root
 

src/p/y/py3kwarn-HEAD/py3kwarn2to3/tests/test_pytree.py   py3kwarn(Download)
from . import support
 
from py3kwarn2to3 import pytree
 
try:

src/p/y/py3kwarn-HEAD/py3kwarn2to3/tests/support.py   py3kwarn(Download)
 
# Local imports
from py3kwarn2to3 import pytree, refactor
from py3kwarn2to3.pgen2 import driver