2021-10-30 04:25:12 +08:00
|
|
|
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
|
|
#pragma once
|
|
|
|
|
2024-11-09 02:43:24 +08:00
|
|
|
#include "Luau/AutocompleteTypes.h"
|
2021-10-30 04:25:12 +08:00
|
|
|
#include "Luau/Location.h"
|
2023-01-04 01:33:19 +08:00
|
|
|
#include "Luau/Type.h"
|
2021-10-30 04:25:12 +08:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <memory>
|
|
|
|
#include <optional>
|
|
|
|
|
|
|
|
namespace Luau
|
|
|
|
{
|
|
|
|
|
|
|
|
struct Frontend;
|
|
|
|
struct SourceModule;
|
|
|
|
struct Module;
|
|
|
|
struct TypeChecker;
|
2024-11-09 02:43:24 +08:00
|
|
|
struct FileResolver;
|
2021-10-30 04:25:12 +08:00
|
|
|
|
|
|
|
AutocompleteResult autocomplete(Frontend& frontend, const ModuleName& moduleName, Position position, StringCompletionCallback callback);
|
2022-02-12 02:43:14 +08:00
|
|
|
|
2021-10-30 04:25:12 +08:00
|
|
|
} // namespace Luau
|