repo stringclasses 254
values | file_path stringlengths 29 241 | code stringlengths 100 233k | tokens int64 14 69.4k |
|---|---|---|---|
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/MAX_SAFE_INTEGER.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
return 9007199254740991
| 34 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/MIN_SAFE_INTEGER.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
return -9007199254740991 | 33 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/init.lua | return {
isFinite = require(script:WaitForChild('isFinite')),
isInteger = require(script:WaitForChild('isInteger')),
isNaN = require(script:WaitForChild('isNaN')),
isSafeInteger = require(script:WaitForChild('isSafeInteger')),
MAX_SAFE_INTEGER = require(script:WaitForChild('MAX_SAFE_INTEGER')),
MIN_SAFE_INTEGER =... | 111 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/isFinite.lua | return function(value)
return typeof(value) == "number" and value == value and value ~= math.huge and value ~= -math.huge
end
| 32 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/isInteger.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger
return function(value)
return type(value) == "number" and value ~= math.huge and value == math.floor(value)
end
| 50 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/isNaN.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN
return function(value)
return type(value) == "number" and value ~= value
end
| 42 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/isSafeInteger.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger
local isInteger = require(script.Parent:WaitForChild('isInteger'))
local MAX_SAFE_INTEGER = require(script.Parent:WaitForChild('MAX_SAFE_INTEGER'))
return function(value)
return isInteger(value) and math.abs(value... | 77 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_number@1.2.7/number/src/toExponential.lua | -- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toExponential
return function(value: string | number, fractionDigits: number?): string | nil
local num = value
if typeof(value) == "string" then
-- ROBLOX FIXME: add parseInt to encapsulate this logic and use it here
local ... | 292 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-reconciler@17.2.1/luau-polyfill.lua | local REQUIRED_MODULE = require(script.Parent.Parent["jsdotlua_luau-polyfill@1.2.7"]["luau-polyfill"])
export type Array<T> = REQUIRED_MODULE.Array<T>
export type AssertionError = REQUIRED_MODULE.AssertionError
export type Error = REQUIRED_MODULE.Error
export type Map<T, V> = REQUIRED_MODULE.Map<T, V>
export type Obj... | 164 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-reconciler@17.2.1/react-reconciler/src/RobloxReactProfiling.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 1,292 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-reconciler@17.2.1/react.lua | local REQUIRED_MODULE = require(script.Parent.Parent["jsdotlua_react@17.2.1"]["react"])
export type Object = REQUIRED_MODULE.Object
export type Binding<T> = REQUIRED_MODULE.Binding<T>
export type BindingUpdater<T> = REQUIRED_MODULE.BindingUpdater<T>
export type LazyComponent<T, P> = REQUIRED_MODULE.LazyComponent<T, P>... | 447 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-reconciler@17.2.1/scheduler.lua | local REQUIRED_MODULE = require(script.Parent.Parent["jsdotlua_scheduler@17.2.1"]["scheduler"])
export type Interaction = REQUIRED_MODULE.Interaction
return REQUIRED_MODULE
| 35 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-reconciler@17.2.1/shared.lua | local REQUIRED_MODULE = require(script.Parent.Parent["jsdotlua_shared@17.2.1"]["shared"])
export type ReactEmpty = REQUIRED_MODULE.ReactEmpty
export type ReactFragment = REQUIRED_MODULE.ReactFragment
export type ReactNodeList = REQUIRED_MODULE.ReactNodeList
export type ReactProviderType<T> = REQUIRED_MODULE.ReactPro... | 707 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-roblox@17.2.1/react-reconciler.lua | local REQUIRED_MODULE = require(script.Parent.Parent["jsdotlua_react-reconciler@17.2.1"]["react-reconciler"])
export type Dispatcher = REQUIRED_MODULE.Dispatcher
export type Fiber = REQUIRED_MODULE.Fiber
export type FiberRoot = REQUIRED_MODULE.FiberRoot
export type UpdateQueue<T> = REQUIRED_MODULE.UpdateQueue<T>
exp... | 84 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-roblox@17.2.1/react-roblox/src/ReactReconciler.roblox.luau | --!strict
-- ROBLOX deviation: Initializes the reconciler with this package's host
-- config and returns the resulting module
local initializeReconciler = require(script.Parent.Parent:WaitForChild('react-reconciler'))
local ReactRobloxHostConfig = require(script.Parent:WaitForChild('client'):WaitForChild('ReactRoblox... | 88 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react-roblox@17.2.1/react-roblox/src/client/roblox/RobloxComponentProps.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 2,582 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_react@17.2.1/react/src/ReactBinding.roblox.luau | --!strict
--[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law... | 1,515 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_scheduler@17.2.1/scheduler/src/unstable_mock.luau | --!strict
--[[*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*]]
local Tracing = require(script.Parent:WaitForChild('Tracing'))
local TracingSubscriptions = require(script.Parent:WaitF... | 388 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/ErrorHandling.roblox.luau | --!strict
--[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law... | 838 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/PropMarkers/Change.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 342 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/PropMarkers/Event.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 332 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/PropMarkers/Tag.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 183 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/ReactElementType.luau | --!strict
--[[*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
]]
local LuauPolyfill = require(script.Parent.Parent:WaitForChild('luau-polyfill'))
type Object = LuauPolyfill.... | 360 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/ReactFiberHostConfig/init.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 368 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/ReactTypes.luau | --!strict
--[[*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
]]
local LuauPolyfill = require(script.Parent.Parent:WaitForChild('luau-polyfill'))
type Array<T> = LuauPolyfil... | 2,199 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/Symbol.roblox.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 281 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/Type.roblox.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 312 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/UninitializedState.roblox.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 331 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/console.luau | --[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law or agreed... | 311 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/enqueueTask.roblox.luau | --!strict
--[[*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*
]]
local LuauPolyfill = require(script.Parent.Parent:WaitForChild('luau-polyfill'))
local setTimeout = LuauPolyfill.... | 108 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_shared@17.2.1/shared/src/init.luau | --!strict
--[[
* Copyright (c) Roblox Corporation. All rights reserved.
* Licensed under the MIT License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://opensource.org/licenses/MIT
*
* Unless required by applicable law... | 1,668 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/charCodeAt.lua | local Number = require(script.Parent.Parent:WaitForChild('number'))
local NaN = Number.NaN
-- js https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt
-- lua http://www.lua.org/manual/5.4/manual.html#pdf-utf8.codepoint
return function(str: string, index: number): number
... | 257 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/endsWith.lua | local function endsWith(value: string, substring: string, optionalLength: number?): boolean
local substringLength = substring:len()
if substringLength == 0 then
return true
end
local valueLength = value:len()
local length = optionalLength or valueLength
if length > valueLength then
length = valueLength
end
... | 115 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/findOr.lua | type Match = {
index: number,
match: string
}
-- excluding the `+` and `*` character, since findOr tests and graphql use them explicitly
local luaPatternCharacters = "([" .. ("$%^()-[].?"):gsub("(.)", "%%%1") .. "])"
local function findOr(str: string, patternTable: { string }, initIndex: number?): Match | nil
-- l... | 419 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/includes.lua | -- excluding the `+` and `*` character, since findOr tests and graphql use them explicitly
local luaPatternCharacters = "([" .. ("$%^()-[].?"):gsub("(.)", "%%%1") .. "])"
local function includes(str: string, substring: string, position: (string | number)?): boolean
local strLen, invalidBytePosition = utf8.len(str)
a... | 245 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/indexOf.lua | -- excluding the `+` and `*` character, since findOr tests and graphql use them explicitly
local luaPatternCharacters = "([" .. ("$%^()-[].?"):gsub("(.)", "%%%1") .. "])"
-- Implements equivalent functionality to JavaScript's `String.indexOf`,
-- implementing the interface and behaviors defined at:
-- https://develope... | 254 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/init.lua | return {
charCodeAt = require(script:WaitForChild('charCodeAt')),
endsWith = require(script:WaitForChild('endsWith')),
findOr = require(script:WaitForChild('findOr')),
includes = require(script:WaitForChild('includes')),
indexOf = require(script:WaitForChild('indexOf')),
lastIndexOf = require(script:WaitForChild(... | 204 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/lastIndexOf.lua | local function lastIndexOf(str: string, searchValue: string, fromIndex: number?): number
local strLength = string.len(str)
local calculatedFromIndex
if fromIndex then
calculatedFromIndex = fromIndex
else
calculatedFromIndex = strLength
end
if fromIndex and fromIndex < 1 then
calculatedFromIndex = 1
end
if... | 313 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/slice.lua | local function slice(str: string, startIndexStr: string | number, lastIndexStr: (string | number)?): string
local strLen, invalidBytePosition = utf8.len(str)
assert(strLen ~= nil, ("string `%s` has an invalid byte at position %s"):format(str, tostring(invalidBytePosition)))
local startIndex = tonumber(startIndexStr)... | 321 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/split.lua | local findOr = require(script.Parent:WaitForChild('findOr'))
local slice = require(script.Parent:WaitForChild('slice'))
local types = require(script.Parent.Parent:WaitForChild('es7-types'))
type Array<T> = types.Array<T>
local MAX_SAFE_INTEGER = require(script.Parent.Parent:WaitForChild('number')).MAX_SAFE_INTEGER
ty... | 534 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/startsWith.lua | local function startsWith(value: string, substring: string, position: number?): boolean
if string.len(substring) == 0 then
return true
end
-- Luau FIXME: we have to use a tmp variable, as Luau doesn't understand the logic below narrow position to `number`
local position_
if position == nil or position < 1 then
... | 131 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/substr.lua | return function(s: string, startIndex: number, numberOfCharacters: number?): string
if numberOfCharacters and numberOfCharacters <= 0 then
return ""
end
return string.sub(s, startIndex, numberOfCharacters and startIndex + numberOfCharacters - 1 or nil)
end
| 55 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_string@1.2.7/string/src/trim.lua | local trimStart = require(script.Parent:WaitForChild('trimStart'))
local trimEnd = require(script.Parent:WaitForChild('trimEnd'))
return function(source: string): string
return trimStart(trimEnd(source))
end
| 47 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_symbol-luau@1.0.1/symbol-luau/src/Registry.global.lua | local Symbol = require(script.Parent:WaitForChild('Symbol'))
local GlobalRegistry: { [string]: Symbol.Symbol } = {}
return {
getOrInit = function(name: string): Symbol.Symbol
if GlobalRegistry[name] == nil then
GlobalRegistry[name] = Symbol.new(name)
end
return GlobalRegistry[name]
end,
-- Used for testi... | 91 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_symbol-luau@1.0.1/symbol-luau/src/Symbol.lua | --!strict
--[[
Symbols have the type 'userdata', but when printed or coerced to a string,
the symbol will turn into the string given as its name.
**This implementation provides only the `Symbol()` constructor and the
global registry via `Symbol.for_`.**
Other behaviors, including the ability to find all symbol p... | 180 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_symbol-luau@1.0.1/symbol-luau/src/init.lua | --!strict
--[[
A 'Symbol' is an opaque marker type, implemented to behave similarly to JS:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol
]]
local Symbol = require(script:WaitForChild('Symbol'))
export type Symbol = Symbol.Symbol
local GlobalRegistry = require(script:WaitForCh... | 161 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_timers@1.2.7/timers/src/init.lua | local Object = require(script.Parent:WaitForChild('collections')).Object
local makeTimerImpl = require(script:WaitForChild('makeTimerImpl'))
local makeIntervalImpl = require(script:WaitForChild('makeIntervalImpl'))
export type Timeout = makeTimerImpl.Timeout
export type Interval = makeIntervalImpl.Interval
return Ob... | 81 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_timers@1.2.7/timers/src/makeIntervalImpl.lua | local Status = newproxy(false)
type TaskStatus = number
export type Interval = { [typeof(Status)]: TaskStatus }
local SCHEDULED = 1
local CANCELLED = 3
return function(delayImpl)
local function setInterval(callback, intervalTime: number, ...): Interval
local args = { ... }
local task = {
[Status] = SCHEDULED... | 271 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/jsdotlua_timers@1.2.7/timers/src/makeTimerImpl.lua | local Status = newproxy(false)
type TaskStatus = number
export type Timeout = { [typeof(Status)]: TaskStatus }
local SCHEDULED = 1
local DONE = 2
local CANCELLED = 3
return function(delayImpl)
local function setTimeout(callback, delayTime: number?, ...): Timeout
local args = { ... }
local task = {
[Status] =... | 265 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/config.luau | local config = {
spring = {
default = { tension = 170, friction = 26 },
gentle = { tension = 120, friction = 14 },
wobbly = { tension = 180, friction = 12 },
stiff = { tension = 210, friction = 20 },
slow = { tension = 280, friction = 60 },
molasses = { tension = 280, friction = 120 },
},
linear = {
d... | 180 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/createMotion.luau | local RunService = game:GetService("RunService")
local types = require(script.Parent.types)
local immediateSolver = require(script.Parent.solvers.immediate)
local linearSolver = require(script.Parent.solvers.linear)
local springSolver = require(script.Parent.solvers.spring)
local tweenSolver = require(script.Parent.so... | 1,609 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/init.luau | local types = require(script.types)
export type Motion<T = number> = types.Motion<T>
export type MotionState = types.MotionState
export type MotionSolver = types.MotionSolver
export type MotionGoal = types.MotionGoal
export type SpringOptions = types.SpringOptions
export type LinearOptions = types.LinearOptions
ex... | 132 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/solvers/immediate.luau | local types = require(script.Parent.Parent.types)
local intermediate = require(script.Parent.Parent.utils.intermediate)
local function immediate(motionGoal: types.MotionGoal): types.MotionSolver
local goals = intermediate.to(motionGoal)
return function(key, state)
local goal = intermediate.index(goals, key)
if... | 95 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/solvers/linear.luau | local types = require(script.Parent.Parent.types)
local config = require(script.Parent.Parent.config)
local intermediate = require(script.Parent.Parent.utils.intermediate)
local function configure(options: types.LinearOptions)
local speed = if type(options) == "table" then options.speed else options
return {
spee... | 218 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/solvers/spring.luau | local types = require(script.Parent.Parent.types)
local config = require(script.Parent.Parent.config)
local intermediate = require(script.Parent.Parent.utils.intermediate)
local STEP = 1 -- milliseconds
local MAX_PASS = 100
local function configure(options: types.SpringOptions)
local mass = options.mass or 1
local ... | 554 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/solvers/tween.luau | local TweenService = game:GetService("TweenService")
local types = require(script.Parent.Parent.types)
local config = require(script.Parent.Parent.config)
local intermediate = require(script.Parent.Parent.utils.intermediate)
local merge = require(script.Parent.Parent.utils.merge)
type TweenEntry = {
value: NumberVal... | 429 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/types.luau | type Cleanup = () -> ()
export type Heartbeat = {
Connect: (self: Heartbeat, callback: (deltaTime: number) -> ()) -> Disconnectable,
}
export type Disconnectable = {
Disconnect: (self: Disconnectable) -> (),
}
export type Partial<T> = { [any]: any } & T
export type SpringOptions = {
damping: number?,
frequency:... | 618 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/utils/assign.luau | local function assign<T>(object: T, ...: { [any]: any }): T
assert(type(object) == "table", `Expected a table for first argument, got ${type(object)}`)
for index = 1, select("#", ...) do
local source = select(index, ...)
for key, value in source do
object[key] = value
end
end
return object
end
return a... | 92 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/utils/intermediate.luau | type Intermediate = { [any]: number }
local intermediates = {
number = {
to = function(value: number): Intermediate
return { value }
end,
from = function(value: Intermediate): number
return value[1]
end,
},
table = {
to = function(value: Intermediate): Intermediate
return value
end,
from = f... | 644 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/utils/merge.luau | local function merge<T, U>(a: T & { [any]: any }, b: U & { [any]: any }): T & U
local copy = table.clone(a)
for key, value in pairs(b) do
copy[key] = value
end
return copy :: never
end
return merge
| 67 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/utils/snapshot.luau | local HttpService = game:GetService("HttpService")
local types = require(script.Parent.Parent.types)
local createMotion = require(script.Parent.Parent.createMotion)
local STEP = 0.1
local MAX_LENGTH = 20
local function createSnapshot(solver: types.MotionSolver, length: number?)
local data: { number } = {}
local mo... | 289 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/littensy_ripple@0.9.3/ripple/src/utils/spy.luau | type Spy = {
calls: number,
arguments: { { unknown } },
handle: (...any) -> (),
}
local function spy(): Spy
local self: Spy
local function handle(...)
self.calls += 1
self.arguments[self.calls] = { ... }
end
self = {
calls = 0,
arguments = {},
handle = handle,
}
return self
end
return spy
| 89 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_future@1.0.1/future/Future.luau | local Spawn = require(script.Parent.Spawn)
export type Future<T...> = {
ValueList: { any }?,
AfterList: { (T...) -> () },
YieldList: { thread },
IsComplete: (self: Future<T...>) -> boolean,
IsPending: (self: Future<T...>) -> boolean,
Expect: (self: Future<T...>, Message: string) -> T...,
Unwrap: (self: Future... | 748 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_guard@1.0.1/guard/Guard.luau | export type Check<T> = (Value: unknown) -> T
-- Luau Primitive Types
local Any: Check<any> = function(Value)
return Value
end
local Boolean: Check<boolean> = function(Value)
assert(type(Value) == "boolean")
return Value
end
local Thread: Check<thread> = function(Value)
assert(type(Value) == "thread")
return ... | 1,178 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/Future.lua | local REQUIRED_MODULE = require(script.Parent.Parent["red-blox_future@1.0.1"]["future"])
export type Future<T...> = REQUIRED_MODULE.Future<T...>
return REQUIRED_MODULE
| 39 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/Guard.lua | local REQUIRED_MODULE = require(script.Parent.Parent["red-blox_guard@1.0.1"]["guard"])
export type Check<T> = REQUIRED_MODULE.Check<T>
return REQUIRED_MODULE
| 37 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/Signal.lua | local REQUIRED_MODULE = require(script.Parent.Parent["red-blox_signal@2.0.2"]["signal"])
export type Signal<T...> = REQUIRED_MODULE.Signal<T...>
return REQUIRED_MODULE
| 39 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Event/Client.luau | local Spawn = require(script.Parent.Parent.Parent.Spawn)
local Net = require(script.Parent.Parent.Net)
export type Client<T...> = {
Id: string,
Unreliable: boolean,
Fire: (self: Client<T...>, T...) -> (),
On: (self: Client<T...>, Callback: (T...) -> ()) -> (),
}
local function Fire<T...>(self: Client<T...>, ..... | 236 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Event/Server.luau | local Players = game:GetService("Players")
local Spawn = require(script.Parent.Parent.Parent.Spawn)
local Net = require(script.Parent.Parent.Net)
export type Server<T...> = {
Id: string,
Validate: (...unknown) -> T...,
Unreliable: boolean,
Fire: (self: Server<T...>, Player: Player, T...) -> (),
FireAll: (self... | 807 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Event/init.luau | local RunService = game:GetService("RunService")
local Identifier = require(script.Parent.Identifier)
local ServerEvent = require(script.Server)
local ClientEvent = require(script.Client)
export type Event<T...> = {
Id: string,
Validate: (...unknown) -> T...,
Unreliable: boolean,
ServerEvent: ServerEvent.Serve... | 429 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Function.luau | local RunService = game:GetService("RunService")
local Future = require(script.Parent.Parent.Future)
local Spawn = require(script.Parent.Parent.Spawn)
local Net = require(script.Parent.Net)
local Identifier = require(script.Parent.Identifier)
export type Function<A..., R...> = {
Id: string,
Validate: (...unknown) ... | 442 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Identifier.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Future = require(script.Parent.Parent.Future)
local Remote = ReplicatedStorage:WaitForChild("ReliableRedEvent")
local Identifier = {}
local NextShared = 0
local NextUnique = 0
local function UInt(In... | 326 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Net/Client.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local ReliableRemote = ReplicatedStorage:WaitForChild("ReliableRedEvent") :: RemoteEvent
local UnreliableRemote = ReplicatedStorage:WaitForChild("UnreliableRedEvent") :: RemoteEvent
local ListenerMap: { [st... | 648 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/Net/Server.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Guard = require(script.Parent.Parent.Parent.Guard)
local ReliableRemote = ReplicatedStorage:WaitForChild("ReliableRedEvent") :: RemoteEvent
local UnreliableRemote = ReplicatedStorage:WaitForChild("Unr... | 863 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_red@2.3.2/red/lib/init.luau | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
if RunService:IsServer() then
if not ReplicatedStorage:FindFirstChild("ReliableRedEvent") then
local ReliableRemote = Instance.new("RemoteEvent")
ReliableRemote.Name = "ReliableRedEvent"
ReliableRemot... | 239 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_signal@2.0.2/signal/Signal.luau | local Spawn = require(script.Parent.Spawn)
type SignalNode<T...> = {
Next: SignalNode<T...>?,
Callback: (T...) -> (),
}
export type Signal<T...> = {
Root: SignalNode<T...>?,
Connect: (self: Signal<T...>, Callback: (T...) -> ()) -> () -> (),
Wait: (self: Signal<T...>) -> T...,
Once: (self: Signal<T...>, Callbac... | 513 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/red-blox_spawn@1.1.0/spawn/Spawn.luau | local FreeThreads: { thread } = {}
local function RunCallback(Callback, Thread, ...)
Callback(...)
table.insert(FreeThreads, Thread)
end
local function Yielder()
while true do
RunCallback(coroutine.yield())
end
end
return function<T...>(Callback: (T...) -> (), ...: T...)
local Thread
if #FreeThreads > 0 then... | 132 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Packages/_Index/sleitnick_trove@0.5.0/trove/init.lua | -- Trove
-- Stephen Leitnick
-- October 16, 2021
local FN_MARKER = newproxy()
local THREAD_MARKER = newproxy()
local RunService = game:GetService("RunService")
local function GetObjectCleanupFunction(object, cleanupMethod)
local t = typeof(object)
if t == "function" then
return FN_MARKER
elseif t == "thread" th... | 2,494 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Server/main.server.lua | --!strict
local ServerStorage = game:GetService("ServerStorage")
local Shared = game.ReplicatedStorage.Shared
local RunContext = require(Shared.RunContext)
type Service = {
Init: (Service) -> ()?,
Start: (Service) -> ()?,
}
local Services = {} :: {
[string]: Service
}
for _, desc in ServerStorage:GetDes... | 397 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/AVLTree.luau | local AVLTree = {}
AVLTree.__index = AVLTree
export type Node<T = any> = {
Value: T,
Left: Node<T>?,
Right: Node<T>?,
Height: number,
}
export type Class<T = any> = typeof(setmetatable({} :: {
Root: Node<T>?,
Compare: (T, T) -> number,
_lookup: {
[T]: Node<T>,
},
_size: n... | 1,692 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/BitUtils.luau | local function readf16(buf: buffer, offset: number): number
local b0 = buffer.readu8(buf, offset)
local b1 = buffer.readu8(buf, offset + 1)
local sign = bit32.btest(b0, 128) and -1 or 1
local exponent = bit32.rshift(bit32.band(b0, 127), 2)
local mantissa = bit32.lshift(bit32.band(b0, 3), 8) + b1
... | 911 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Colors.luau | local Players = game:GetService("Players")
local Shared = script.Parent
local ConVar = require(Shared.ConVar)
export type IColor = Color3 | string
type ConVar = ConVar.Class
local Colors = {
Black = Color3.fromHex("#000000"),
White = Color3.fromHex("#ffffff"),
Red = Color3.fromHex("#ff0000"),
Green =... | 1,880 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/CrunchTable.luau | -- CrunchTable lets you define compression schemes for simple tables to be sent by roblox
-- If a field in a table is not defined in the layout, it will be ignored and stay in the table
-- If a field in a table is not present, but is defined in the layout, it'll default to 0 (or equiv)
--!native
--!strict
local modul... | 3,479 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/DeltaTable.luau | --!native
--!strict
local DeltaTable = {}
export type LazyTable = {
[any]: any,
}
export type Patch = {
Path: { string },
Value: any,
}
export type Trace = {
Path: { string },
OnApply: (path: { string }, value: any) -> (),
}
local function Deep(tbl: any): any
local tCopy = table.create(#tbl... | 1,036 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Flags.luau | --!strict
local Flags = {}
Flags.__index = Flags
export type Class = typeof(setmetatable({} :: {
_value: number?,
_inst: Instance?,
_attr: string?
}, Flags))
function Flags.new(value: number?): Class
return setmetatable({
_value = value or 0
}, Flags)
end
function Flags.GetString(value: ... | 484 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Future.luau | local Packages = game.ReplicatedStorage.Packages
local module = require(Packages.Future)
export type Class<T...> = module.Future<T...>
return module | 33 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Guid.luau | local HttpService = game:GetService("HttpService")
local function create()
return HttpService:GenerateGUID(false)
end
local function compress(buf: buffer, offset: number, value: string)
local stream = value:gsub("-", "")
local a = tonumber(stream:sub(1, 8), 16)
buffer.writeu32(buf, offset, a or 0)
... | 427 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/JointTree.luau | -- JointTree
-- ContextLost
-- April 25th, 2020
--!strict
local JointTree = {}
JointTree.__index = JointTree
type Edge = {
Part: BasePart,
Joint: JointInstance,
}
type Edges = {
[number]: Edge,
}
type Joints = {
[BasePart]: Edges
}
type CFrames = {
[BasePart]: CFrame,
}
----------------------... | 1,388 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Marketplace.luau | local Shared = script.Parent
local Promise = require(Shared.Promise)
local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
type Promise = Promise.Class
local ownership = {} :: {
[Player]: {
[string]: Promise
}
}
local productInfo = {} :: {
[st... | 689 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Network/init.luau | local Packages = game.ReplicatedStorage.Packages
local Shared = script.Parent
local RunContext = require(Shared.RunContext)
local Network: typeof(require(Packages.Red))
if RunContext.IsEdit then
Network = require(script.mockNetwork) :: any
else
Network = require(Packages.Red)
end
return Network
| 69 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/PlayerData.luau | --!strict
local PlayerData = {}
PlayerData.__index = PlayerData
local DataStoreService = game:GetService("DataStoreService")
local Players = game:GetService("Players")
local Shared = script.Parent
local Trove = require(Shared.Trove)
local Signal = require(Shared.Signal)
local Network = require(Shared.Network)
local ... | 3,810 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/RunContext.luau | --!strict
local UserInputService = game:GetService("UserInputService")
local GuiService = game:GetService("GuiService")
local RunService = game:GetService("RunService")
local VRService = game:GetService("VRService")
local isEdit = false
local isServer = RunService:IsServer()
local isClient = RunService:IsClient()
loc... | 221 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Settings/Backend/init.luau | -- Add any TOML files that you want to include in the Settings table here.
return table.freeze({
Admins = require(script.Admins),
}) | 31 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Settings/EnumTypes.luau | local Shared = script.Parent.Parent
local Signal = require(Shared.Signal)
type Signal<T...> = Signal.Typed<T...>
export type GetEnumImpl<Setting, Options> = (
setting: Setting,
userId: number?
) -> Options
export type SetEnumImpl<Setting, Options> = (
setting: Setting,
value: Options,
userId: num... | 169 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Settings/Types.luau | -- AUTO GENERATED FILE!! DO NOT MANUALLY EDIT!!
-- Use the `Developer/CompileSettings` story to update this.
local EnumTypes = require(script.Parent.EnumTypes)
type GetEnumImpl<Setting, Options> = EnumTypes.GetEnumImpl<Setting, Options>
type SetEnumImpl<Setting, Options> = EnumTypes.SetEnumImpl<Setting, Options>
type ... | 389 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Settings/init.luau | local Settings = {}
local Shared = script.Parent
local Trove = require(Shared.Trove)
local Signal = require(Shared.Signal)
local Promise = require(Shared.Promise)
local Network = require(Shared.Network)
local RunContext = require(Shared.RunContext)
local PlayerData = require(Shared.PlayerData)
local Frontend = requir... | 4,238 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Signal.luau | -- Signal
-- MaximumADHD
-- November 29th, 2022
--!native
--!strict
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Packages = ReplicatedStorage.Packages
local module = require(Packages.Signal)
export type Connection = module.Connection
export type Typed<T...> = module.Signal<T...>
export type ... | 165 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/StackModifier.luau | -- StackModifier
-- MaximumADHD
-- March 21st, 2023
--!strict
--- A module for handling complex property stacking and modification.
--- It allows for multiple sources to modify the same property on an instance, with the ability to prioritize and weight each source.
--- Modifiers with higher priorities will override l... | 2,571 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/StringBuilder.luau | local StringBuilder = {}
StringBuilder.__index = StringBuilder
export type Class = typeof(setmetatable({} :: {
_stack: number,
_lines: { string },
}, StringBuilder))
function StringBuilder.new(): Class
return setmetatable({
_stack = 0,
_lines = {},
}, StringBuilder)
end
function Strin... | 328 |
MaximumADHD/Roblox-Boilerplate | MaximumADHD-Roblox-Boilerplate-4358d1a/Shared/Tags.luau | ------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- Tags
-- MaximumADHD
-- December 22nd, 2020
---------------------------------------------------------------------------------------------------------------... | 493 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.