java.lang.Object
java.lang.Record
org.aya.tyck.error.TupleError.ProjIxError
- 所有已实现的接口:
ExprProblem,TupleError,TyckError,org.aya.util.reporter.Problem
- 封闭接口:
TupleError
public static record TupleError.ProjIxError(Expr.ProjExpr expr, int actual, int expectedBound)
extends Record
implements ExprProblem, TupleError
-
嵌套类概要
从接口继承的嵌套类/接口 org.aya.util.reporter.Problem
org.aya.util.reporter.Problem.Severity, org.aya.util.reporter.Problem.Stage从接口继承的嵌套类/接口 org.aya.tyck.error.TupleError
TupleError.ElemMismatchError, TupleError.ProjIxError -
字段概要
从接口继承的字段 org.aya.util.reporter.Problem
ERROR, NOTE, TEXT -
构造器概要
构造器 -
方法概要
从接口继承的方法 org.aya.generic.ExprProblem
sourcePos从接口继承的方法 org.aya.util.reporter.Problem
brief, hint, inlineHints, isError, toPrettyError
-
构造器详细资料
-
ProjIxError
创建ProjIxError记录类的实例。- 参数:
expr-expr记录组件的值actual-actual记录组件的值expectedBound-expectedBound记录组件的值
-
-
方法详细资料
-
describe
@NotNull public @NotNull org.aya.pretty.doc.Doc describe(@NotNull @NotNull org.aya.util.distill.DistillerOptions options) - 指定者:
describe在接口中org.aya.util.reporter.Problem
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)对参考组件进行比较;使用 '==' 对基元组件进行比较 -
expr
返回expr记录组件的值。- 指定者:
expr在接口中ExprProblem- 返回:
expr记录组件的值
-
actual
public int actual()返回actual记录组件的值。- 返回:
actual记录组件的值
-
expectedBound
public int expectedBound()返回expectedBound记录组件的值。- 返回:
expectedBound记录组件的值
-