java.lang.Object
java.lang.Record
org.aya.core.repr.ShapeMatcher
-
构造器概要
构造器构造器说明ShapeMatcher(@NotNull kala.collection.mutable.MutableLinkedList<DefVar<? extends Def, ? extends Decl.Telescopic>> def, @NotNull kala.collection.mutable.MutableMap<AnyVar, AnyVar> teleSubst) 创建ShapeMatcher记录类的实例。 -
方法概要
修饰符和类型方法说明@NotNull kala.collection.mutable.MutableLinkedList<DefVar<? extends Def,? extends Decl.Telescopic>> def()返回def记录组件的值。final boolean指示某个其他对象是否“等于”此对象。final inthashCode()返回此对象的哈希代码值。static booleanmatch(@NotNull CodeShape shape, @NotNull GenericDef def) 返回teleSubst记录组件的值。final StringtoString()返回此记录类的字符串表示形式。
-
构造器详细资料
-
ShapeMatcher
public ShapeMatcher(@NotNull @NotNull kala.collection.mutable.MutableLinkedList<DefVar<? extends Def, ? extends Decl.Telescopic>> def, @NotNull @NotNull kala.collection.mutable.MutableMap<AnyVar, AnyVar> teleSubst) 创建ShapeMatcher记录类的实例。- 参数:
def-def记录组件的值teleSubst-teleSubst记录组件的值
-
-
方法详细资料
-
match
-
toString
返回此记录类的字符串表示形式。此表示形式包含类的名称,后跟每个记录组件的名称和值。 -
hashCode
public final int hashCode()返回此对象的哈希代码值。此值派生自每个记录组件的哈希代码。 -
equals
指示某个其他对象是否“等于”此对象。如果两个对象属于同一个类,而且所有记录组件都相等,则这两个对象相等。 此记录类中的所有组件都使用Objects::equals(Object,Object)进行比较。 -
def
@NotNull public @NotNull kala.collection.mutable.MutableLinkedList<DefVar<? extends Def,? extends Decl.Telescopic>> def()返回def记录组件的值。- 返回:
def记录组件的值
-
teleSubst
返回teleSubst记录组件的值。- 返回:
teleSubst记录组件的值
-