All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aya.tyck.error.SourceNodeProblem Maven / Gradle / Ivy

There is a newer version: 0.36.0
Show newest version
// 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