annotate python/ppci/common.py @ 162:d8c735dc31f9

Used new editor in ide
author Windel Bouwman
date Sun, 10 Mar 2013 11:36:55 +0100
parents e05b2b216bfc
children 8104fc8b5e90
rev   line source
153
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
1
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
2 from collections import namedtuple
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
3
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
4 SourceLocation = namedtuple('SourceLocation', ['row', 'col'])
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
5 SourceRange = namedtuple('SourceRange', ['p1', 'p2'])
e05b2b216bfc Added common
Windel Bouwman
parents:
diff changeset
6