// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.lexer;

import com.intellij.psi.JavaDocTokenType;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.TokenSet;

public final class JavaDocTokenTypes implements JavaDocCommentTokenTypes {
  public static final JavaDocCommentTokenTypes INSTANCE = new JavaDocTokenTypes();
  private final TokenSet mySpaceCommentsSet = TokenSet.create(JavaDocTokenType.DOC_SPACE, JavaDocTokenType.DOC_COMMENT_DATA);

  private JavaDocTokenTypes() { }

  @Override
  public IElementType commentStart() {
    return JavaDocTokenType.DOC_COMMENT_START;
  }

  @Override
  public IElementType commentEnd() {
    return JavaDocTokenType.DOC_COMMENT_END;
  }

  @Override
  public IElementType commentData() {
    return JavaDocTokenType.DOC_COMMENT_DATA;
  }

  @Override
  public TokenSet spaceCommentsTokenSet() {
    return mySpaceCommentsSet;
  }

  @Override
  public IElementType space() {
    return JavaDocTokenType.DOC_SPACE;
  }

  @Override
  public IElementType tagValueToken() {
    return JavaDocTokenType.DOC_TAG_VALUE_TOKEN;
  }

  @Override
  public IElementType tagValueLParen() {
    return JavaDocTokenType.DOC_TAG_VALUE_LPAREN;
  }

  @Override
  public IElementType tagValueRParen() {
    return JavaDocTokenType.DOC_TAG_VALUE_RPAREN;
  }

  @Override
  public IElementType tagValueQuote() {
    return JavaDocTokenType.DOC_TAG_VALUE_QUOTE;
  }

  @Override
  public IElementType tagValueColon() {
    return JavaDocTokenType.DOC_TAG_VALUE_COLON;
  }

  @Override
  public IElementType tagValueSharp() {
    return JavaDocTokenType.DOC_TAG_VALUE_SHARP_TOKEN;
  }

  @Override
  public IElementType tagValueSlash() {
    return JavaDocTokenType.DOC_TAG_VALUE_SLASH;
  }

  @Override
  public IElementType tagValueComma() {
    return JavaDocTokenType.DOC_TAG_VALUE_COMMA;
  }

  @Override
  public IElementType tagName() {
    return JavaDocTokenType.DOC_TAG_NAME;
  }

  @Override
  public IElementType tagValueLT() {
    return JavaDocTokenType.DOC_TAG_VALUE_LT;
  }

  @Override
  public IElementType tagValueGT() {
    return JavaDocTokenType.DOC_TAG_VALUE_GT;
  }

  @Override
  public IElementType inlineTagStart() {
    return JavaDocTokenType.DOC_INLINE_TAG_START;
  }

  @Override
  public IElementType inlineTagEnd() {
    return JavaDocTokenType.DOC_INLINE_TAG_END;
  }

  @Override
  public IElementType badCharacter() {
    return JavaDocTokenType.DOC_COMMENT_BAD_CHARACTER;
  }

  @Override
  public IElementType commentLeadingAsterisks() {
    return JavaDocTokenType.DOC_COMMENT_LEADING_ASTERISKS;
  }

  @Override
  public IElementType codeFence() {
    return JavaDocTokenType.DOC_CODE_FENCE;
  }

  @Override
  public IElementType rightBracket() {
    return JavaDocTokenType.DOC_RBRACKET;
  }

  @Override
  public IElementType leftBracket() {
    return JavaDocTokenType.DOC_LBRACKET;
  }

  @Override
  public IElementType leftParenthesis() {
    return JavaDocTokenType.DOC_LPAREN;
  }

  @Override
  public IElementType rightParenthesis() {
    return JavaDocTokenType.DOC_RPAREN;
  }

  @Override
  public IElementType sharp() {
    return JavaDocTokenType.DOC_SHARP;
  }

  @Override
  public IElementType inlineCodeFence() {
    return JavaDocTokenType.DOC_INLINE_CODE_FENCE;
  }

  @Override
  public IElementType comma() {
    return JavaDocTokenType.DOC_COMMA;
  }
}
