Base class for visitable expressions.
Inheritance Hierarchy
Assembly: Epic.Prelude
Declaration Syntax
C# |
[SerializableAttribute] public abstract class VisitableBase : IVisitable
Members
All Members | Constructors | Methods | |||
Member | Description | |
---|---|---|
VisitableBase()()()() |
Initializes a new instance of the VisitableBase class.
| |
Accept<(Of <<'(TResult>)>>)(IVisitor<(Of <<'(TResult>)>>), IVisitContext) |
Accept the specified visitor (double dispatch).
| |
AcceptMe<(Of <<'(TResult, TVisitable>)>>)(TVisitable, IVisitor<(Of <<'(TResult>)>>), IVisitContext) |
Utility method. You can implement Accept simply with "return AcceptMe(this, visitor, context);".
|
Exceptions
Exception | Condition |
---|---|
InvalidOperationException |
Is thrown when an operation cannot be performed.
|