Interface Locatable

All Known Subinterfaces:
Traceable, TraceableComponent
All Known Implementing Classes:
AccumulatorRule, AdjacentTextNodeMerger, AnalyzeString, AncestorQualifiedPattern, AnchorPattern, AndExpression, ApplyImports, ApplyNextMatchingTemplate, ApplyTemplates, ArithmeticExpression, ArithmeticExpression10, ArrayInstr, Assign, Assignation, AtomicSequenceConverter, Atomizer, AttributeCreator, AttributeGetter, AxisExpression, BasePatternWithPredicate, BasicUpdatingExpression, BinaryExpression, Block, BooleanExpression, BooleanExpressionPattern, BreakInstr, CallTemplate, CardinalityChecker, CastableExpression, CastExpression, CastingExpression, Choose, ClauseInfo, Comment, CompareToConstant, CompareToIntegerConstant, CompareToStringConstant, ComponentTracer, ComputedAttribute, ComputedElement, ConditionalBlock, ConditionalSorter, ConsumingOperand, ContextItemExpression, Copy, CopyModifyExpression, CopyOf, CurrentGroupCall, CurrentGroupingKeyCall, CurrentGroupPattern, CurrentItemExpression, DeepUpdate, DefaultedArgumentExpression, DefaultedArgumentExpression.DefaultCollationArgument, DeleteExpression, Doctype, DocumentInstr, DocumentSorter, DoInstr, DynamicFunctionCall, EagerLetExpression, ElementCreator, EmptyTextNodeRemover, ErrorExpression, EvaluateInstr, ExceptPattern, Expression, FilterExpression, FirstItemExpression, FixedAttribute, FixedElement, FLWORExpression, ForEach, ForEachGroup, ForExpression, Fork, FunctionCall, FunctionLiteral, FunctionSequenceCoercer, GeneralComparison, GeneralComparison10, GeneralComparison20, GeneralEqualityEE, GeneralNodePattern, GeneralPositionalPattern, GlobalParam, GlobalVariable, GlobalVariableReference, HomogeneityChecker, IdentityComparison, IndexedFilterExpression, InsertExpression, InstanceOfExpression, Instruction, IntegerRangeTest, IntegratedFunctionCall, IntersectPattern, IsLastExpression, ItemChecker, ItemTypePattern, IterateInstr, JavaExtensionFunctionCall, JavaExtensionLibrary.UnresolvedExtensionFunctionCall, JAXPVariableReference, LastItemExpression, LetExpression, Literal, LocalParam, LocalParamBlock, LocalVariableReference, LookupAllExpression, LookupExpression, MemoFunction, MergeInstr, MessageInstr, MultithreadedForEach, NamedTemplate, NamespaceConstructor, NegateExpression, NextIteration, NextMatch, NodeSetPattern, NodeTestPattern, NumberInstruction, NumberSequenceFormatter, ObjectLookupExpression, OnEmptyExpr, OnNonEmptyExpr, OrExpression, OuterForExpression, ParentNodeConstructor, PartialApply, Pattern, PatternThatSetsCurrent, ProcessingInstruction, PseudoExpression, QuantifiedExpression, RangeExpression, RenameExpression, ReplaceNodeExpression, ReplaceValueExpression, ResultDocument, RootExpression, SequenceInstr, SimpleExpression, SimpleNodeConstructor, SimplePositionalPattern, SimpleStepExpression, SingleItemFilter, SingletonAtomizer, SingletonIntersectExpression, SlashExpression, SortExpression, SortKeyDefinition, SortKeyDefinitionList, SourceDocument, SQLConnect.ConnectInstruction, SquareArrayConstructor, StaticFunctionCall, StreamableUserFunction, StreamingFunctionArgumentPattern, StreamInstr, StringLiteral, SubscriptExpression, SuppliedParameterReference, SwitchCaseComparison, SwitchExpression, SystemFunctionCall, SystemFunctionCall.Optimized, TabulateMaps, TailCallLoop, TailExpression, TemplateRule, TemplateRuleEE, Trace, TraceExpression, TryCatch, TupleExpression, UnaryExpression, UndeclaredVariable, UnionPattern, UniversalPattern, UntypedSequenceConverter, UseAttributeSet, UserFunction, UserFunctionCall, UserFunctionReference, ValueComparison, ValueOf, VariableReference, VennExpression, VennPattern, WherePopulated, While, XPathFunctionCall, XQueryExpression, XQueryExpressionEE

public interface Locatable
Represents a construct that has a meaningful location for use in diagnostics
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the location of the construct
  • Method Details

    • getLocation

      Location getLocation()
      Get the location of the construct
      Returns:
      the location. If no location information is available, the method should return Loc.NONE rather than returning null. However, callers would be well advised to check for the result being null.