blob: edc4614751f59528f59565e3c3c3651349bc1095 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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
|