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 SummaryConstructorsConstructorDescriptionAxiomQuerySource(AxiomQueryParser.RootContext root, @NotNull org.antlr.v4.runtime.atn.ATN atn, List<AxiomQueryError> syntaxErrors) Creates an instance of aAxiomQuerySourcerecord class.
- 
Method SummaryModifier 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- 
AxiomQuerySourcepublic 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 the- rootrecord component
- atn- the value for the- atnrecord component
- syntaxErrors- the value for the- syntaxErrorsrecord component
 
 
- 
- 
Method Details- 
from
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
rootReturns 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
 
- 
syntaxErrorsReturns the value of thesyntaxErrorsrecord component.- Returns:
- the value of the syntaxErrorsrecord component
 
 
-