Record Class ExpressionParser.Methods
java.lang.Object
java.lang.Record
org.cyclops.integrateddynamics.core.evaluate.expression.tree.ExpressionParser.Methods
- Record Components:
receiverType- The type of the value that the methods are called on.start- Where the name of the method starts.prefix- What is typed of the name, up to the cursor.
- Enclosing class:
ExpressionParser
public static record ExpressionParser.Methods(IValueType<?> receiverType, int start, String prefix)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMethods(IValueType<?> receiverType, int start, String prefix) Creates an instance of aMethodsrecord 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.prefix()Returns the value of theprefixrecord component.IValueType<?> Returns the value of thereceiverTyperecord component.intstart()Returns the value of thestartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Methods
Creates an instance of aMethodsrecord class.- Parameters:
receiverType- the value for thereceiverTyperecord componentstart- the value for thestartrecord componentprefix- the value for theprefixrecord component
-
-
Method Details
-
toString
-
hashCode
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
receiverType
Returns the value of thereceiverTyperecord component.- Returns:
- the value of the
receiverTyperecord component
-
start
-
prefix
-