psamm.datasource.context – File system contexts¶
Utilities for keeping track of parsing context.
Raised when a context failure occurs.
FileMark(filecontext, line, column)¶
Marks a position in a file.
This is used when parsing input files, to keep track of the position that generates an entry.
File context that keeps track of contextual information.
When a file is loaded, all files specified in that file must be loaded relative to the first file. This is made possible by keeping a context that remembers where a file was loaded so that other files can be loaded relatively.