/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
v2.0.2
src/OneScript.Language/LexicalAnalysis/FixedLexerState.cs
24 строки
664 B
Andrei Ovsiankin
Исправлены префиксы лицензий
21 ноя 2020, 21:29
21 ноя 2020, 21:29
db79358
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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/. ----------------------------------------------------------*/ namespace OneScript.Language.LexicalAnalysis { public class FixedLexerState : LexerState { private Lexem Lex { get; set; } public void SetOutput(Lexem lex) { Lex = lex; } public override Lexem ReadNextLexem(SourceCodeIterator iterator) { return Lex; } } }