json: ws nit
This commit is contained in:
parent
24f0b941cf
commit
bd96df4e85
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class SchemaConverter:
|
||||||
def to_rule(s: Tuple[str, bool]) -> str:
|
def to_rule(s: Tuple[str, bool]) -> str:
|
||||||
(txt, is_literal) = s
|
(txt, is_literal) = s
|
||||||
return "\"" + txt + "\"" if is_literal else txt
|
return "\"" + txt + "\"" if is_literal else txt
|
||||||
|
|
||||||
def transform() -> Tuple[str, bool]:
|
def transform() -> Tuple[str, bool]:
|
||||||
'''
|
'''
|
||||||
Parse a unit at index i (advancing it), and return its string representation + whether it's a literal.
|
Parse a unit at index i (advancing it), and return its string representation + whether it's a literal.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue