[CMI] Replace getTag with tag property in CodeMetaInfo

This commit is contained in:
Dmitriy Novozhilov
2020-12-02 15:46:17 +03:00
parent 9e31b049fc
commit ced9a6fe35
6 changed files with 15 additions and 12 deletions
@@ -17,9 +17,11 @@ class HighlightingCodeMetaInfo(
get() = highlightingInfo.startOffset
override val end: Int
get() = highlightingInfo.endOffset
override val tag: String
get() = renderConfiguration.getTag()
override val platforms: MutableList<String> = mutableListOf()
override fun asString(): String = renderConfiguration.asString(this)
override fun getTag(): String = renderConfiguration.getTag()
}
@@ -17,9 +17,11 @@ class LineMarkerCodeMetaInfo(
get() = lineMarker.startOffset
override val end: Int
get() = lineMarker.endOffset
override val tag: String
get() = renderConfiguration.getTag()
override val platforms: MutableList<String> = mutableListOf()
override fun asString(): String = renderConfiguration.asString(this)
override fun getTag(): String = renderConfiguration.getTag()
}