'Given a source and an index returns the expanded
declaration at that index.
FileAST holds a list of \'external declarations\'.
index is the offset of the desired declaration in that
list.'

def get_decl(self, txt, index=0):

    t = self.parse(txt).ext[index]
    return expand_decl(t)
