Record Class SymbolAccessData
java.lang.Object
java.lang.Record
org.ek9lang.compiler.phase3.SymbolAccessData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefromScoperecord component.final inthashCode()Returns a hash code value for this object.inScope()Returns the value of theinScoperecord component.symbol()Returns the value of thesymbolrecord component.Returns the value of thesymbolNamerecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SymbolAccessData
Creates an instance of aSymbolAccessDatarecord class.- Parameters:
token- the value for thetokenrecord componentfromScope- the value for thefromScoperecord componentinScope- the value for theinScoperecord componentsymbolName- the value for thesymbolNamerecord componentsymbol- the value for thesymbolrecord 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). -
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
fromScope
Returns the value of thefromScoperecord component.- Returns:
- the value of the
fromScoperecord component
-
inScope
Returns the value of theinScoperecord component.- Returns:
- the value of the
inScoperecord component
-
symbolName
Returns the value of thesymbolNamerecord component.- Returns:
- the value of the
symbolNamerecord component
-
symbol
Returns the value of thesymbolrecord component.- Returns:
- the value of the
symbolrecord component
-