添加stubIndex

This commit is contained in:
me
2024-05-24 00:37:16 +08:00
parent ebd3916edd
commit 20b3fb7d66
15 changed files with 129 additions and 40 deletions

View File

@@ -137,6 +137,7 @@ Component ::= ComponentKeyword ComponentName InheritDeclaration? ComponentBody {
"me.zhouxi.slint.lang.psi.SlintPsiNamedElement"
"com.intellij.psi.StubBasedPsiElement<me.zhouxi.slint.stubs.stub.SlintComponentStub>"
]
elementTypeClass="me.zhouxi.slint.stubs.types.SlintComponentStubType"
stubClass="me.zhouxi.slint.stubs.stub.SlintComponentStub"
mixin="me.zhouxi.slint.lang.psi.impl.SlintStubBasedPsiNamedElementImpl<me.zhouxi.slint.stubs.stub.SlintComponentStub>"
}
@@ -187,7 +188,7 @@ PropertyChanged ::= ChangedKeyword LocalVariable '=>' CodeBlock{
// 回调定义 pure callback abc()->int; callback abc; callback(..);callback()->type;
CallbackDeclaration ::= PureKeyword? CallbackKeyword FunctionName CallbackBinding? ';'{
pin=2
implements=["me.zhouxi.slint.lang.psi.SlintPsiNamedElement""me.zhouxi.slint.stubs.SlintPsiStubElement<>"]
implements=["me.zhouxi.slint.lang.psi.SlintPsiNamedElement"]
mixin="me.zhouxi.slint.lang.psi.impl.SlintPsiNamedElementMixinImpl"
}
//回调参数定义