Debian Codegraph @

tests/snippets/usd/test_metadata.txt

raw
1 # Make sure metadata [the stuff inside ()s] don't match as Attributes.
2
3 ---input---
4 float[] primvars:skel:jointWeights = [1] (
5 elementSize = 1
6 interpolation = "constant"
7 )
8
9 ---tokens---
10 'float[]' Keyword.Type
11 ' ' Text.Whitespace
12 'primvars:skel:jointWeights' Name.Attribute
13 ' ' Text.Whitespace
14 '=' Operator
15 ' ' Text.Whitespace
16 '[' Punctuation
17 '1' Literal.Number
18 ']' Punctuation
19 ' ' Text.Whitespace
20 '(' Punctuation
21 '\n ' Text.Whitespace
22 'elementSize' Name.Builtins
23 ' ' Text.Whitespace
24 '=' Operator
25 ' ' Text.Whitespace
26 '1' Literal.Number
27 '\n ' Text.Whitespace
28 'interpolation' Name.Builtins
29 ' ' Text.Whitespace
30 '=' Operator
31 ' ' Text.Whitespace
32 '"constant"' Literal.String
33 '\n' Text.Whitespace
34
35 ')' Punctuation
36 '\n' Text.Whitespace