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. |
||
---|---|---|
.. | ||
ast.go | ||
didyoumean_test.go | ||
didyoumean.go | ||
doc.go | ||
navigation_test.go | ||
navigation.go | ||
parser_test.go | ||
parser.go | ||
peeker.go | ||
public_test.go | ||
public.go | ||
scanner_test.go | ||
scanner.go | ||
structure_test.go | ||
structure.go | ||
tokentype_string.go |