package org.asciidoc.intellij.parser;

import com.intellij.psi.stubs.PsiFileStub;
import com.intellij.psi.tree.IStubFileElementType;
import org.asciidoc.intellij.AsciiDocLanguage;
import org.asciidoc.intellij.psi.AsciiDocFile;

public class AsciiDocFileElementType extends IStubFileElementType<PsiFileStub<AsciiDocFile>> {

  public AsciiDocFileElementType() {
    super(AsciiDocLanguage.INSTANCE);
  }

  @Override
  public int getStubVersion() {
    return super.getStubVersion() + 36;
  }
}

package org.asciidoc.intellij.parser;

import com.intellij.psi.stubs.PsiFileStub;
import com.intellij.psi.tree.IStubFileElementType;
import org.asciidoc.intellij.AsciiDocLanguage;
import org.asciidoc.intellij.psi.AsciiDocFile;

public class AsciiDocFileElementType extends IStubFileElementType<PsiFileStub<AsciiDocFile>> {

  public AsciiDocFileElementType() {
    super(AsciiDocLanguage.INSTANCE);
  }

  @Override
  public int getStubVersion() {
    return super.getStubVersion() + 37;
  }
}

increment stub version to re-recreate indexes (#955)