Package jazzparser :: Package formalisms :: Package music_halfspan :: Module syntax :: Class AtomicCategory
[hide private]
[frames] | no frames]

Class AtomicCategory

source code

                     object --+        
                              |        
           base.syntax.Category --+    
                                  |    
     base.syntax.AtomicCategoryBase --+
                                      |
                         object --+   |
                                  |   |
base.modalities.ModalAtomicCategory --+
                                      |
                                     AtomicCategory

An atomic category is of the form A-B, where A and B are half categories.

Nested Classes [hide private]

Inherited from base.syntax.Category: CategoryParseError

Instance Methods [hide private]
 
__init__(self, from_half, to_half)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
copy(self) source code
 
__hash__(self)
hash(x)
source code
 
__str__(self)
str(x)
source code
 
to_latex(self) source code
 
__eq__(self, other) source code

Inherited from base.syntax.AtomicCategoryBase: replace_slash_id

Inherited from base.syntax.Category: __ne__, __repr__

Inherited from base.modalities.ModalAtomicCategory: set_slash_modality

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
span(from_root, from_function, to_root, to_function)
Construct an atomic category without having to construct the root parts yourself every time.
source code
Class Variables [hide private]
  ATOMIC = True
Properties [hide private]

Inherited from base.syntax.AtomicCategoryBase: slash_ids

Inherited from object: __class__

Method Details [hide private]

__init__(self, from_half, to_half)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

span(from_root, from_function, to_root, to_function)
Static Method

source code 

Construct an atomic category without having to construct the root parts yourself every time.

from_root and from_function will get passed on to the HalfCategory constructor. Likewise to_root and to_function.

copy(self)

source code 
Overrides: base.syntax.AtomicCategoryBase.copy

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

to_latex(self)

source code 
Overrides: base.syntax.AtomicCategoryBase.to_latex