_luau_builtins.py 955 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. """
  2. pygments.lexers._luau_builtins
  3. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  4. Includes the builtins for Luau and Roblox.
  5. :copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
  6. :license: BSD, see LICENSE for details.
  7. """
  8. LUAU_BUILTINS = {
  9. 'bit32',
  10. 'buffer',
  11. 'coroutine',
  12. 'debug',
  13. 'math',
  14. 'os',
  15. 'string',
  16. 'table',
  17. 'utf8',
  18. }
  19. ROBLOX_BUILTINS = {
  20. 'task',
  21. 'Axes',
  22. 'BrickColor',
  23. 'CatalogSearchParams',
  24. 'CFrame',
  25. 'Color3',
  26. 'ColorSequence',
  27. 'ColorSequenceKeypoint',
  28. 'DateTime',
  29. 'DockWidgetPluginGuiInfo',
  30. 'Faces',
  31. 'FloatCurveKey',
  32. 'Font',
  33. 'Instance',
  34. 'NumberRange',
  35. 'NumberSequence',
  36. 'NumberSequenceKeypoint',
  37. 'OverlapParams',
  38. 'PathWaypoint',
  39. 'PhysicalProperties',
  40. 'Random',
  41. 'Ray',
  42. 'RaycastParams',
  43. 'RaycastResult',
  44. 'RBXScriptConnection',
  45. 'RBXScriptSignal',
  46. 'Rect',
  47. 'Region3',
  48. 'Region3int16',
  49. 'SharedTable',
  50. 'TweenInfo',
  51. 'UDim',
  52. 'UDim2',
  53. 'Vector2',
  54. 'Vector2int16',
  55. 'Vector3',
  56. 'Vector3int16',
  57. }