Esempio n. 1
0
 def value_phrase(self):
     """Value with unit"""
     #return value_element(self.unit)
     return value_element_plain()
Esempio n. 2
0
 def value_with_optional_unit(self):
     """Value possibly followed by a unit"""
     value = value_element_plain()
     #return Group(value + Optional(self.unit))
     return value