Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Roblox
GitHub Repository: Roblox/luau
Path: blob/master/Analysis/src/AutocompleteCore.h
2725 views
1
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
2
#pragma once
3
4
#include "Luau/AutocompleteTypes.h"
5
6
namespace Luau
7
{
8
struct Module;
9
struct FileResolver;
10
11
using ModulePtr = std::shared_ptr<Module>;
12
using ModuleName = std::string;
13
14
15
AutocompleteResult autocomplete_(
16
const ModulePtr& module,
17
NotNull<BuiltinTypes> builtinTypes,
18
TypeArena* typeArena,
19
std::vector<AstNode*>& ancestry,
20
Scope* globalScope,
21
const ScopePtr& scopeAtPosition,
22
Position position,
23
FileResolver* fileResolver,
24
StringCompletionCallback callback,
25
bool isInHotComment = false
26
);
27
28
} // namespace Luau
29
30