Package ch.so.agi.gretl.lsp.model
Record Class GretlDslCall
java.lang.Object
java.lang.Record
ch.so.agi.gretl.lsp.model.GretlDslCall
public record GretlDslCall(String name, DslCallStyle style, org.eclipse.lsp4j.Range nameRange, org.eclipse.lsp4j.Range fullRange, List<GretlArgument> arguments, String sourceText)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionGretlDslCall(String name, DslCallStyle style, org.eclipse.lsp4j.Range nameRange, org.eclipse.lsp4j.Range fullRange, List<GretlArgument> arguments, String sourceText) Creates an instance of aGretlDslCallrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theargumentsrecord component.final booleanIndicates whether some other object is "equal to" this one.org.eclipse.lsp4j.RangeReturns the value of thefullRangerecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.org.eclipse.lsp4j.RangeReturns the value of thenameRangerecord component.Returns the value of thesourceTextrecord component.style()Returns the value of thestylerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GretlDslCall
public GretlDslCall(String name, DslCallStyle style, org.eclipse.lsp4j.Range nameRange, org.eclipse.lsp4j.Range fullRange, List<GretlArgument> arguments, String sourceText) Creates an instance of aGretlDslCallrecord class.- Parameters:
name- the value for thenamerecord componentstyle- the value for thestylerecord componentnameRange- the value for thenameRangerecord componentfullRange- the value for thefullRangerecord componentarguments- the value for theargumentsrecord componentsourceText- the value for thesourceTextrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
style
Returns the value of thestylerecord component.- Returns:
- the value of the
stylerecord component
-
nameRange
public org.eclipse.lsp4j.Range nameRange()Returns the value of thenameRangerecord component.- Returns:
- the value of the
nameRangerecord component
-
fullRange
public org.eclipse.lsp4j.Range fullRange()Returns the value of thefullRangerecord component.- Returns:
- the value of the
fullRangerecord component
-
arguments
Returns the value of theargumentsrecord component.- Returns:
- the value of the
argumentsrecord component
-
sourceText
Returns the value of thesourceTextrecord component.- Returns:
- the value of the
sourceTextrecord component
-