Implementing declaration token extractor.