java.lang.Object
java.lang.Record
org.aya.tyck.error.PrimError.BadInterval
- 所有已实现的接口:
TyckError,org.aya.util.reporter.Problem
- 封闭接口:
PrimError
-
嵌套类概要
从接口继承的嵌套类/接口 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 -
构造器概要
构造器构造器说明BadInterval(@NotNull org.aya.util.error.SourcePos sourcePos, int integer) 创建BadInterval记录类的实例。 -
方法概要
修饰符和类型方法说明@NotNull org.aya.pretty.doc.Docdescribe(@NotNull org.aya.util.distill.DistillerOptions options) final boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。@NotNull org.aya.pretty.doc.Dochint(@NotNull org.aya.util.distill.DistillerOptions options) intinteger()返回integer记录组件的值。@NotNull org.aya.util.error.SourcePos返回sourcePos记录组件的值。final StringtoString()返回此记录类的字符串表示形式。从接口继承的方法 org.aya.util.reporter.Problem
brief, inlineHints, isError, toPrettyError
-
构造器详细资料
-
BadInterval
public BadInterval(@NotNull @NotNull org.aya.util.error.SourcePos sourcePos, int integer) 创建BadInterval记录类的实例。- 参数:
sourcePos-sourcePos记录组件的值integer-integer记录组件的值
-
-
方法详细资料
-
describe
@NotNull public @NotNull org.aya.pretty.doc.Doc describe(@NotNull @NotNull org.aya.util.distill.DistillerOptions options) - 指定者:
describe在接口中org.aya.util.reporter.Problem
-
hint
@NotNull public @NotNull org.aya.pretty.doc.Doc hint(@NotNull @NotNull org.aya.util.distill.DistillerOptions options) - 指定者:
hint在接口中org.aya.util.reporter.Problem
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 使用Objects::equals(Object,Object)对参考组件进行比较;使用 '==' 对基元组件进行比较 -
sourcePos
@NotNull public @NotNull org.aya.util.error.SourcePos sourcePos()返回sourcePos记录组件的值。- 指定者:
sourcePos在接口中org.aya.util.reporter.Problem- 返回:
sourcePos记录组件的值
-
integer
public int integer()返回integer记录组件的值。- 返回:
integer记录组件的值
-