aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/Pygments/py3/pygments/lexers/_luau_builtins.py
blob: 3b7dd1520192c2e3a3d16063534184ecd2bf13dd (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
"""
    pygments.lexers._luau_builtins
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Includes the builtins for Luau and Roblox.

    :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
"""

LUAU_BUILTINS = {
	'bit32',
	'buffer',
	'coroutine',
	'debug',
	'math',
	'os',
	'string',
	'table',
	'utf8',
}

ROBLOX_BUILTINS = {
	'task',

	'Axes',
	'BrickColor',
	'CatalogSearchParams',
	'CFrame',
	'Color3',
	'ColorSequence',
	'ColorSequenceKeypoint',
	'DateTime',
	'DockWidgetPluginGuiInfo',
	'Faces',
	'FloatCurveKey',
	'Font',
	'Instance',
	'NumberRange',
	'NumberSequence',
	'NumberSequenceKeypoint',
	'OverlapParams',
	'PathWaypoint',
	'PhysicalProperties',
	'Random',
	'Ray',
	'RaycastParams',
	'RaycastResult',
	'RBXScriptConnection',
	'RBXScriptSignal',
	'Rect',
	'Region3',
	'Region3int16',
	'SharedTable',
	'TweenInfo',
	'UDim',
	'UDim2',
	'Vector2',
	'Vector2int16',
	'Vector3',
	'Vector3int16',
}