]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: Add codeparser for parsing shell and python functions
authorRichard Purdie <rpurdie@linux.intel.com>
Mon, 2 Aug 2010 09:20:20 +0000 (10:20 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 31 Aug 2010 11:41:23 +0000 (12:41 +0100)
commit3492bff64a809b3a2a2376b83f41e099e16d22f6
tree5434ee1339f0fb038584a00fb14739909e570fb3
parent13fdd4ae5d5709332d84427ff8e60dc9ba62974f
bitbake: Add codeparser for parsing shell and python functions

This commit is derived from Chris Larson's checksum work, turned into a
standalone piece of code for parsing python and shell functions.

The deindent code has been replaced with code to work around indentation
for speed. The original NodeVisitor in the ast was replaced with a faster
class walk call.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/codeparser.py [new file with mode: 0644]
bitbake/lib/bb/data_smart.py