Package com.evolveum.axiom.lang.antlr
Record Class AxiomQuerySource
java.lang.Object
java.lang.Record
com.evolveum.axiom.lang.antlr.AxiomQuerySource
public record AxiomQuerySource(AxiomQueryParser.RootContext root, @NotNull org.antlr.v4.runtime.atn.ATN atn, List<AxiomQueryError> syntaxErrors)
extends Record
-
Constructor Summary
ConstructorDescriptionAxiomQuerySource
(AxiomQueryParser.RootContext root, @NotNull org.antlr.v4.runtime.atn.ATN atn, List<AxiomQueryError> syntaxErrors) Creates an instance of aAxiomQuerySource
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull org.antlr.v4.runtime.atn.ATN
atn()
Returns the value of theatn
record component.final boolean
Indicates whether some other object is "equal to" this one.static AxiomQuerySource
final int
hashCode()
Returns a hash code value for this object.root()
Returns the value of theroot
record component.Returns the value of thesyntaxErrors
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AxiomQuerySource
public AxiomQuerySource(@NotNull AxiomQueryParser.RootContext root, @NotNull @NotNull org.antlr.v4.runtime.atn.ATN atn, List<AxiomQueryError> syntaxErrors) Creates an instance of aAxiomQuerySource
record class.- Parameters:
root
- the value for theroot
record componentatn
- the value for theatn
record componentsyntaxErrors
- the value for thesyntaxErrors
record component
-
-
Method Details
-
from
-
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)
. -
root
Returns the value of theroot
record component.- Returns:
- the value of the
root
record component
-
atn
@NotNull public @NotNull org.antlr.v4.runtime.atn.ATN atn()Returns the value of theatn
record component.- Returns:
- the value of the
atn
record component
-
syntaxErrors
Returns the value of thesyntaxErrors
record component.- Returns:
- the value of the
syntaxErrors
record component
-