Record Class VanSignalGen.ScriptAnalysis
java.lang.Object
java.lang.Record
dev.vanengine.core.compile.VanSignalGen.ScriptAnalysis
- Enclosing class:
VanSignalGen
public static record VanSignalGen.ScriptAnalysis(List<VanSignalGen.SignalDecl> signals, List<VanSignalGen.ComputedDecl> computeds, List<VanSignalGen.FunctionDecl> functions, List<VanSignalGen.WatchDecl> watches, List<VanSignalGen.WatchEffectDecl> watchEffects, List<VanSignalGen.ReactiveDecl> reactives, List<VanSignalGen.LifecycleDecl> lifecycles, boolean hasEmit)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionScriptAnalysis(List<VanSignalGen.SignalDecl> signals, List<VanSignalGen.ComputedDecl> computeds, List<VanSignalGen.FunctionDecl> functions, List<VanSignalGen.WatchDecl> watches, List<VanSignalGen.WatchEffectDecl> watchEffects, List<VanSignalGen.ReactiveDecl> reactives, List<VanSignalGen.LifecycleDecl> lifecycles, boolean hasEmit) Creates an instance of aScriptAnalysisrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecomputedsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionsrecord component.booleanhasEmit()Returns the value of thehasEmitrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelifecyclesrecord component.Returns the value of thereactivesrecord component.signals()Returns the value of thesignalsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewatchEffectsrecord component.watches()Returns the value of thewatchesrecord component.
-
Constructor Details
-
ScriptAnalysis
public ScriptAnalysis(List<VanSignalGen.SignalDecl> signals, List<VanSignalGen.ComputedDecl> computeds, List<VanSignalGen.FunctionDecl> functions, List<VanSignalGen.WatchDecl> watches, List<VanSignalGen.WatchEffectDecl> watchEffects, List<VanSignalGen.ReactiveDecl> reactives, List<VanSignalGen.LifecycleDecl> lifecycles, boolean hasEmit) Creates an instance of aScriptAnalysisrecord class.- Parameters:
signals- the value for thesignalsrecord componentcomputeds- the value for thecomputedsrecord componentfunctions- the value for thefunctionsrecord componentwatches- the value for thewatchesrecord componentwatchEffects- the value for thewatchEffectsrecord componentreactives- the value for thereactivesrecord componentlifecycles- the value for thelifecyclesrecord componenthasEmit- the value for thehasEmitrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
signals
Returns the value of thesignalsrecord component.- Returns:
- the value of the
signalsrecord component
-
computeds
Returns the value of thecomputedsrecord component.- Returns:
- the value of the
computedsrecord component
-
functions
Returns the value of thefunctionsrecord component.- Returns:
- the value of the
functionsrecord component
-
watches
Returns the value of thewatchesrecord component.- Returns:
- the value of the
watchesrecord component
-
watchEffects
Returns the value of thewatchEffectsrecord component.- Returns:
- the value of the
watchEffectsrecord component
-
reactives
Returns the value of thereactivesrecord component.- Returns:
- the value of the
reactivesrecord component
-
lifecycles
Returns the value of thelifecyclesrecord component.- Returns:
- the value of the
lifecyclesrecord component
-
hasEmit
public boolean hasEmit()Returns the value of thehasEmitrecord component.- Returns:
- the value of the
hasEmitrecord component
-