-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
71 additions
and
76 deletions.
There are no files selected for viewing
21 changes: 0 additions & 21 deletions
21
core/src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/JccScopedExpansionUnit.java
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
core/src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/JccScopedExpansionUnit.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// This is a generated file. Not intended for manual editing. | ||
package com.github.oowekyala.ijcc.lang.psi | ||
|
||
import com.github.oowekyala.ijcc.lang.psi.stubs.JccScopedExpansionUnitStub | ||
import com.intellij.psi.StubBasedPsiElement | ||
|
||
interface JccScopedExpansionUnit | ||
: JccIdentifierOwner, | ||
JccExpansionUnit, | ||
JjtNodeClassOwner, | ||
StubBasedPsiElement<JccScopedExpansionUnitStub> { | ||
|
||
val expansionUnit: JccExpansionUnit | ||
|
||
override val jjtreeNodeDescriptor: JccJjtreeNodeDescriptor | ||
|
||
override fun getNameIdentifier(): JccIdentifier? | ||
|
||
} |
53 changes: 0 additions & 53 deletions
53
core/src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/impl/JccScopedExpansionUnitImpl.java
This file was deleted.
Oops, something went wrong.
44 changes: 44 additions & 0 deletions
44
core/src/main/kotlin/com/github/oowekyala/ijcc/lang/psi/impl/JccScopedExpansionUnitImpl.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// This is a generated file. Not intended for manual editing. | ||
package com.github.oowekyala.ijcc.lang.psi.impl | ||
|
||
import com.github.oowekyala.ijcc.lang.psi.* | ||
import com.github.oowekyala.ijcc.lang.psi.stubs.JccScopedExpansionUnitStub | ||
import com.intellij.lang.ASTNode | ||
import com.intellij.psi.PsiElementVisitor | ||
import com.intellij.psi.stubs.IStubElementType | ||
import com.intellij.psi.util.PsiTreeUtil | ||
|
||
class JccScopedExpansionUnitImpl : JjtNodeClassOwnerImpl<JccScopedExpansionUnitStub>, JccScopedExpansionUnit { | ||
|
||
override val jjtreeNodeDescriptor: JccJjtreeNodeDescriptor | ||
get() = notNullChild<JccJjtreeNodeDescriptor>( | ||
PsiTreeUtil.getChildOfType( | ||
this, | ||
JccJjtreeNodeDescriptor::class.java | ||
) | ||
) | ||
|
||
constructor(node: ASTNode) : super(node) | ||
|
||
constructor(stub: JccScopedExpansionUnitStub, stubType: IStubElementType<JccScopedExpansionUnitStub, *>) : super(stub, stubType) | ||
|
||
fun accept(visitor: JccVisitor) { | ||
visitor.visitScopedExpansionUnit(this) | ||
} | ||
|
||
override fun accept(visitor: PsiElementVisitor) { | ||
if (visitor is JccVisitor) | ||
accept(visitor) | ||
else | ||
super.accept(visitor) | ||
} | ||
|
||
override val expansionUnit: JccExpansionUnit | ||
get() = notNullChild<JccExpansionUnit>(PsiTreeUtil.getChildOfType(this, JccExpansionUnit::class.java)) | ||
|
||
override fun getNameIdentifier(): JccIdentifier? { | ||
val p1 = jjtreeNodeDescriptor | ||
return p1.nameIdentifier | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters