e7d33665d0
Since the native syntax requires that attribute names and block types be identifiers, there is no way for "//" to be a valid symbol in a body. Therefore we can special-case it here as an ignored property name that users can then use for comments. This special handling intentionally does not apply to objects representing zcl object expressions, since it _is_ valid to have non-identifier keys there and so "//" may be a legitimate object key for some applications. |
||
---|---|---|
.. | ||
hclhil | ||
json | ||
zclsyntax | ||
diagnostic_text_test.go | ||
diagnostic_text.go | ||
diagnostic.go | ||
didyoumean.go | ||
doc.go | ||
eval_context.go | ||
merged_test.go | ||
merged.go | ||
ops.go | ||
pos.go | ||
schema.go | ||
structure.go | ||
traversal.go |