Results¶
When a pattern is matched, it fills a ResultContext. The ResultContext has to be instantiated by the client and passed to the match method. Here are the provided classes that derive from ResultContext:
-
sheetparser.results.PythonObjectContext()¶ Store the results are a hierarchy of objects that mimics the initial hierarchy of patterns
-
sheetparser.results.ListContext()¶ a context that returns a dictionary where the key is the name of the pattern
-
sheetparser.results.DebugContext()¶ A result context that implements the debug function