// *
// * Copyright (C) 2008 Roger Alsing : http://www.RogerAlsing.com
// *
// * This library is free software; you can redistribute it and/or modify it
// * under the terms of the GNU Lesser General Public License 2.1 or later, as
// * published by the Free Software Foundation. See the included license.txt
// * or http://www.gnu.org/copyleft/lesser.html for details.
// *
// *
namespace Alsing.SourceCode
{
///
///
///
public class Span
{
///
/// The owner spanDefinition
///
public SpanDefinition spanDefinition;
///
/// The depth of this span in the span hirarchy
///
public int Depth;
///
/// The row that the span ends on
///
public Row EndRow;
///
/// The word that ends this span
///
public Word EndWord;
///
/// Gets or Sets if this span is expanded
///
public bool Expanded = true;
///
/// The parent span
///
public Span Parent;
///
/// Gets or Sets what scope triggered this span
///
public Scope Scope;
///
/// The row on which the span starts
///
public Row StartRow;
///
/// The word that starts this span
///
public Word StartWord;
///
///
///
///
public Span(Row startrow)
{
StartRow = startrow;
}
///
///
///
public Span() {}
}
}