Exemplo n.º 1
0
 def __init__(self,
              langHelper,
              name,
              fileName,
              includeTop=False,
              numTopPredictions=0):
     CodeStructure.__init__(self, langHelper, name, fileName,
                            [EdgeType.CALLS], includeTop, numTopPredictions)
Exemplo n.º 2
0
 def __init__(self,
              langHelper,
              name,
              fileName,
              includeTop=False,
              numTopPredictions=0):
     CodeStructure.__init__(
         self,
         langHelper,
         name,
         fileName, [
             EdgeType.CONTAINS, EdgeType.IMPORTS, EdgeType.EXTENDS,
             EdgeType.IMPLEMENTS, EdgeType.CALLS, EdgeType.ADJACENT
         ],
         includeTop,
         numTopPredictions=numTopPredictions)
Exemplo n.º 3
0
 def __init__(self, langHelper, name, fileName, includeTop=False, numTopPredictions=0):
     CodeStructure.__init__(
         self,
         langHelper,
         name,
         fileName,
         [
             EdgeType.CONTAINS,
             EdgeType.IMPORTS,
             EdgeType.EXTENDS,
             EdgeType.IMPLEMENTS,
             EdgeType.CALLS,
             EdgeType.ADJACENT,
         ],
         includeTop,
         numTopPredictions=numTopPredictions,
     )
Exemplo n.º 4
0
 def __init__(self, langHelper, name, fileName, includeTop = False, numTopPredictions=0):
     CodeStructure.__init__(self, langHelper, name, fileName, [EdgeType.ADJACENT], includeTop, numTopPredictions)