This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/usd/test_metadata.txt
Georg Brandl b40b0cca06 Rename "tests/lexers" to "tests/snippets" and update the contribution
docs to point to both snippets and examplefiles.
2021-01-20 10:57:30 +01:00

36 lines
944 B
Text

# Make sure metadata [the stuff inside ()s] don't match as Attributes.
---input---
float[] primvars:skel:jointWeights = [1] (
elementSize = 1
interpolation = "constant"
)
---tokens---
'float[]' Keyword.Type
' ' Text.Whitespace
'primvars:skel:jointWeights' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'[' Punctuation
'1' Literal.Number
']' Punctuation
' ' Text.Whitespace
'(' Punctuation
'\n ' Text.Whitespace
'elementSize' Name.Builtins
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'1' Literal.Number
'\n ' Text.Whitespace
'interpolation' Name.Builtins
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"constant"' Literal.String
'\n' Text.Whitespace
')' Punctuation
'\n' Text.Whitespace