orc.error
Interface Locatable
- All Superinterfaces:
- Debuggable
- All Known Implementing Classes:
- Arg, Argument, ArgumentTypeMismatchException, ArityMismatchException, AsPattern, Assign, Bar, Call, Call, Call, Call, CallPattern, ConsExpr, ConsPattern, Constant, Constant, Declare, Defs, Defs, Defs, Dot, Expr, Expression, Expression, Field, Field, Field, Fork, InsufficientArgsException, JavaException, Lambda, Let, Let, Let, ListExpr, ListPattern, Literal, LiteralPattern, MessageNotUnderstoodException, MethodTypeMismatchException, Name, NamedVar, NilExpr, NilPattern, Node, Parallel, Parallel, Pattern, PrintResult, Pub, PublishPattern, Pull, Push, QueueResult, Result, Return, RuntimeTypeException, Semi, Semi, Semi, Semi, Sequential, Sequential, Silent, Silent, Silent, Silent, Site, Site, SiteException, Store, Subgoal, TokenException, Tuple, TuplePattern, UncallableValueException, Unwind, Var, Var, VariablePattern, Where, Where, WildcardPattern, WriteResult
public interface Locatable
- extends Debuggable
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)