eric6/ThirdParty/Pygments/pygments/lexers/_usd_builtins.py

changeset 7547
21b0534faebc
child 7701
25f42e208e08
equal deleted inserted replaced
7546:bf5f777260a6 7547:21b0534faebc
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 """A collection of known USD-related keywords, attributes, and types."""
5
6 COMMON_ATTRIBUTES = [
7 "extent",
8 "xformOpOrder",
9 ]
10
11 KEYWORDS = [
12 "class",
13 "clips",
14 "custom",
15 "customData",
16 "def",
17 "dictionary",
18 "inherits",
19 "over",
20 "payload",
21 "references",
22 "rel",
23 "subLayers",
24 "timeSamples",
25 "uniform",
26 "variantSet",
27 "variantSets",
28 "variants",
29 ]
30
31 OPERATORS = [
32 "add",
33 "append",
34 "delete",
35 "prepend",
36 "reorder",
37 ]
38
39 SPECIAL_NAMES = [
40 "active",
41 "apiSchemas",
42 "defaultPrim",
43 "elementSize",
44 "endTimeCode",
45 "hidden",
46 "instanceable",
47 "interpolation",
48 "kind",
49 "startTimeCode",
50 "upAxis",
51 ]
52
53 TYPES = [
54 "asset",
55 "bool",
56 "color3d",
57 "color3f",
58 "color3h",
59 "color4d",
60 "color4f",
61 "color4h",
62 "double",
63 "double2",
64 "double3",
65 "double4",
66 "float",
67 "float2",
68 "float3",
69 "float4",
70 "frame4d",
71 "half",
72 "half2",
73 "half3",
74 "half4",
75 "int",
76 "int2",
77 "int3",
78 "int4",
79 "keyword",
80 "matrix2d",
81 "matrix3d",
82 "matrix4d",
83 "normal3d",
84 "normal3f",
85 "normal3h",
86 "point3d",
87 "point3f",
88 "point3h",
89 "quatd",
90 "quatf",
91 "quath",
92 "string",
93 "syn",
94 "token",
95 "uchar",
96 "uchar2",
97 "uchar3",
98 "uchar4",
99 "uint",
100 "uint2",
101 "uint3",
102 "uint4",
103 "usdaType",
104 "vector3d",
105 "vector3f",
106 "vector3h",
107 ]

eric ide

mercurial