Exemple #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
Exemple #2
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression = None
Exemple #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)
Exemple #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]
Exemple #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
Exemple #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