def function(self, name: str) -> str: return lstrip(name, self.strip_prefix.lower() + "_")
def typedef(self, name: str) -> str: """Generate Vala name for typedef's alias.""" return camel_case(rstrip(lstrip(name, self.strip_prefix.lower() + "_"), '_t'))
def camel_case(self, name: str) -> str: return camel_case(rstrip(lstrip(name, self.strip_prefix.lower() + "_"), '_t'))
def enum(self, name: str) -> str: """Generate Vala name for enum names (not members).""" return camel_case(rstrip(lstrip(name, self.strip_prefix.lower() + "_"), '_t'))