Record Class ScriptLanguageService.Analysis
java.lang.Object
java.lang.Record
de.gurkenlabs.litiengine.scripting.ScriptLanguageService.Analysis
- Enclosing interface:
ScriptLanguageService
public static record ScriptLanguageService.Analysis(List<ScriptDiagnostic> diagnostics, List<ScriptLanguageService.Symbol> symbols, List<ScriptLanguageService.SemanticToken> tokens)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAnalysis(List<ScriptDiagnostic> diagnostics, List<ScriptLanguageService.Symbol> symbols, List<ScriptLanguageService.SemanticToken> tokens) Creates an instance of aAnalysisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thediagnosticsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.symbols()Returns the value of thesymbolsrecord component.tokens()Returns the value of thetokensrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Analysis
public Analysis(List<ScriptDiagnostic> diagnostics, List<ScriptLanguageService.Symbol> symbols, List<ScriptLanguageService.SemanticToken> tokens) Creates an instance of aAnalysisrecord class.- Parameters:
diagnostics- the value for thediagnosticsrecord componentsymbols- the value for thesymbolsrecord componenttokens- the value for thetokensrecord 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). -
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-
symbols
Returns the value of thesymbolsrecord component.- Returns:
- the value of the
symbolsrecord component
-
tokens
Returns the value of thetokensrecord component.- Returns:
- the value of the
tokensrecord component
-