We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In #8 i propose to use any array of puncts as modifiers to props and store them as prefix and postfix to attribute name.
Implementing this can be tricky, since some of puncts prefixes can be treated as part of expression in previos attribute value.
<div foo=bar .baz />
This example can be parsed as div with one attribute foo with value bar.baz, or as div with two attributes foo=bar and .baz.
div
foo
bar.baz
foo=bar
.baz
To avoid this conflcits, i propose to have a flag in ParserConfig that will enforce users to use some limited form of expressions in value place.
ParserConfig
"foo"
'c'
123
0x123
0.1f32
(x+1)
{foo.bar}
[1..2]
[1u8;32]
async {...}
const {...}
move || "foo"
|foo|->Bar {foo.bar}
The text was updated successfully, but these errors were encountered:
KeyedAttributeValue
No branches or pull requests
In #8 i propose to use any array of puncts as modifiers to props and store them as prefix and postfix to attribute name.
Implementing this can be tricky, since some of puncts prefixes can be treated as part of expression in previos attribute value.
Example:
This example can be parsed as
div
with one attributefoo
with valuebar.baz
, or asdiv
with two attributesfoo=bar
and.baz
.To avoid this conflcits, i propose to have a flag in
ParserConfig
that will enforce users to use some limited form of expressions in value place.Some values that is known to have no conflict during parsing:
"foo"
,'c'
,123
,0x123
,0.1f32
(x+1)
,{foo.bar}
,[1..2]
,[1u8;32]
foo
async {...}
,const {...}
move || "foo"
,|foo|->Bar {foo.bar}
The text was updated successfully, but these errors were encountered: