mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+7
-13
@@ -284,32 +284,26 @@ private fun isSeparator(charIterator: CharSequenceIterator): Boolean {
|
||||
/**
|
||||
* Not mapped to a section in the original source.
|
||||
*/
|
||||
private open class UnmappedEntry internal constructor(private val line: Int, private val column: Int) : MappingEntry() {
|
||||
override fun getGeneratedColumn() = column
|
||||
private open class UnmappedEntry(line: Int, column: Int) : MappingEntry {
|
||||
override val generatedColumn = column
|
||||
|
||||
override fun getGeneratedLine() = line
|
||||
override val generatedLine = line
|
||||
|
||||
override fun getSourceLine() = UNMAPPED
|
||||
override val sourceLine = UNMAPPED
|
||||
|
||||
override fun getSourceColumn() = UNMAPPED
|
||||
override val sourceColumn = UNMAPPED
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapped to a section in the original source.
|
||||
*/
|
||||
private open class UnnamedEntry internal constructor(line: Int, column: Int, private val source: Int, private val sourceLine: Int, private val sourceColumn: Int) : UnmappedEntry(line, column) {
|
||||
override fun getSource() = source
|
||||
|
||||
override fun getSourceLine() = sourceLine
|
||||
|
||||
override fun getSourceColumn() = sourceColumn
|
||||
private open class UnnamedEntry(line: Int, column: Int, override val source: Int, override val sourceLine: Int, override val sourceColumn: Int) : UnmappedEntry(line, column) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Mapped to a section in the original source, and is associated with a name.
|
||||
*/
|
||||
private class NamedEntry(private val name: String, line: Int, column: Int, source: Int, sourceLine: Int, sourceColumn: Int) : UnnamedEntry(line, column, source, sourceLine, sourceColumn) {
|
||||
override fun getName() = name
|
||||
private class NamedEntry(override val name: String, line: Int, column: Int, source: Int, sourceLine: Int, sourceColumn: Int) : UnnamedEntry(line, column, source, sourceLine, sourceColumn) {
|
||||
}
|
||||
|
||||
// java CharacterIterator is ugly, next() impl, so, we reinvent
|
||||
|
||||
@@ -556,7 +556,6 @@ nodejs.debugger.use.jb.support=true
|
||||
js.debugger.name.mappings.by.source.code=false
|
||||
js.debugger.v8.log=
|
||||
js.debugger.wip.log=
|
||||
js.debugger.member.filter.prefer.vm.source=false
|
||||
|
||||
js.index.node.submodules=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user