orc.error
Interface Locatable
- All Superinterfaces:
- Located
- All Known Subinterfaces:
- TokenTracer
- All Known Implementing Classes:
- AfterEvent, Argument, ArgumentArityException, ArgumentTypeMismatchException, ArityMismatchException, AsPattern, BeforeEvent, BlockEvent, Call, CallPattern, CapabilityException, ChokeEvent, ClassDeclaration, CompilationException, ConsExpr, ConsPattern, Constant, DatatypeDeclaration, Declaration, Declare, DefsDeclaration, DerivedTracer.DerivedTokenTracer, DieEvent, Dot, ErrorEvent, Event, Expression, Field, Field, ForkEvent, FreeEvent, IfThenElse, InsufficientArgsException, JavaException, Lambda, Let, ListExpr, ListPattern, Literal, LiteralPattern, MessageNotUnderstoodException, MethodTypeMismatchException, MissingTypeException, Name, NamedVar, NilExpr, NilPattern, NonlinearPatternException, Parallel, ParsingException, Pattern, PatternException, PrintEvent, PublishEvent, PublishPattern, PullEvent, ReceiveEvent, RootEvent, RuntimeTypeException, Semi, SendEvent, Sequential, Silent, Site, SiteDeclaration, SiteException, SiteResolutionException, StackLimitReachedError, StoreEvent, SubtypeFailureException, Token, TokenError, TokenException, TokenLimitReachedError, TuplePattern, TypeDeclaration, TypeException, UnblockEvent, UnboundVariableException, UncallableTypeException, UncallableValueException, ValDeclaration, Var, VariablePattern, Where, WildcardPattern
public interface Locatable
- extends Located
Interface representing entities whose source location can be
assigned, not just observed. Typically used when an entity has
a source location associated with it, but that location cannot
be determined at the point where the entity is created, and
so is assigned later (cf TokenException).
- Author:
- dkitchin
setSourceLocation
void setSourceLocation(SourceLocation location)