Record Class BlockCallEntry
java.lang.Object
java.lang.Record
org.ek9lang.compiler.symbols.BlockCallEntry
- Record Components:
triggerToken- Location of the block statement for error reportingcallFqn- Fully qualified name of the function/constructor calledavailableTypes- Snapshot of registered types above this block statement
public record BlockCallEntry(IToken triggerToken, String callFqn, Set<String> availableTypes)
extends Record
Holds data about a block statement call within an application block.
Captured during Walk 1 (PreIRListener) and consumed during Phase 3
(transitive injection ordering validation) after the call graph is built.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockCallEntry(IToken triggerToken, String callFqn, Set<String> availableTypes) Create a BlockCallEntry with validation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theavailableTypesrecord component.callFqn()Returns the value of thecallFqnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thetriggerTokenrecord component.
-
Constructor Details
-
BlockCallEntry
-
-
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). -
triggerToken
Returns the value of thetriggerTokenrecord component.- Returns:
- the value of the
triggerTokenrecord component
-
callFqn
-
availableTypes
Returns the value of theavailableTypesrecord component.- Returns:
- the value of the
availableTypesrecord component
-