Package net.hollowcube.mql.tree
Record Class MqlCallExpr
java.lang.Object
java.lang.Record
net.hollowcube.mql.tree.MqlCallExpr
- All Implemented Interfaces:
MqlExpr
public record MqlCallExpr(@NotNull MqlAccessExpr access, @NotNull MqlArgListExpr argList)
extends Record
implements MqlExpr
-
Constructor Summary
ConstructorsConstructorDescriptionMqlCallExpr(@NotNull MqlAccessExpr access, @NotNull MqlArgListExpr argList) Creates an instance of aMqlCallExprrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull MqlAccessExpraccess()Returns the value of theaccessrecord component.@NotNull MqlArgListExprargList()Returns the value of theargListrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.<P,R> R visit(@NotNull MqlVisitor<P, R> visitor, P p)
-
Constructor Details
-
MqlCallExpr
public MqlCallExpr(@NotNull @NotNull MqlAccessExpr access, @NotNull @NotNull MqlArgListExpr argList) Creates an instance of aMqlCallExprrecord class.- Parameters:
access- the value for theaccessrecord componentargList- the value for theargListrecord component
-
-
Method Details
-
evaluate
-
visit
-
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). -
access
Returns the value of theaccessrecord component.- Returns:
- the value of the
accessrecord component
-
argList
Returns the value of theargListrecord component.- Returns:
- the value of the
argListrecord component
-