second commit
This commit is contained in:
62
env/lib/python3.11/site-packages/pygments/lexers/_luau_builtins.py
vendored
Normal file
62
env/lib/python3.11/site-packages/pygments/lexers/_luau_builtins.py
vendored
Normal file
@ -0,0 +1,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',
|
||||
}
|
Reference in New Issue
Block a user