/
EvilBeaver
/
OneScript
Обзор
Документация
Войти
/
EvilBeaver
/
OneScript
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
src/OneScript.Language/SyntaxAnalysis/AstNodes/PreprocessorDirectiveNode.cs
22 строки
724 B
Andrey Ovsiankin
Импорты компилируются, как аннотации к модулю
07 дек 2020, 17:53
07 дек 2020, 17:53
db693a7
Код
Авторство
О чём код?
/*---------------------------------------------------------- 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.LexicalAnalysis; namespace OneScript.Language.SyntaxAnalysis.AstNodes { public class PreprocessorDirectiveNode : NonTerminalNode { public PreprocessorDirectiveNode(Lexem startLexem) : base (NodeKind.Preprocessor, startLexem) { DirectiveName = startLexem.Content; } public string DirectiveName { get; } } }