コード例 #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
ファイル: shex_doc_parser.py プロジェクト: Teester/pyshexy
 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
コード例 #4
0
 def __init__(self, context: ParserContext, label: Optional[str]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.nodeconstraint = NodeConstraint(id=label)
コード例 #5
0
 def __init__(self, context: ParserContext, label: Optional[Union[IRIREF, BNODE]]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.shape = Shape(label)
コード例 #6
0
 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
コード例 #8
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression = None
コード例 #9
0
 def __init__(self, context: ParserContext, label: Optional[Union[IRIREF, BNODE]]=None):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.label = label
     self.expr = None
コード例 #10
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.semacts = []                   # List[SemAct]
     self.annotations = []               # List[Annotation]
コード例 #11
0
ファイル: shex_doc_parser.py プロジェクト: shexSpec/grammar
 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]
コード例 #13
0
 def __init__(self, context: ParserContext):
     ShExDocVisitor.__init__(self)
     self.context = context
     self.expression: TripleConstraint = None