buildgrid.server.operations.filtering.interpreter module
- class buildgrid.server.operations.filtering.interpreter.OperationFilterSpec(name: str, description: str, sanitizer: buildgrid.server.operations.filtering.sanitizer.ValueSanitizer)
Bases:
object
- name: str
- description: str
- sanitizer: ValueSanitizer
- class buildgrid.server.operations.filtering.interpreter.FilterTreeInterpreter
Bases:
Interpreter
Interpreter for the parse tree.
Calling FilterTreeInterpreter().visit(tree) walks the parse tree and outputs a list of OperationFilters.
- filter_phrase(tree: Tree) List[OperationFilter]
- filter_elem(tree: Tree) OperationFilter