Skip to content

Commit

Permalink
WEB-67476 Convert JavaScriptParserBase to Kotlin
Browse files Browse the repository at this point in the history
GitOrigin-RevId: fcce5fc3239202f439160d627b00c48e44572d0e
  • Loading branch information
Victor Turansky authored and intellij-monorepo-bot committed Dec 25, 2024
1 parent 0466773 commit 903ed5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class SvelteJSParser(
builder,
) {
override val expressionParser: ES6ExpressionParser<*> =
object : ES6ExpressionParser<SvelteJSParser>(this) {
object : ES6ExpressionParser<SvelteJSParser>(this@SvelteJSParser) {
override fun getCurrentBinarySignPriority(allowIn: Boolean, advance: Boolean): Int {
if (this.builder.tokenType === JSTokenTypes.AS_KEYWORD) {
return -1
Expand All @@ -30,7 +30,7 @@ class SvelteJSParser(
}

override val functionParser: ES6FunctionParser<*> =
object : ES6FunctionParser<SvelteJSParser>(this) {
object : ES6FunctionParser<SvelteJSParser>(this@SvelteJSParser) {
override fun getParameterType(): IElementType {
if (builder.getUserData(markupContextKey) == true) {
return SvelteJSElementTypes.PARAMETER
Expand Down

0 comments on commit 903ed5b

Please sign in to comment.