roblox-ts
Version:
<div align="center"><img width=25% src="https://i.imgur.com/yCjHmng.png"></div> <h1 align="center"><a href="https://roblox-ts.github.io/">roblox-ts</a></h1> <div align="center">A TypeScript-to-Lua Compiler for Roblox</div> <br> <div align="center"> <a hr
10 lines (9 loc) • 1.04 kB
TypeScript
import * as ts from "ts-morph";
import { CompilerState } from "../CompilerState";
import { HasParameters } from "../types";
export declare function getParameterData(state: CompilerState, paramNames: Array<string>, initializers: Array<string>, node: HasParameters, defaults?: Array<string>): void;
declare function mapAccessor(state: CompilerState, t: string, key: number, preStatements: Array<string>, idStack: Array<string>, isHole?: boolean): string;
export declare function getAccessorForBindingPatternType(bindingPattern: ts.Node): typeof mapAccessor;
export declare function concatNamesAndValues(state: CompilerState, names: Array<string>, values: Array<string>, isLocal: boolean, func: (str: string) => void, includeSpacing?: boolean, includeSemicolon?: boolean): void;
export declare function getBindingData(state: CompilerState, names: Array<string>, values: Array<string>, preStatements: Array<string>, postStatements: Array<string>, bindingPattern: ts.Node, parentId: string, getAccessor?: typeof mapAccessor): void;
export {};