Home
last modified time | relevance | path

Searched refs:instr (Results 1 – 1 of 1) sorted by relevance

/zcbor-3.6.0/zcbor/
Dzcbor.py303 def strip_comments(instr): argument
304 return getrp(r"\;.*?\n").sub('', instr)
307 def resolve_backslashes(instr): argument
308 return getrp(r"\\\n").sub(" ", instr)
313 instr = cls.strip_comments(cddl_string)
314 instr = cls.resolve_backslashes(instr)
320 for (_1, key, slashes, value, _2) in getrp(type_regex, S | M).findall(instr)]
889 def get_value(self, instr): argument
893 while instr != '' and instr[0] != ',':
896 match_obj = getrp(reg).match(instr)
[all …]