mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[json] JsonLinesParserDefinition: cleanup
GitOrigin-RevId: b255ba7882f87b0cf326a0390d8c52c9e5aad7f2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4def9e307b
commit
89e7280fbb
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.json.jsonLines
|
||||
|
||||
import com.intellij.json.JsonParserDefinition
|
||||
@@ -7,14 +7,14 @@ import com.intellij.psi.FileViewProvider
|
||||
import com.intellij.psi.PsiFile
|
||||
import com.intellij.psi.tree.IFileElementType
|
||||
|
||||
class JsonLinesParserDefinition: JsonParserDefinition() {
|
||||
internal class JsonLinesParserDefinition : JsonParserDefinition() {
|
||||
|
||||
override fun createFile(fileViewProvider: FileViewProvider): PsiFile {
|
||||
return JsonFileImpl(fileViewProvider, JsonLinesLanguage)
|
||||
}
|
||||
|
||||
override fun getFileNodeType(): IFileElementType = FILE
|
||||
|
||||
companion object {
|
||||
val FILE = IFileElementType(JsonLinesLanguage)
|
||||
}
|
||||
private val FILE = IFileElementType(JsonLinesLanguage)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user