lookup.py to lookup ast nodes by type and code.