Exemplo n.º 1
0
 def parse(self):
     assert len(self.node['ids']) == 1
     note_id = self.node['ids'][0]
     content = [node.process() for node in self.getchildren()[1:]]
     note = rt.Note(rt.StaticGroupedFlowables(content), id=note_id)
     return rt.RegisterNote(note)
 def flowables(self):
     note, = super().flowables()
     yield rt.RegisterNote(note)
Exemplo n.º 3
0
 def flowable(self):
     return rt.RegisterNote(super().flowable())