Debian Codegraph @

runtime/queries/luau/highlights.scm

raw symbols SCIP
1 "return" @keyword.control.return
2
3 "local" @keyword.storage.modifier
4
5 "type" @keyword.storage.type
6
7 "function" @keyword.function
8
9 (break_stmt) @keyword.control
10 (continue_stmt) @keyword.control
11 (readwrite) @keyword.storage.modifier
12
13 [
14 "do"
15 "end"
16 ] @keyword
17
18 [
19 "while"
20 "repeat"
21 "until"
22 "for"
23 ] @keyword.control.repeat
24
25 [
26 "if"
27 "elseif"
28 "else"
29 "then"
30 ] @keyword.control.conditional
31
32 [
33 "in"
34 "and"
35 "or"
36 "not"
37 ] @keyword.operator
38
39 (ifexp
40 [
41 "if"
42 "then"
43 "elseif"
44 "else"
45 ] @keyword.operator)
46
47 (type_stmt "export" @keyword.control.import)
48
49 (_
50 operator: [
51 "+" "-" "*" "/" "//" "%"
52 "^" "#" "==" "~=" "<=" ">="
53 "<" ">" "&" "|" "->" "::"
54 ".."
55 ] @operator
56 )
57
58 (_
59 assign_symbol: [
60 "=" "+=" "-=" "*=" "/=" "//="
61 "%=" "^=" "..="
62 ] @operator
63 )
64
65 [
66 ";"
67 ":"
68 ","
69 "."
70 ] @punctuation.delimiter
71
72 (string) @string
73
74 (_
75 variable_name: (name) @variable
76 )
77
78 (_
79 parameter_name: (name) @variable.parameter
80 )
81
82 (_
83 method_name: (name) @function.method
84 )
85
86 (_
87 function_name: (name) @function
88 )
89
90 (_
91 table_name: (name) @namespace
92 )
93
94 (_
95 field_name: (name) @variable.other.member
96 )
97
98 (table
99 [
100 "{"
101 "}"
102 ] @constructor)
103
104 ; special comment directives
105 (chunk
106 .
107 (comment)*
108 .
109 (comment) @keyword.directive
110 (#match? @keyword.directive "^--!(strict|native)[\r]?$")
111 )
112
113 (comment) @comment
114
115 (number) @constant.numeric
116
117 (unicode_escape
118 "{" @punctuation.special
119 "codepoint" @constant.numeric.integer
120 "}" @punctuation.special
121 )
122 (unicode_escape) @constant.character.escape
123 (dec_byte_escape) @constant.character.escape
124 (hex_byte_escape) @constant.character.escape
125 (simple_escape) @constant.character.escape
126
127 (interp_start) @punctuation.special
128 (interp_content) @string
129 (interp_brace_open) @punctuation.special
130 (interp_brace_close) @punctuation.special
131 (interp_end) @punctuation.special
132
133 [
134 "("
135 ")"
136 "["
137 "]"
138 "{"
139 "}"
140 "<"
141 ">"
142 ] @punctuation.bracket
143
144 (_
145 type_name: (name) @type
146 )
147
148 (type_stmt
149 left: (name) @type
150 )
151
152 (_
153 attribute_name: (name) @attribute
154 )
155
156 (exp
157 (vararg) @constant
158 )
159
160 (nil) @constant.builtin
161
162 (boolean) @constant.builtin.boolean
163
164 (_
165 generic_type_name: (name) @type.parameter
166 )
167
168 (_
169 generic_typepack_name: (name) @type.parameter
170 )
171
172 (dyntype
173 "typeof" @keyword.directive
174 )
175
176 (_
177 module_namespace: (name) @namespace
178 )
179
180 ; if the value of the field is a function, then
181 ; color the name of a field assignment as a method
182 (field
183 field_name: (name) @function.method
184 value: (anon_fn)
185 )
186
187 ; if a call statement is an invocation on a variable,
188 ; color the last name in a name sequence as a function
189 (call_stmt
190 invoked: (var
191 variable_name: (name) @function
192 )
193 )
194
195 (call_stmt
196 invoked: (var
197 table_name: (name) @namespace
198 (key
199 field_name: (name) @function
200 )
201 .
202 )
203 )
204
205 (call_stmt
206 invoked: (_
207 (key
208 field_name: (name) @function
209 )
210 .
211 )
212 )
213
214 (fn_stmt
215 (key
216 field_name: (name) @function.method
217 )
218 .
219 (paramlist)?
220 )
221
222 (_
223 type_name: (name) @type.builtin
224 (#any-of? @type.builtin
225 "number" "string" "any"
226 "never" "unknown" "boolean"
227 "thread" "userdata" "Accessory"
228 "Accoutrement" "Actor" "AdGui"
229 "AdPortal" "AdService" "AdvancedDragger"
230 "AirController" "AlignOrientation" "AlignPosition"
231 "AnalysticsSettings" "AnalyticsService" "AngularVelocity"
232 "Animation" "AnimationClip" "AnimationClipProvider"
233 "AnimationController" "AnimationFromVideoCreatorService" "AnimationFromVideoCreatorStudioService"
234 "AnimationRigData" "AnimationStreamTrack" "AnimationTrack"
235 "Animator" "AppStorageService" "AppUpdateService"
236 "ArcHandles" "AssetCounterService" "AssetDeliveryProxy"
237 "AssetImportService" "AssetImportSession" "AssetManagerService"
238 "AssetService" "AssetSoundEffect" "Atmosphere"
239 "Attachment" "AvatarEditorService" "AvatarImportService"
240 "Axes" "Backpack" "BackpackItem"
241 "BadgeService" "BallSocketConstraint" "BasePart"
242 "BasePlayerGui" "BaseScript" "BaseWrap"
243 "Beam" "BillboardGui" "BinaryStringValue"
244 "BindableEvent" "BindableFunction" "BloomEffect"
245 "BlurEffect" "BodyAngularVelocity" "BodyColors"
246 "BodyForce" "BodyGyro" "BodyMover"
247 "BodyPosition" "BodyThrust" "BodyVelocity"
248 "Bone" "BoolValue" "BoxHandleAdornment"
249 "Breakpoint" "BrickColor" "BrickColorValue"
250 "BrowserService" "BubbleChatConfiguration" "BulkImportService"
251 "CFrame" "CFrameValue" "CSGDictionaryService"
252 "CacheableContentProvider" "CalloutService" "Camera"
253 "CanvasGroup" "CatalogPages" "CatalogSearchParams"
254 "ChangeHistoryService" "ChannelSelectorSoundEffect" "CharacterAppearance"
255 "CharacterMesh" "Chat" "ChatInputBarConfiguration"
256 "ChatWindowConfiguration" "ChorusSoundEffect" "ClickDetector"
257 "ClientReplicator" "ClimbController" "Clothing"
258 "CloudLocalizationTable" "Clouds" "ClusterPacketCache"
259 "CollectionService" "Color3" "ColorCorrectionEffect"
260 "ColorSequence" "ColorSequenceKeypoint" "CommandInstance"
261 "CommandService" "CompressorSoundEffect" "ConeHandleAdornment"
262 "Configuration" "ConfigureServerService" "Constraint"
263 "Content" "ContentProvider" "ContextActionService"
264 "Controller" "ControllerBase" "ControllerManager"
265 "ControllerService" "CookiesService" "CoreGui"
266 "CorePackages" "CoreScript" "CoreScriptSyncService"
267 "CornerWedgePart" "CrossDMScriptChangeListener" "CurveAnimation"
268 "CustomSoundEffect" "CylinderHandleAdornment" "CylindricalConstraint"
269 "DataModel" "DataModelMesh" "DataModelPatchService"
270 "DataModelSession" "DataStore" "DataStoreIncrementOptions"
271 "DataStoreInfo" "DataStoreKey" "DataStoreKeyInfo"
272 "DataStoreKeyPages" "DataStoreListingPages" "DataStoreObjectVersionInfo"
273 "DataStoreOptions" "DataStorePages" "DataStoreService"
274 "DataStoreSetOptions" "DataStoreVersionPages" "DateTime"
275 "Debris" "DebugSettings" "DebuggablePluginWatcher"
276 "DebuggerBreakpoint" "DebuggerConnection" "DebuggerConnectionManager"
277 "DebuggerLuaResponse" "DebuggerManager" "DebuggerUIService"
278 "DebuggerVariable" "DebuggerWatch" "Decal"
279 "DepthOfFieldEffect" "DeviceIdService" "Dialog"
280 "DialogChoice" "DistortionSoundEffect" "DockWidgetPluginGui"
281 "DockWidgetPluginGuiInfo" "DraftsService" "Dragger"
282 "DraggerService" "DynamicRotate" "EchoSoundEffect"
283 "EditableImage" "EditableMesh" "EmotesPages"
284 "Enum" "EnumItem" "Enums"
285 "EqualizerSoundEffect" "EulerRotationCurve" "EventIngestService"
286 "ExperienceInviteOptions" "Explosion" "FaceAnimatorService"
287 "FaceControls" "FaceInstance" "Faces"
288 "FacialAnimationRecordingService" "FacialAnimationStreamingService" "Feature"
289 "File" "FileMesh" "Fire"
290 "FlagStandService" "FlangeSoundEffect" "FloatCurve"
291 "FlyweightService" "Folder" "Font"
292 "ForceField" "FormFactorPart" "Frame"
293 "FriendPages" "FriendService" "GamePassService"
294 "GameSettings" "GamepadService" "GenericSettings"
295 "Geometry" "GetTextBoundsParams" "GlobalDataStore"
296 "GlobalSettings" "GoogleAnalyticsConfiguration" "GroundController"
297 "GroupService" "GuiBase" "GuiButton"
298 "GuiLabel" "GuiObject" "GuiService"
299 "GuidRegistryService" "HSRDataContentProvider" "HandleAdornment"
300 "Handles" "HandlesBase" "HapticService"
301 "HeightmapImporterService" "HiddenSurfaceRemovalAsset" "Highlight"
302 "HingeConstraint" "HttpRbxApiService" "HttpRequest"
303 "HttpService" "Humanoid" "HumanoidController"
304 "HumanoidDescription" "IKControl" "ILegacyStudioBridge"
305 "IXPService" "ImageButton" "ImageHandleAdornment"
306 "ImageLabel" "ImporterAnimationSettings" "ImporterBaseSettings"
307 "ImporterFacsSettings" "ImporterGroupSettings" "ImporterJointSettings"
308 "ImporterMaterialSettings" "ImporterMeshSettings" "ImporterRootSettings"
309 "IncrementalPatchBuilder" "InputObject" "InsertService"
310 "Instance" "InstanceAdornment" "IntValue"
311 "InventoryPages" "JointInstance" "KeyboardService"
312 "Keyframe" "KeyframeMarker" "KeyframeSequence"
313 "KeyframeSequenceProvider" "LSPFileSyncService" "LanguageService"
314 "LayerCollector" "LegacyStudioBridge" "Light"
315 "Lighting" "LineForce" "LineHandleAdornment"
316 "LinearVelocity" "LocalDebuggerConnection" "LocalScript"
317 "LocalStorageService" "LocalizationService" "LocalizationTable"
318 "LodDataEntity" "LodDataService" "LogService"
319 "LoginService" "LuaSettings" "LuaSourceContainer"
320 "LuaWebService" "LuauScriptAnalyzerService" "MarkerCurve"
321 "MarketplaceService" "MaterialService" "MaterialVariant"
322 "MemStorageConnection" "MemStorageService" "MemoryStoreQueue"
323 "MemoryStoreService" "MemoryStoreSortedMap" "MeshContentProvider"
324 "MeshPart" "MessageBusConnection" "MessageBusService"
325 "MessagingService" "MetaBreakpoint" "MetaBreakpointContext"
326 "MetaBreakpointManager" "Model" "ModuleScript"
327 "Motor" "Mouse" "MouseService"
328 "MultipleDocumentInterfaceInstance" "NegateOperation" "NetworkClient"
329 "NetworkMarker" "NetworkPeer" "NetworkReplicator"
330 "NetworkServer" "NetworkSettings" "NoCollisionConstraint"
331 "NonReplicatedCSGDictionaryService" "NotificationService" "NumberPose"
332 "NumberRange" "NumberSequence" "NumberSequenceKeypoint"
333 "NumberValue" "Object" "ObjectValue"
334 "OrderedDataStore" "OutfitPages" "OverlapParams"
335 "PVAdornment" "PVInstance" "PackageLink"
336 "PackageService" "PackageUIService" "Pages"
337 "Pants" "ParabolaAdornment" "Part"
338 "PartAdornment" "PartOperation" "PartOperationAsset"
339 "ParticleEmitter" "PatchMapping" "Path"
340 "PathWaypoint" "PathfindingLink" "PathfindingModifier"
341 "PathfindingService" "PausedState" "PausedStateBreakpoint"
342 "PausedStateException" "PermissionsService" "PhysicalProperties"
343 "PhysicsService" "PhysicsSettings" "PitchShiftSoundEffect"
344 "PlaneConstraint" "Platform" "Player"
345 "PlayerEmulatorService" "PlayerGui" "PlayerMouse"
346 "PlayerScripts" "Players" "Plugin"
347 "PluginAction" "PluginDebugService" "PluginDragEvent"
348 "PluginGui" "PluginGuiService" "PluginManagementService"
349 "PluginManager" "PluginManagerInterface" "PluginMenu"
350 "PluginMouse" "PluginPolicyService" "PluginToolbar"
351 "PluginToolbarButton" "PointLight" "PolicyService"
352 "Pose" "PoseBase" "PostEffect"
353 "PrismaticConstraint" "ProcessInstancePhysicsService" "ProximityPrompt"
354 "ProximityPromptService" "PublishService" "QWidgetPluginGui"
355 "RBXScriptConnection" "Random" "Ray"
356 "RayValue" "RaycastParams" "RaycastResult"
357 "RbxAnalyticsService" "Rect" "ReflectionMetadata"
358 "ReflectionMetadataCallbacks" "ReflectionMetadataClass" "ReflectionMetadataClasses"
359 "ReflectionMetadataEnum" "ReflectionMetadataEnumItem" "ReflectionMetadataEnums"
360 "ReflectionMetadataEvents" "ReflectionMetadataFunctions" "ReflectionMetadataItem"
361 "ReflectionMetadataMember" "ReflectionMetadataProperties" "ReflectionMetadataYieldFunctions"
362 "Region3" "Region3int16" "RemoteDebuggerServer"
363 "RemoteEvent" "RemoteFunction" "RenderSettings"
364 "RenderingTest" "ReplicatedFirst" "ReplicatedStorage"
365 "ReverbSoundEffect" "RigidConstraint" "RobloxPluginGuiService"
366 "RobloxReplicatedStorage" "RodConstraint" "RopeConstraint"
367 "RotationCurve" "RtMessagingService" "RunService"
368 "RunningAverageItemDouble" "RunningAverageItemInt" "RunningAverageTimeIntervalItem"
369 "RuntimeScriptService" "ScreenGui" "ScreenshotHud"
370 "Script" "ScriptChangeService" "ScriptCloneWatcher"
371 "ScriptCloneWatcherHelper" "ScriptContext" "ScriptDebugger"
372 "ScriptDocument" "ScriptEditorService" "ScriptRegistrationService"
373 "ScriptService" "ScrollingFrame" "Seat"
374 "Selection" "SelectionBox" "SelectionLasso"
375 "SelectionSphere" "ServerReplicator" "ServerScriptService"
376 "ServerStorage" "ServiceProvider" "SessionService"
377 "Shirt" "ShirtGraphic" "SkateboardController"
378 "Sky" "SlidingBallConstraint" "Smoke"
379 "SnippetService" "SocialService" "SolidModelContentProvider"
380 "Sound" "SoundEffect" "SoundGroup"
381 "SoundService" "Sparkles" "SpawnLocation"
382 "SpawnerService" "SpecialMesh" "SphereHandleAdornment"
383 "SpotLight" "SpringConstraint" "StackFrame"
384 "StandalonePluginScripts" "StandardPages" "StarterCharacterScripts"
385 "StarterGear" "StarterGui" "StarterPack"
386 "StarterPlayer" "StarterPlayerScripts" "Stats"
387 "StatsItem" "StopWatchReporter" "StringValue"
388 "Studio" "StudioAssetService" "StudioData"
389 "StudioDeviceEmulatorService" "StudioHighDpiService" "StudioPublishService"
390 "StudioScriptDebugEventListener" "StudioService" "StudioTheme"
391 "SunRaysEffect" "SurfaceAppearance" "SurfaceGui"
392 "SurfaceGuiBase" "SurfaceLight" "SurfaceSelection"
393 "SwimController" "TaskScheduler" "Team"
394 "TeamCreateService" "Teams" "TeleportAsyncResult"
395 "TeleportOptions" "TeleportService" "TemporaryCageMeshProvider"
396 "TemporaryScriptService" "Terrain" "TerrainDetail"
397 "TerrainRegion" "TestService" "TextBox"
398 "TextBoxService" "TextButton" "TextChannel"
399 "TextChatCommand" "TextChatConfigurations" "TextChatMessage"
400 "TextChatMessageProperties" "TextChatService" "TextFilterResult"
401 "TextLabel" "TextService" "TextSource"
402 "Texture" "ThirdPartyUserService" "ThreadState"
403 "TimerService" "ToastNotificationService" "Tool"
404 "Torque" "TorsionSpringConstraint" "TotalCountTimeIntervalItem"
405 "TouchInputService" "TouchTransmitter" "TracerService"
406 "TrackerLodController" "TrackerStreamAnimation" "Trail"
407 "Translator" "TremoloSoundEffect" "TriangleMeshPart"
408 "TrussPart" "Tween" "TweenBase"
409 "TweenInfo" "TweenService" "UDim"
410 "UGCValidationService" "UIAspectRatioConstraint" "UIBase"
411 "UIComponent" "UIConstraint" "UICorner"
412 "UIGradient" "UIGridLayout" "UIGridStyleLayout"
413 "UILayout" "UIListLayout" "UIPadding"
414 "UIPageLayout" "UIScale" "UISizeConstraint"
415 "UIStroke" "UITableLayout" "UITextSizeConstraint"
416 "UnionOperation" "UniversalConstraint" "UnreliableRemoteEvent"
417 "UnvalidatedAssetService" "UserGameSettings" "UserInputService"
418 "UserService" "UserSettings" "UserStorageService"
419 "VRService" "ValueBase" "Vector2"
420 "Vector2int16" "Vector3" "Vector3int16"
421 "VectorForce" "VehicleController" "VehicleSeat"
422 "VelocityMotor" "VersionControlService" "VideoCaptureService"
423 "VideoFrame" "ViewportFrame" "VirtualInputManager"
424 "VirtualUser" "VisibilityService" "Visit"
425 "VoiceChannel" "VoiceChatInternal" "VoiceChatService"
426 "WedgePart" "Weld" "WeldConstraint"
427 "WireframeHandleAdornment" "Workspace" "WorldModel"
428 "WorldRoot" "WrapLayer" "WrapTarget"
429 )
430 )
431
432 (var
433 variable_name: (name) @function.builtin
434 (#any-of? @function.builtin
435 "assert" "collectgarbage" "elapsedTime"
436 "error" "gcinfo" "getfenv"
437 "getmetatable" "ipairs" "loadstring"
438 "next" "newproxy" "pairs"
439 "pcall" "PluginManager" "print"
440 "printidentity" "rawequal" "rawget"
441 "rawlen" "rawset" "require"
442 "select" "setfenv" "setmetatable"
443 "spawn" "tick" "time"
444 "tonumber" "tostring" "type"
445 "typeof" "unpack" "UserSettings"
446 "version" "warn" "workspace"
447 "xpcall")
448 )
449
450 (var
451 .
452 (name) @variable.builtin
453 (#any-of? @variable.builtin
454 "_G" "_VERSION" "bit32"
455 "coroutine" "debug" "game"
456 "math" "os" "plugin"
457 "script" "string" "table"
458 "task" "utf8" "workspace"
459 )
460 )
461
462 (_
463 table_name: (name) @variable.builtin
464 (#eq? @variable.builtin "bit32")
465 .
466 (key
467 field_name: (name) @function.builtin
468 (#any-of? @function.builtin
469 "arshift" "lrotate" "lshift" "replace"
470 "rrotate" "rshift" "btest" "bxor"
471 "band" "bnot" "bor" "countlz"
472 "countrz" "extract" "byteswap"
473 )
474 )?
475 )
476
477 (_ table_name:
478 (name) @variable.builtin
479 (#eq? @variable.builtin "coroutine")
480 .
481 (key
482 field_name: (name) @function.builtin
483 (#any-of? @function.builtin
484 "close" "create" "isyieldable"
485 "resume" "running" "status"
486 "wrap" "yield"
487 )
488 )?
489 )
490
491 (_
492 table_name: (name) @variable.builtin
493 (#eq? @variable.builtin "debug")
494 .
495 (key
496 field_name: (name) @function.builtin
497 (#any-of? @function.builtin
498 "info" "traceback" "profilebegin"
499 "profileend" "resetmemorycategory" "setmemorycategory"
500 "dumpcodesize"
501 )
502 )?
503 )
504
505 (_
506 table_name: (name) @variable.builtin
507 (#eq? @variable.builtin "math")
508 .
509 (key
510 field_name: (name) @function.builtin
511 (#any-of? @function.builtin
512 "abs" "acos" "asin"
513 "atan" "atan2" "ceil"
514 "clamp" "cos" "cosh"
515 "deg" "exp" "floor"
516 "fmod" "frexp" "ldexp"
517 "log" "log10" "max"
518 "min" "modf" "noise"
519 "pow" "rad" "random"
520 "randomseed" "round" "sign"
521 "sin" "sinh" "sqrt"
522 "tan" "tanh"
523 )
524 )?
525 )
526
527 (_
528 table_name: (name) @variable.builtin
529 (#eq? @variable.builtin "math")
530 .
531 (key
532 field_name: (name) @constant.builtin
533 ; (#match? @constant.builtin "^(huge|pi)$")
534 (#any-of? @constant.builtin "huge" "pi")
535 )?
536 )
537
538 (_
539 table_name: (name) @variable.builtin
540 (#eq? @variable.builtin "os")
541 .
542 (key
543 field_name: (name) @function.builtin
544 (#any-of? @function.builtin
545 "clock" "date" "difftime"
546 "time")
547 )?
548 )
549
550 (_
551 table_name: (name) @variable.builtin
552 (#eq? @variable.builtin "string")
553 .
554 (key
555 field_name: (name) @function.builtin
556 (#any-of? @function.builtin
557 "byte" "char" "find"
558 "format" "gmatch" "gsub"
559 "len" "lower" "match"
560 "pack" "packsize" "rep"
561 "reverse" "split" "sub"
562 "unpack" "upper")
563 )?
564 )
565
566 (_
567 table_name: (name) @variable.builtin
568 (#eq? @variable.builtin "table")
569 .
570 (key
571 field_name: (name) @function.builtin
572 (#any-of? @function.builtin
573 "create" "clear" "clone"
574 "concat" "foreach" "foreachi"
575 "find" "freeze" "getn"
576 "insert" "isfrozen" "maxn"
577 "move" "pack" "remove"
578 "sort" "unpack")
579 )?
580 )
581
582 (_
583 table_name: (name) @variable.builtin
584 (#eq? @variable.builtin "task")
585 .
586 (key
587 field_name: (name) @function.builtin
588 (#any-of? @function.builtin
589 "cancel" "defer" "delay"
590 "synchronize" "desynchronize" "spawn"
591 "wait")
592 )?
593 )
594
595 (_
596 table_name: (name) @variable.builtin
597 (#eq? @variable.builtin "utf8")
598 .
599 (key
600 field_name: (name) @function.builtin
601 (#any-of? @function.builtin
602 "char" "codepoint" "codes"
603 "graphemes" "len" "offset"
604 "nfcnormalize" "nfdnormalize")
605 )?
606 )
607
608 (_
609 table_name: (name) @variable.builtin
610 (#eq? @variable.builtin "utf8")
611 .
612 (key
613 field_name: (name) @constant.builtin
614 (#eq? @constant.builtin "charpattern")
615 )?
616 )
617
618 (_
619 table_name: (name) @variable.builtin
620 (#eq? @variable.builtin "buffer")
621 (key
622 field_name: (name) @function.builtin
623 (#any-of? @function.builtin
624 "create" "fromstring" "tostring"
625 "len" "copy" "fill"
626 "readi8" "readu8" "readi16"
627 "readu16" "readi32" "readu32"
628 "readf32" "readf64" "writei8"
629 "writeu8" "writei16" "writeu16"
630 "writei32" "writeu32" "writef32"
631 "writef64" "readstring" "writestring")
632 )?
633 )
634
635 (_
636 table_name: (name) @variable.builtin
637 (#eq? @variable.builtin "vector")
638 (key
639 field_name: (name) @function.builtin
640 (#any-of? @function.builtin
641 "create" "magnitude" "normalize"
642 "cross" "dot" "angle"
643 "floor" "ceil" "abs"
644 "sign" "clamp" "max"
645 "min"
646 )
647 )?
648 )
649
650 (_
651 table_name: (name) @variable.builtin
652 (#eq? @variable.builtin "vector")
653 (key
654 field_name: (name) @constant.builtin
655 (#any-of? @constant.builtin
656 "zero" "one"
657 )
658 )?
659 )
660
661 (_
662 table_name: (name) @variable.builtin
663 (#eq? @variable.builtin "Content")
664 (key
665 field_name: (name) @function.builtin
666 (#any-of? @function.builtin
667 "fromUri" "fromAssetId" "fromObject"
668 )
669 )?
670 )
671
672 (type_fn_stmt
673 body: (_
674 [
675 (_
676 variable_name: (name) @variable.builtin
677 (#eq? @variable.builtin "types")
678 )
679 (_
680 table_name: (name) @variable.builtin
681 (#eq? @variable.builtin "types")
682 (key
683 field_name: (name) @function.builtin
684 (#any-of? @function.builtin
685 ""
686 )
687 )
688 )
689 ]
690 )
691 )
692
693 (call_stmt
694 method_table: (var
695 (name) @variable.builtin
696 (#eq? @variable.builtin "game")
697 )
698 method_name: (name) @function.builtin
699 (#eq? @function.builtin "GetService")
700 (arglist
701 .
702 (string)? @string.special
703 (#any-of? @string.special
704 "\"AccountService\"" "\"AchievementService\"" "\"AdService\""
705 "\"AnalyticsService\"" "\"AnimationClipProvider\"" "\"AnimationFromVideoCreatorService\""
706 "\"AnimationFromVideoCreatorStudioService\"" "\"AnnotationsService\"" "\"AppLifecycleObserverService\""
707 "\"AppUpdateService\"" "\"AssetCounterService\"" "\"AssetDeliveryProxy\""
708 "\"AssetImportService\"" "\"AssetManagerService\"" "\"AssetService\""
709 "\"AudioFocusService\"" "\"AvatarChatService\"" "\"AvatarCreationService\""
710 "\"AvatarEditorService\"" "\"AvatarImportService\"" "\"BadgeService\""
711 "\"CoreGui\"" "\"StarterGui\"" "\"BrowserService\""
712 "\"BulkImportService\"" "\"CacheableContentProvider\"" "\"HSRDataContentProvider\""
713 "\"MeshContentProvider\"" "\"SolidModelContentProvider\"" "\"CalloutService\""
714 "\"CaptureService\"" "\"ChangeHistoryService\"" "\"Chat\""
715 "\"ChatbotUIService\"" "\"CloudCRUDService\"" "\"ClusterPacketCache\""
716 "\"CollaboratorsService\"" "\"CollectionService\"" "\"CommandService\""
717 "\"CommerceService\"" "\"ConfigureServerService\"" "\"ConnectivityService\""
718 "\"ContentProvider\"" "\"ContextActionService\"" "\"ControllerService\""
719 "\"ConversationalAIAcceptanceService\"" "\"CookiesService\"" "\"CorePackages\""
720 "\"CoreScriptDebuggingManagerHelper\"" "\"CoreScriptSyncService\"" "\"CreationDBService\""
721 "\"CreatorStoreService\"" "\"CrossDMScriptChangeListener\"" "\"DataModelPatchService\""
722 "\"DataStoreService\"" "\"Debris\"" "\"DebuggablePluginWatcher\""
723 "\"DebuggerConnectionManager\"" "\"DebuggerManager\"" "\"DebuggerUIService\""
724 "\"DeviceIdService\"" "\"DraftsService\"" "\"DraggerService\""
725 "\"EditableService\"" "\"EventIngestService\"" "\"ExampleService\""
726 "\"ExperienceAuthService\"" "\"ExperienceNotificationService\"" "\"ExperienceService\""
727 "\"ExperienceStateCaptureService\"" "\"FaceAnimatorService\"" "\"FacialAnimationRecordingService\""
728 "\"FacialAnimationStreamingServiceV2\"" "\"FlagStandService\"" "\"FlyweightService\""
729 "\"CSGDictionaryService\"" "\"NonReplicatedCSGDictionaryService\"" "\"FriendService\""
730 "\"GamePassService\"" "\"GamepadService\"" "\"GenericChallengeService\""
731 "\"Geometry\"" "\"GeometryService\"" "\"GoogleAnalyticsConfiguration\""
732 "\"GroupService\"" "\"GuiService\"" "\"GuidRegistryService\""
733 "\"HapticService\"" "\"HeatmapService\"" "\"HeightmapImporterService\""
734 "\"Hopper\"" "\"HttpRbxApiService\"" "\"HttpService\""
735 "\"ILegacyStudioBridge\"" "\"LegacyStudioBridge\"" "\"IXPService\""
736 "\"IncrementalPatchBuilder\"" "\"InsertService\"" "\"InternalSyncService\""
737 "\"JointsService\"" "\"KeyboardService\"" "\"KeyframeSequenceProvider\""
738 "\"LSPFileSyncService\"" "\"LanguageService\"" "\"Lighting\""
739 "\"LinkingService\"" "\"LiveScriptingService\"" "\"LocalStorageService\""
740 "\"AppStorageService\"" "\"UserStorageService\"" "\"LocalizationService\""
741 "\"LodDataService\"" "\"LogReporterService\"" "\"LogService\""
742 "\"LoginService\"" "\"LuaWebService\"" "\"LuauScriptAnalyzerService\""
743 "\"MarketplaceService\"" "\"MaterialGenerationService\"" "\"MaterialService\""
744 "\"MemStorageService\"" "\"MemoryStoreService\"" "\"MessageBusService\""
745 "\"MessagingService\"" "\"MetaBreakpointManager\"" "\"MouseService\""
746 "\"NetworkClient\"" "\"NetworkServer\"" "\"NetworkSettings\""
747 "\"NotificationService\"" "\"OmniRecommendationsService\"" "\"OpenCloudService\""
748 "\"Workspace\"" "\"PackageService\"" "\"PackageUIService\""
749 "\"PatchBundlerFileWatch\"" "\"PathfindingService\"" "\"PermissionsService\""
750 "\"PhysicsService\"" "\"PlaceStatsService\"" "\"PlacesService\""
751 "\"PlatformCloudStorageService\"" "\"PlatformFriendsService\"" "\"PlayerEmulatorService\""
752 "\"PlayerHydrationService\"" "\"PlayerViewService\"" "\"Players\""
753 "\"PluginDebugService\"" "\"PluginGuiService\"" "\"PluginManagementService\""
754 "\"PluginPolicyService\"" "\"PointsService\"" "\"PolicyService\""
755 "\"ProcessInstancePhysicsService\"" "\"ProximityPromptService\"" "\"PublishService\""
756 "\"RbxAnalyticsService\"" "\"ReflectionService\"" "\"RemoteCursorService\""
757 "\"RemoteDebuggerServer\"" "\"RenderSettings\"" "\"ReplicatedFirst\""
758 "\"ReplicatedStorage\"" "\"RibbonNotificationService\"" "\"RobloxPluginGuiService\""
759 "\"RobloxReplicatedStorage\"" "\"RobloxServerStorage\"" "\"RomarkRbxAnalyticsService\""
760 "\"RomarkService\"" "\"RtMessagingService\"" "\"RunService\""
761 "\"RuntimeScriptService\"" "\"SafetyService\"" "\"ScriptChangeService\""
762 "\"ScriptCloneWatcher\"" "\"ScriptCloneWatcherHelper\"" "\"ScriptCommitService\""
763 "\"ScriptContext\"" "\"ScriptEditorService\"" "\"ScriptProfilerService\""
764 "\"ScriptRegistrationService\"" "\"ScriptService\"" "\"Selection\""
765 "\"SelectionHighlightManager\"" "\"ServerScriptService\"" "\"ServerStorage\""
766 "\"ServiceVisibilityService\"" "\"SessionService\"" "\"SharedTableRegistry\""
767 "\"ShorelineUpgraderService\"" "\"SmoothVoxelsUpgraderService\"" "\"SnippetService\""
768 "\"SocialService\"" "\"SoundService\"" "\"SpawnerService\""
769 "\"StartPageService\"" "\"StarterPack\"" "\"StarterPlayer\""
770 "\"StartupMessageService\"" "\"Stats\"" "\"StopWatchReporter\""
771 "\"StreamingService\"" "\"Studio\"" "\"StudioAssetService\""
772 "\"StudioData\"" "\"StudioDeviceEmulatorService\"" "\"StudioPublishService\""
773 "\"StudioScriptDebugEventListener\"" "\"StudioSdkService\"" "\"StudioService\""
774 "\"StudioUserService\"" "\"StudioWidgetsService\"" "\"StylingService\""
775 "\"TaskScheduler\"" "\"TeamCreateData\"" "\"TeamCreatePublishService\""
776 "\"TeamCreateService\"" "\"Teams\"" "\"TeleportService\""
777 "\"TemporaryCageMeshProvider\"" "\"TemporaryScriptService\"" "\"TestService\""
778 "\"TextBoxService\"" "\"TextChatService\"" "\"TextService\""
779 "\"TextureGenerationService\"" "\"ThirdPartyUserService\"" "\"TimerService\""
780 "\"ToastNotificationService\"" "\"TouchInputService\"" "\"TracerService\""
781 "\"TutorialService\"" "\"TweenService\"" "\"UGCAvatarService\""
782 "\"UGCValidationService\"" "\"UIDragDetectorService\"" "\"UnvalidatedAssetService\""
783 "\"UserInputService\"" "\"UserService\"" "\"VRService\""
784 "\"VRStatusService\"" "\"VersionControlService\"" "\"VideoCaptureService\""
785 "\"VideoService\"" "\"VirtualInputManager\"" "\"VirtualUser\""
786 "\"VisibilityCheckDispatcher\"" "\"Visit\"" "\"VisualizationModeService\""
787 "\"VoiceChatInternal\"" "\"VoiceChatService\"" "\"WebViewService\""
788 )
789 .
790 )
791 )
792