Record Class ExpressionParser.Completion
java.lang.Object
java.lang.Record
org.cyclops.integrateddynamics.core.evaluate.expression.tree.ExpressionParser.Completion
- Record Components:
methods- The methods that can be called on the value before a point right before the cursor, or null.call- The innermost call whose brackets are open at the cursor, or null.types- The type being typed at the cursor, or null.
- Enclosing class:
ExpressionParser
public static record ExpressionParser.Completion(@Nullable ExpressionParser.Methods methods, @Nullable ExpressionParser.Call call, @Nullable ExpressionParser.Types types)
extends Record
What can be completed at a cursor.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompletion(ExpressionParser.Methods methods, ExpressionParser.Call call, ExpressionParser.Types types) Creates an instance of aCompletionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncall()Returns the value of thecallrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.methods()Returns the value of themethodsrecord component.final StringtoString()Returns a string representation of this record class.types()Returns the value of thetypesrecord component.
-
Field Details
-
NONE
-
-
Constructor Details
-
Completion
public Completion(@Nullable ExpressionParser.Methods methods, @Nullable ExpressionParser.Call call, @Nullable ExpressionParser.Types types) Creates an instance of aCompletionrecord class.
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
methods
-
call
-
types
-