/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/ScriptEngine/Machine/Interfaces/IterablesModuleAnnotationsHandler.cs
27 строк
964 B
EvilBeaver
Переделка итераторов на стиль ОСени и проверка при компиляции, а не при старте класса
19 янв 2024, 23:24
19 янв 2024, 23:24
d0d2a3b
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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 System.Collections.Generic; using OneScript.Language; using OneScript.Language.SyntaxAnalysis; using OneScript.Localization; namespace ScriptEngine.Machine.Interfaces { public class IterablesModuleAnnotationsHandler : SingleWordModuleAnnotationHandler { private static HashSet<BilingualString> SupportedNames = new HashSet<BilingualString>() { IterableBslInterfaceChecker.IterableAnnotation, IteratorBslInterfaceChecker.IterableAnnotation }; public IterablesModuleAnnotationsHandler(IErrorSink errorSink) : base(SupportedNames, errorSink) { } } }