模块 aya.base

记录类 AyaSccTycker

java.lang.Object
java.lang.Record
org.aya.tyck.order.AyaSccTycker
记录组件:
tyckerReuse - headers and bodies should be checked using the same tycker.
所有已实现的接口:
org.aya.util.tyck.SCCTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed>

public record AyaSccTycker(@NotNull StmtTycker tycker, @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull ResolveInfo resolveInfo, @NotNull kala.collection.mutable.MutableList<@NotNull GenericDef> wellTyped, @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,ExprTycker> tyckerReuse, @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,org.aya.util.reporter.CollectingReporter> sampleReporters) extends Record implements org.aya.util.tyck.SCCTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed>
Tyck statements in SCC.
另请参阅:
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    static class 
     
  • 构造器概要

    构造器
    构造器
    说明
    AyaSccTycker(@NotNull StmtTycker tycker, @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull ResolveInfo resolveInfo, @NotNull kala.collection.mutable.MutableList<@NotNull GenericDef> wellTyped, @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,ExprTycker> tyckerReuse, @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,org.aya.util.reporter.CollectingReporter> sampleReporters)
    创建 AyaSccTycker 记录类的实例。
  • 方法概要

    修饰符和类型
    方法
    说明
    static @NotNull AyaSccTycker
    create(ResolveInfo resolveInfo, Trace.Builder builder, @NotNull org.aya.util.reporter.Reporter outReporter)
     
    final boolean
    指示某个其他对象是否“等于”此对象。
    final int
    返回此对象的哈希代码值。
    @NotNull kala.collection.immutable.ImmutableSeq<TyckUnit>
    headerOrder(@NotNull kala.collection.immutable.ImmutableSeq<TyckOrder> forError, @NotNull kala.collection.immutable.ImmutableSeq<TyckUnit> stmts)
    Generate the order of dependency of headers, fail if a cycle occurs.
    @NotNull org.aya.util.reporter.CountingReporter
    返回 reporter 记录组件的值。
    @NotNull ResolveInfo
    返回 resolveInfo 记录组件的值。
    @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,org.aya.util.reporter.CollectingReporter>
    返回 sampleReporters 记录组件的值。
    final String
    返回此记录类的字符串表示形式。
    @NotNull StmtTycker
    返回 tycker 记录组件的值。
    @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,ExprTycker>
    返回 tyckerReuse 记录组件的值。
    @NotNull kala.collection.immutable.ImmutableSeq<TyckOrder>
    tyckSCC(@NotNull kala.collection.immutable.ImmutableSeq<TyckOrder> scc)
     
    @NotNull kala.collection.mutable.MutableList<@NotNull GenericDef>
    返回 wellTyped 记录组件的值。

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • AyaSccTycker

      public AyaSccTycker(@NotNull @NotNull StmtTycker tycker, @NotNull @NotNull org.aya.util.reporter.CountingReporter reporter, @NotNull @NotNull ResolveInfo resolveInfo, @NotNull @NotNull kala.collection.mutable.MutableList<@NotNull GenericDef> wellTyped, @NotNull @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,ExprTycker> tyckerReuse, @NotNull @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,org.aya.util.reporter.CollectingReporter> sampleReporters)
      创建 AyaSccTycker 记录类的实例。
      参数:
      tycker - tycker 记录组件的值
      reporter - reporter 记录组件的值
      resolveInfo - resolveInfo 记录组件的值
      wellTyped - wellTyped 记录组件的值
      tyckerReuse - tyckerReuse 记录组件的值
      sampleReporters - sampleReporters 记录组件的值
  • 方法详细资料

    • create

      @NotNull public static @NotNull AyaSccTycker create(ResolveInfo resolveInfo, @Nullable Trace.Builder builder, @NotNull @NotNull org.aya.util.reporter.Reporter outReporter)
    • tyckSCC

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<TyckOrder> tyckSCC(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<TyckOrder> scc)
      指定者:
      tyckSCC 在接口中 org.aya.util.tyck.SCCTycker<TyckOrder,AyaSccTycker.SCCTyckingFailed>
    • headerOrder

      @NotNull public @NotNull kala.collection.immutable.ImmutableSeq<TyckUnit> headerOrder(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<TyckOrder> forError, @NotNull @NotNull kala.collection.immutable.ImmutableSeq<TyckUnit> stmts)
      Generate the order of dependency of headers, fail if a cycle occurs.
    • toString

      public final String toString()
      返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。
      指定者:
      toString 在类中 Record
      返回:
      此对象的字符串表示形式
    • hashCode

      public final int hashCode()
      返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。
      指定者:
      hashCode 在类中 Record
      返回:
      此对象的哈希代码值
    • equals

      public final boolean equals(Object o)
      指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用 Objects::equals(Object,Object) 进行比较。
      指定者:
      equals 在类中 Record
      参数:
      o - 要与之进行比较的对象
      返回:
      如果此对象与 o 参数相同,则为 true;否则为 false
    • tycker

      @NotNull public @NotNull StmtTycker tycker()
      返回 tycker 记录组件的值。
      返回:
      tycker 记录组件的值
    • reporter

      @NotNull public @NotNull org.aya.util.reporter.CountingReporter reporter()
      返回 reporter 记录组件的值。
      返回:
      reporter 记录组件的值
    • resolveInfo

      @NotNull public @NotNull ResolveInfo resolveInfo()
      返回 resolveInfo 记录组件的值。
      返回:
      resolveInfo 记录组件的值
    • wellTyped

      @NotNull public @NotNull kala.collection.mutable.MutableList<@NotNull GenericDef> wellTyped()
      返回 wellTyped 记录组件的值。
      返回:
      wellTyped 记录组件的值
    • tyckerReuse

      @NotNull public @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,ExprTycker> tyckerReuse()
      返回 tyckerReuse 记录组件的值。
      返回:
      tyckerReuse 记录组件的值
    • sampleReporters

      @NotNull public @NotNull kala.collection.mutable.MutableMap<Decl.TopLevel,org.aya.util.reporter.CollectingReporter> sampleReporters()
      返回 sampleReporters 记录组件的值。
      返回:
      sampleReporters 记录组件的值