コード例 #1
0
ファイル: ReSTOnlyDirective.py プロジェクト: jdavancens/abjad
 def __init__(self, argument=None, children=None, name=None):
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
     )
コード例 #2
0
ファイル: ReSTOnlyDirective.py プロジェクト: ajyoon/abjad
 def __init__(self, argument=None, children=None, name=None):
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
         )
コード例 #3
0
ファイル: ReSTLineageDirective.py プロジェクト: adorsk/abjad
 def __init__(self, argument=None, children=None, name=None, options=None):
     if isinstance(argument, types.TypeType):
         argument = argument.__module__ + '.' + argument.__name__
     ReSTDirective.__init__(
         self, 
         argument=argument, 
         children=children, 
         name=name, 
         options=options,
         )
コード例 #4
0
 def __init__(self, argument=None, children=None, name=None, options=None):
     if isinstance(argument, type):
         argument = argument.__module__ + '.' + argument.__name__
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
         options=options,
     )
コード例 #5
0
 def __init__(self, argument=None, children=None, name=None, options=None):
     if isinstance(argument, type):
         argument = argument.__module__ + '.' + argument.__name__
     new_options = {'private-bases': True}
     if options is not None:
         new_options.update(options)
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
         options=new_options,
         )
コード例 #6
0
 def __init__(self, argument=None, children=None, name=None, options=None):
     if isinstance(argument, type):
         argument = argument.__module__ + '.' + argument.__name__
     new_options = {'private-bases': True}
     if options is not None:
         new_options.update(options)
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
         options=new_options,
         )
コード例 #7
0
 def __init__(
     self,
     graph=None,
     name=None,
     options=None,
     ):
     from abjad.tools import documentationtools
     if graph is not None:
         assert isinstance(graph, documentationtools.GraphvizGraph)
     self._graph = graph
     ReSTDirective.__init__(
         self,
         name=name,
         options=options,
         )
コード例 #8
0
 def __init__(
     self,
     graph=None,
     name=None,
     options=None,
 ):
     from abjad.tools import documentationtools
     if graph is not None:
         assert isinstance(graph, documentationtools.GraphvizGraph)
     self._graph = graph
     ReSTDirective.__init__(
         self,
         name=name,
         options=options,
     )
コード例 #9
0
 def __init__(self, 
     argument=None, 
     children=None, 
     directive=None, 
     name=None, 
     options=None,
     ):
     ReSTDirective.__init__(
         self, 
         argument=argument, 
         children=children, 
         name=name, 
         options=options,
         )
     self.directive = directive
コード例 #10
0
 def __init__(
     self,
     argument=None,
     children=None,
     directive='automodule',
     name=None,
     options=None,
 ):
     ReSTDirective.__init__(
         self,
         argument=argument,
         children=children,
         name=name,
         options=options,
     )
     self.directive = directive