java.lang.Object
java.lang.Record
org.aya.tyck.error.Goal
- 所有已实现的接口:
org.aya.util.reporter.Problem
public record Goal(@NotNull TyckState state, CallTerm.Hole hole, @NotNull kala.collection.immutable.ImmutableSeq<LocalVar> scope)
extends Record
implements org.aya.util.reporter.Problem
-
嵌套类概要
从接口继承的嵌套类/接口 org.aya.util.reporter.Problem
org.aya.util.reporter.Problem.Severity, org.aya.util.reporter.Problem.Stage -
字段概要
从接口继承的字段 org.aya.util.reporter.Problem
ERROR, NOTE, TEXT -
构造器概要
构造器构造器说明Goal(@NotNull TyckState state, CallTerm.Hole hole, @NotNull kala.collection.immutable.ImmutableSeq<LocalVar> scope) 创建Goal记录类的实例。 -
方法概要
修饰符和类型方法说明@NotNull org.aya.pretty.doc.Docdescribe(@NotNull org.aya.util.distill.DistillerOptions options) final boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。hole()返回hole记录组件的值。@NotNull org.aya.util.reporter.Problem.Severitylevel()@NotNull kala.collection.immutable.ImmutableSeq<LocalVar>scope()返回scope记录组件的值。@NotNull org.aya.util.error.SourcePos@NotNull org.aya.util.reporter.Problem.Stagestage()@NotNull TyckStatestate()返回state记录组件的值。final StringtoString()返回此记录类的字符串表示形式。从接口继承的方法 org.aya.util.reporter.Problem
brief, hint, inlineHints, isError, toPrettyError
-
构造器详细资料
-
Goal
public Goal(@NotNull @NotNull TyckState state, @NotNull CallTerm.Hole hole, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<LocalVar> scope) 创建Goal记录类的实例。- 参数:
state-state记录组件的值hole-hole记录组件的值scope-scope记录组件的值
-
-
方法详细资料
-
describe
@NotNull public @NotNull org.aya.pretty.doc.Doc describe(@NotNull @NotNull org.aya.util.distill.DistillerOptions options) - 指定者:
describe在接口中org.aya.util.reporter.Problem
-
sourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos sourcePos()- 指定者:
sourcePos在接口中org.aya.util.reporter.Problem
-
level
@NotNull public @NotNull org.aya.util.reporter.Problem.Severity level()- 指定者:
level在接口中org.aya.util.reporter.Problem
-
stage
@NotNull public @NotNull org.aya.util.reporter.Problem.Stage stage()- 指定者:
stage在接口中org.aya.util.reporter.Problem
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
state
返回state记录组件的值。- 返回:
state记录组件的值
-
hole
返回hole记录组件的值。- 返回:
hole记录组件的值
-
scope
返回scope记录组件的值。- 返回:
scope记录组件的值
-