Record Class ScriptLanguageService.SemanticToken
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.SemanticToken
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.SemanticToken(ScriptLanguageService.Range range, String type, List<String> modifiers)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSemanticToken(ScriptLanguageService.Range range, String type, List<String> modifiers) Creates an instance of aSemanticTokenrecord 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.Returns the value of themodifiersrecord component.range()Returns the value of therangerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
SemanticToken
Creates an instance of aSemanticTokenrecord class.- Parameters:
range- the value for therangerecord componenttype- the value for thetyperecord componentmodifiers- the value for themodifiersrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
range
Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
modifiers
-