예제 #1
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     self.list_cardinality(self.classExpressions, 'exprs', 2)
     return w.func(self, lambda: w.iter(self.classExpressions))
예제 #2
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(self, lambda: w + self.v)
예제 #3
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(self, lambda:
                   (w + self.dataPropertyExpression + self.literal))
예제 #4
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(
         self, lambda:
         (w + self.card + self.dataPropertyExpression).opt(self.dataRange))
예제 #5
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(
         self,
         lambda: w.iter(self.dataPropertyExpressions) + self.dataRange)
예제 #6
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(
         self, lambda: (w + self.card + self.objectPropertyExpression).opt(
             self.classExpression))
예제 #7
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(self, lambda: w + self.objectPropertyExpression)
예제 #8
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(self, lambda: w.iter(self.individuals))
예제 #9
0
 def to_functional(self, w: FunctionalWriter) -> FunctionalWriter:
     return w.func(self, lambda: w + self.classExpression)