class ArchSpec::Sources::Base

Shared interface for source adapters. Normalizes the file path, parses eagerly, and converts parser errors to ArchSpec source locations. Subclasses provide supported extensions, a Prism program, and comments.