java.lang.Object
java.lang.Record
org.aya.resolve.StmtResolvers
-
Constructor Summary
ConstructorsConstructorDescriptionStmtResolvers(@NotNull ModuleLoader loader, @NotNull ResolveInfo info) Creates an instance of aStmtResolversrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@NotNull ResolveInfoinfo()Returns the value of theinforecord component.@NotNull ModuleLoaderloader()Returns the value of theloaderrecord component.voidresolve(@NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.concrete.stmt.Stmt> stmts) Resolve file levelStmtsfinal StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StmtResolvers
Creates an instance of aStmtResolversrecord class.- Parameters:
loader- the value for theloaderrecord componentinfo- the value for theinforecord component
-
-
Method Details
-
resolve
public void resolve(@NotNull @NotNull kala.collection.immutable.ImmutableSeq<org.aya.syntax.concrete.stmt.Stmt> stmts) Resolve file levelStmts -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
loader
Returns the value of theloaderrecord component.- Returns:
- the value of the
loaderrecord component
-
info
Returns the value of theinforecord component.- Returns:
- the value of the
inforecord component
-