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
ConstructorsConstructorDescriptionAxiomQuerySource(AxiomQueryParser.RootContext root, @NotNull org.antlr.v4.runtime.atn.ATN atn, List<AxiomQueryError> syntaxErrors) Creates an instance of aAxiomQuerySourcerecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull org.antlr.v4.runtime.atn.ATNatn()Returns the value of theatnrecord component.final booleanIndicates whether some other object is "equal to" this one.static AxiomQuerySourcefinal inthashCode()Returns a hash code value for this object.root()Returns the value of therootrecord component.Returns the value of thesyntaxErrorsrecord component.final StringtoString()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 aAxiomQuerySourcerecord class.- Parameters:
root- the value for therootrecord componentatn- the value for theatnrecord componentsyntaxErrors- the value for thesyntaxErrorsrecord 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 therootrecord component.- Returns:
- the value of the
rootrecord component
-
atn
@NotNull public @NotNull org.antlr.v4.runtime.atn.ATN atn()Returns the value of theatnrecord component.- Returns:
- the value of the
atnrecord component
-
syntaxErrors
Returns the value of thesyntaxErrorsrecord component.- Returns:
- the value of the
syntaxErrorsrecord component
-