Search in sources :

Example 1 with PyFileStubImpl

use of com.jetbrains.python.psi.impl.stubs.PyFileStubImpl in project intellij-community by JetBrains.

the class PyFileElementType method deserialize.

@NotNull
@Override
public PyFileStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
    List<String> all = readNullableList(dataStream);
    BitSet future_features = readBitSet(dataStream);
    StringRef deprecationMessage = dataStream.readName();
    return new PyFileStubImpl(all, future_features, deprecationMessage);
}
Also used : BitSet(java.util.BitSet) StringRef(com.intellij.util.io.StringRef) PyFileStubImpl(com.jetbrains.python.psi.impl.stubs.PyFileStubImpl) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

StringRef (com.intellij.util.io.StringRef)1 PyFileStubImpl (com.jetbrains.python.psi.impl.stubs.PyFileStubImpl)1 BitSet (java.util.BitSet)1 NotNull (org.jetbrains.annotations.NotNull)1