mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
stubs for RConstant; show constants in Ruby goto symbol; occurence -> occurrence
This commit is contained in:
@@ -74,10 +74,10 @@ public class PyClassElementType extends PyStubElementType<PyClassStub, PyClass>
|
||||
public void indexStub(final PyClassStub stub, final IndexSink sink) {
|
||||
final String name = stub.getName();
|
||||
if (name != null) {
|
||||
sink.occurence(PyClassNameIndex.KEY, name);
|
||||
sink.occurrence(PyClassNameIndex.KEY, name);
|
||||
}
|
||||
for(String s: stub.getSuperClasses()) {
|
||||
sink.occurence(PySuperClassIndex.KEY, s);
|
||||
sink.occurrence(PySuperClassIndex.KEY, s);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,7 +50,7 @@ public class PyFunctionElementType extends PyStubElementType<PyFunctionStub, PyF
|
||||
public void indexStub(final PyFunctionStub stub, final IndexSink sink) {
|
||||
final String name = stub.getName();
|
||||
if (name != null) {
|
||||
sink.occurence(PyFunctionNameIndex.KEY, name);
|
||||
sink.occurrence(PyFunctionNameIndex.KEY, name);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user