Example #1
0
 def __init__(self,
              context: ParserContext,
              label: Optional[Union[IRIREF, BNODE]] = None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.label = label
     self.expr = None
Example #2
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression = None
Example #3
0
 def __init__(self, default_base: Optional[str] = None):
     ShExDocVisitor.__init__(self)
     self.context = ParserContext()
     self.context.base = IRIREF(default_base) if default_base else None
 def __init__(self, context: ParserContext, label: Optional[str]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.nodeconstraint = NodeConstraint(id=label)
 def __init__(self, context: ParserContext, label: Optional[Union[IRIREF, BNODE]]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.shape = Shape(label)
 def __init__(self,
              context: ParserContext,
              label: Optional[Union[IRIREF, BNODE]] = None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.shape = Shape(label)
Example #7
0
 def __init__(self, context: ParserContext, label: Optional[str]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.nodeconstraint = NodeConstraint(id=label)
     self._nc_values = None
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression = None
 def __init__(self, context: ParserContext, label: Optional[Union[IRIREF, BNODE]]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.label = label
     self.expr = None
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.semacts = []                   # List[SemAct]
     self.annotations = []               # List[Annotation]
Example #11
0
 def __init__(self, default_base: Optional[str]=None):
     ShExDocVisitor.__init__(self)
     self.context = ParserContext()
     self.context.base = IRIREF(default_base) if default_base else None
Example #12
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.semacts = []  # List[SemAct]
     self.annotations = []  # List[Annotation]
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression: TripleConstraint = None