Record Class EditContext.LocalRootData
java.lang.Object
java.lang.Record
io.github.douira.glsl_transformer.generic.EditContext.LocalRootData
- Enclosing class:
- EditContext
public static record EditContext.LocalRootData(CachingIntervalSet omissionSet, org.antlr.v4.runtime.BufferedTokenStream tokenStream)
extends Record
A local root data record contains the omission set and token stream of a
registered local root.
-
Constructor Summary
ConstructorsConstructorDescriptionLocalRootData(CachingIntervalSet omissionSet, org.antlr.v4.runtime.BufferedTokenStream tokenStream) Creates an instance of aLocalRootDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theomissionSetrecord component.org.antlr.v4.runtime.BufferedTokenStreamReturns the value of thetokenStreamrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LocalRootData
public LocalRootData(CachingIntervalSet omissionSet, org.antlr.v4.runtime.BufferedTokenStream tokenStream) Creates an instance of aLocalRootDatarecord class.- Parameters:
omissionSet- the value for theomissionSetrecord componenttokenStream- the value for thetokenStreamrecord 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). -
omissionSet
Returns the value of theomissionSetrecord component.- Returns:
- the value of the
omissionSetrecord component
-
tokenStream
public org.antlr.v4.runtime.BufferedTokenStream tokenStream()Returns the value of thetokenStreamrecord component.- Returns:
- the value of the
tokenStreamrecord component
-