def short_length(self): """ The short_length parameter determines how long the links are allowed to be. The intended use of this is to speed up parsing by not considering very long links for most connectors, since they are very rarely used in a correct parse. An entry for UNLIMITED-CONNECTORS in the dictionary will specify which connectors are exempt from the length limit. """ return clg.parse_options_get_short_length(self._obj)
def parse_options_get_short_length(*args) -> "int" : return _clinkgrammar.parse_options_get_short_length(*args)
def parse_options_get_short_length(*args): return _clinkgrammar.parse_options_get_short_length(*args)
def fget(self): return clg.parse_options_get_short_length(self._po)
def parse_options_get_short_length(opts: 'Parse_Options') -> "int": return _clinkgrammar.parse_options_get_short_length(opts)
def test_setting_short_length(self): po = ParseOptions() po.short_length = 3 self.assertEqual(clg.parse_options_get_short_length(po._po), 3)