org.aya.tyck.error.SourceNodeProblem Maven / Gradle / Ivy
// Copyright (c) 2020-2024 Tesla (Yinsen) Zhang.
// Use of this source code is governed by the MIT license that can be found in the LICENSE.md file.
package org.aya.tyck.error;
import org.aya.util.error.SourceNode;
import org.aya.util.error.SourcePos;
import org.aya.util.reporter.Problem;
import org.jetbrains.annotations.NotNull;
public interface SourceNodeProblem extends Problem {
@NotNull SourceNode expr();
@Override default @NotNull SourcePos sourcePos() { return expr().sourcePos(); }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy