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