blob: ac3789a7129ac4b897c49dcf024fc81c4c8b2125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
"""
Part of the BlackStar filesystem (bsfs) module.
A copy of the license is provided with the project.
Author: Matthias Baumgartner, 2022
"""
# imports
import typing
# bsfs imports
from bsfs import schema as bsc
# inner-module imports
from . import ast
# exports
__all__ : typing.Sequence[str] = (
'Filter',
)
## code ##
class Filter():
# schema to validate against.
schema: bsc.Schema
def __init__(self, schema: bsc.Schema):
self.schema = schema
def parse(self, node: ast.filter.FilterExpression):
raise NotImplementedError()
## EOF ##
|