pyrser/dsl.py
def add_read_sqstring(self, sequence, s):
    """Add a read_char/read_text primitive from simple quote string"""
    v = self.value(s).strip("'")
    if len(v) > 1:
        sequence.parser_tree = parsing.Text(v)
        return True
    sequence.parser_tree = parsing.Char(v)
    return True
def add_read_sqstring(self, sequence, s):
    """Add a read_char/read_text primitive from simple quote string"""
    v = self.value(s).strip("'")
    if len(v) > 1:
        sequence.parser_tree = parsing.Text(v)
        return True
    sequence.parser_tree = parsing.Char(v)
    return True
def add_read_sqstring ( self , sequence , s ) : v = self . value ( s ) . strip ( "'" ) if len ( v ) > 1 : sequence . parser_tree = parsing . Text ( v ) return True sequence . parser_tree = parsing . Char ( v ) return True
Add a read_char/read_text primitive from simple quote string
Add a read_char / read_text primitive from simple quote string