23 lines
570 B
C#
23 lines
570 B
C#
using System.Collections.Generic;
|
|
using Upsilon.Text;
|
|
|
|
namespace Upsilon.Binder
|
|
{
|
|
public class BoundBreakStatement : BoundStatement
|
|
{
|
|
public BoundBreakStatement(TextSpan span) : base(span)
|
|
{
|
|
}
|
|
|
|
public override BoundKind Kind => BoundKind.BoundBreakStatement;
|
|
public override IEnumerable<BoundNode> GetNodeAtPosition(int linePosition, int characterPosition)
|
|
{
|
|
yield return this;
|
|
}
|
|
|
|
public override IEnumerable<BoundNode> GetChildren()
|
|
{
|
|
yield break;
|
|
}
|
|
}
|
|
} |