/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v2.0-alpha-1
src/ScriptEngine/ICompilerService.cs
30 строк
955 B
Andrey Ovsiankin
Удалил старые методы регистрации обработчиков директив
22 дек 2020, 22:35
22 дек 2020, 22:35
e9b4e90
Код
Авторство
О чём код?
/*---------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ----------------------------------------------------------*/ using OneScript.Language.SyntaxAnalysis; using ScriptEngine.Compiler; using ScriptEngine.Environment; using ScriptEngine.Machine; namespace ScriptEngine { /// <summary> /// Сервис компиляции единичного модуля. /// </summary> public interface ICompilerService { CodeGenerationFlags ProduceExtraCode { get; set; } int DefineVariable(string name, string alias, SymbolType type); int DefineMethod(MethodInfo methodInfo); void DefinePreprocessorValue(string name); ModuleImage Compile(ICodeSource source); } }