Record Class ScriptLanguageService.Hover
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.Hover
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.Hover(String markdown, ScriptLanguageService.Range range)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionHover(String markdown, ScriptLanguageService.Range range) Creates an instance of aHoverrecord 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.markdown()Returns the value of themarkdownrecord component.range()Returns the value of therangerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Hover
Creates an instance of aHoverrecord class.- Parameters:
markdown- the value for themarkdownrecord componentrange- the value for therangerecord 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). -
markdown
Returns the value of themarkdownrecord component.- Returns:
- the value of the
markdownrecord component
-
range
Returns the value of therangerecord component.- Returns:
- the value of the
rangerecord component
-