package com.ifpdos.udi.sdk.kotlin.comment.parser;

import com.seewo.vcommons.constants.SeewoIntent;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;

/* JADX INFO: compiled from: Token.kt */
/* JADX INFO: loaded from: classes.dex */
@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\b\u0080\b\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005¢\u0006\u0002\u0010\u0006J\t\u0010\u000b\u001a\u00020\u0003HÆ\u0003J\t\u0010\f\u001a\u00020\u0005HÆ\u0003J\u001d\u0010\r\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u0005HÆ\u0001J\u0013\u0010\u000e\u001a\u00020\u000f2\b\u0010\u0010\u001a\u0004\u0018\u00010\u0001HÖ\u0003J\t\u0010\u0011\u001a\u00020\u0012HÖ\u0001J\t\u0010\u0013\u001a\u00020\u0005HÖ\u0001R\u0011\u0010\u0004\u001a\u00020\u0005¢\u0006\b\n\u0000\u001a\u0004\b\u0007\u0010\bR\u0011\u0010\u0002\u001a\u00020\u0003¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n¨\u0006\u0014"}, d2 = {"Lcom/ifpdos/udi/sdk/kotlin/comment/parser/Token;", "", SeewoIntent.KEY_FILE_TYPE, "Lcom/ifpdos/udi/sdk/kotlin/comment/parser/TokenId;", "semantic", "", "(Lcom/ifpdos/udi/sdk/kotlin/comment/parser/TokenId;Ljava/lang/String;)V", "getSemantic", "()Ljava/lang/String;", "getType", "()Lcom/ifpdos/udi/sdk/kotlin/comment/parser/TokenId;", "component1", "component2", "copy", "equals", "", "other", "hashCode", "", "toString", "kotlin-comment-parser"}, k = 1, mv = {1, 6, 0}, xi = 48)
public final /* data */ class Token {
    private final String semantic;
    private final TokenId type;

    public static /* synthetic */ Token copy$default(Token token, TokenId tokenId, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            tokenId = token.type;
        }
        if ((i & 2) != 0) {
            str = token.semantic;
        }
        return token.copy(tokenId, str);
    }

    /* JADX INFO: renamed from: component1, reason: from getter */
    public final TokenId getType() {
        return this.type;
    }

    /* JADX INFO: renamed from: component2, reason: from getter */
    public final String getSemantic() {
        return this.semantic;
    }

    public final Token copy(TokenId type, String semantic) {
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(semantic, "semantic");
        return new Token(type, semantic);
    }

    public boolean equals(Object other) {
        if (this == other) {
            return true;
        }
        if (!(other instanceof Token)) {
            return false;
        }
        Token token = (Token) other;
        return this.type == token.type && Intrinsics.areEqual(this.semantic, token.semantic);
    }

    public int hashCode() {
        return (this.type.hashCode() * 31) + this.semantic.hashCode();
    }

    public String toString() {
        return "Token(type=" + this.type + ", semantic=" + this.semantic + ')';
    }

    public Token(TokenId type, String semantic) {
        Intrinsics.checkNotNullParameter(type, "type");
        Intrinsics.checkNotNullParameter(semantic, "semantic");
        this.type = type;
        this.semantic = semantic;
    }

    public final TokenId getType() {
        return this.type;
    }

    public final String getSemantic() {
        return this.semantic;
    }
}
