|
using System;
namespace Compona.SourceCode
{
/// <summary>
/// The Scope class defines what patterns starts and ends a BlockType
/// </summary>
public sealed class Scope
{
/// <summary>
/// The Start trigger Pattern
/// </summary>
public Pattern Start =null;
/// <summary>
/// BlockType that should be started directly after this block have started
/// </summary>
public BlockType SpawnBlockOnStart=null;
/// <summary>
/// BlockType that should be started directly after this block have ended
/// </summary>
public BlockType SpawnBlockOnEnd=null;
/// <summary>
/// The owner BlockType
/// </summary>
public BlockType Parent=null;
/// <summary>
/// List of end patterns
/// </summary>
public PatternCollection EndPatterns=new PatternCollection ();
/// <summary>
/// The style that should be applied to the start and end patterns
/// </summary>
public TextStyle Style =null;
/// <summary>
/// The text that should be displayed if the owner block is collapsed
/// </summary>
public string ExpansionText="";
/// <summary>
/// Gets or Sets if this block should be expanded or collapsed by default
/// </summary>
public bool DefaultExpanded=true;
/// <summary>
/// Gets or Sets if the scope patterns is case sensitive
/// </summary>
public bool CaseSensitive =false;
/// <summary>
/// Gets or Sets if the scope patterns should be case normalized
/// </summary>
public bool NormalizeCase =true;
public bool CauseIndent=false;
/// <summary>
///
/// </summary>
public Scope()
{
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I discovered C# and .NET 1.0 Beta 1 in late 2000 and loved them immediately.
I have been writing software professionally in C# ever since
In real life, I have spent 3 years travelling abroad,
I have held a UK Private Pilots Licence for 20 years,
and I am a PADI Divemaster.
I now live near idyllic Bournemouth in England.
I can work 'virtually' anywhere!