Package com.j3d.jaiva.packs.getters
Record Class GettersPack.CallProperties
java.lang.Object
java.lang.Record
com.j3d.jaiva.packs.getters.GettersPack.CallProperties
- Enclosing class:
GettersPack
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.jaiva.tokenizer.tokens.specific.TFuncCallThe field for thecallrecord component.private final com.jaiva.interpreter.runtime.IConfig<Object> The field for theconfigrecord component.private final com.jaiva.interpreter.ScopeThe field for thescoperecord component. -
Constructor Summary
ConstructorsConstructorDescriptionCallProperties(com.jaiva.tokenizer.tokens.specific.TFuncCall call, com.jaiva.interpreter.Scope scope, com.jaiva.interpreter.runtime.IConfig<Object> config) Creates an instance of aCallPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncom.jaiva.tokenizer.tokens.specific.TFuncCallcall()Returns the value of thecallrecord component.com.jaiva.interpreter.runtime.IConfig<Object> config()Returns the value of theconfigrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.jaiva.interpreter.Scopescope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
call
private final com.jaiva.tokenizer.tokens.specific.TFuncCall callThe field for thecallrecord component. -
scope
private final com.jaiva.interpreter.Scope scopeThe field for thescoperecord component. -
config
The field for theconfigrecord component.
-
-
Constructor Details
-
CallProperties
public CallProperties(com.jaiva.tokenizer.tokens.specific.TFuncCall call, com.jaiva.interpreter.Scope scope, com.jaiva.interpreter.runtime.IConfig<Object> config) Creates an instance of aCallPropertiesrecord class.- Parameters:
call- the value for thecallrecord componentscope- the value for thescoperecord componentconfig- the value for theconfigrecord component
-
-
Method Details
-
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). -
call
public com.jaiva.tokenizer.tokens.specific.TFuncCall call()Returns the value of thecallrecord component.- Returns:
- the value of the
callrecord component
-
scope
public com.jaiva.interpreter.Scope scope()Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
config
Returns the value of theconfigrecord component.- Returns:
- the value of the
configrecord component
-