- All Known Subinterfaces:
AlbumType,AnyType,BooleanType,CollectionType,DoubleType,EntityType,FunctionType,ImportAliasType,IntType,JavaType,ListType,SongType,StaticEntityType,StringType,WeightsType
Internal types for Qilletni programs.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the type class of the current QilletniType instance.minusOperator(QilletniType qilletniType) Performs a subtraction operation between the current instance of a QilletniType and the provided QilletniType, returning the new value.voidminusOperatorInPlace(QilletniType qilletniType) Performs a subtraction operation between the current instance of a QilletniType and the provided QilletniType.plusOperator(QilletniType qilletniType) Performs an addition operation on the current instance of a QilletniType and the specified QilletniType, returning the new value.voidplusOperatorInPlace(QilletniType qilletniType) Performs an addition operation on the current instance of a QilletniType and the specified QilletniType.default booleanqilletniEquals(QilletniType qilletniType) Compares the current QilletniType with another QilletniType to determine equality.Provides the string representation of the Qilletni type, used when the type is printed via Qilletni.default StringtypeName()Retrieves the type name of the current QilletniType instance.
-
Method Details
-
stringValue
String stringValue()Provides the string representation of the Qilletni type, used when the type is printed via Qilletni.- Returns:
- A string representing the type
-
qilletniEquals
Compares the current QilletniType with another QilletniType to determine equality.- Parameters:
qilletniType- The QilletniType to compare against the current instance.- Returns:
- A boolean indicating whether the two QilletniType instances are considered equal.
-
plusOperator
Performs an addition operation on the current instance of a QilletniType and the specified QilletniType, returning the new value.- Parameters:
qilletniType- The other QilletniType used in the addition operation.- Returns:
- A new QilletniType representing the result of the addition operation.
-
plusOperatorInPlace
Performs an addition operation on the current instance of a QilletniType and the specified QilletniType. This QilletniType instance is mutated to reflect the result, unlikeplusOperator(QilletniType).- Parameters:
qilletniType- The other QilletniType used in the addition operation.
-
minusOperator
Performs a subtraction operation between the current instance of a QilletniType and the provided QilletniType, returning the new value.- Parameters:
qilletniType- The other QilletniType used in the subtraction operation.- Returns:
- A new QilletniType representing the result of the subtraction operation.
-
minusOperatorInPlace
Performs a subtraction operation between the current instance of a QilletniType and the provided QilletniType. This QilletniType instance is mutated to reflect the result, unlikeminusOperator(QilletniType).- Parameters:
qilletniType- The other QilletniType used in the subtraction operation.
-
typeName
Retrieves the type name of the current QilletniType instance. If an Entity, it will return the name of the Entity.- Returns:
- The type name as a string, representing the type of the QilletniType instance
-
getTypeClass
QilletniTypeClass<?> getTypeClass()Retrieves the type class of the current QilletniType instance. The type class provides additional information about the internal classification of the instance.- Returns:
- The corresponding
QilletniTypeClassof the current QilletniType instance
-