/
schurik_07
/
example
Обзор
Документация
Войти
/
schurik_07
/
example
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/com/nasmlanguage/NASMCommenter.java
56 строк
1 KB
ajkhoury
Update license copyright year
26 мар 2020, 03:18
26 мар 2020, 03:18
e4e5fdf
Код
Авторство
О чём код?
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2020 Aidan Khoury. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --*/ package com.nasmlanguage; import com.intellij.lang.Commenter; import org.jetbrains.annotations.Nullable; public class NASMCommenter implements Commenter { @Nullable @Override public String getLineCommentPrefix() { return ";"; } @Nullable @Override public String getBlockCommentPrefix() { return "%if 0"; } @Nullable @Override public String getBlockCommentSuffix() { return "%endif"; } @Nullable @Override public String getCommentedBlockCommentPrefix() { return null; } @Nullable @Override public String getCommentedBlockCommentSuffix() { return null; } }