2019-02-13 17:10:39 +00:00
|
|
|
using System.Collections;
|
2019-02-13 15:29:58 +00:00
|
|
|
using Upsilon.Evaluator;
|
2018-11-25 18:30:18 +00:00
|
|
|
using Upsilon.Text;
|
|
|
|
|
2018-11-12 15:21:59 +00:00
|
|
|
namespace Upsilon.Binder
|
|
|
|
{
|
|
|
|
public abstract class BoundStatement : BoundNode
|
|
|
|
{
|
2018-11-25 18:30:18 +00:00
|
|
|
protected BoundStatement(TextSpan span) : base(span)
|
|
|
|
{
|
|
|
|
}
|
2018-12-11 17:31:54 +00:00
|
|
|
|
|
|
|
internal bool HasBreakpoint { get; set; }
|
2019-02-13 15:29:58 +00:00
|
|
|
|
|
|
|
internal abstract void Evaluate(EvaluationScope scope, Diagnostics diagnostics, ref EvaluationState state);
|
2019-02-13 17:10:39 +00:00
|
|
|
|
|
|
|
internal abstract IEnumerator EvaluateCoroutine(EvaluationScope scope, Diagnostics diagnostics,
|
|
|
|
EvaluationState state);
|
2018-11-12 15:21:59 +00:00
|
|
|
}
|
|
|
|
}
|