Ejemplo n.º 1
0
        //done
        private BlockType GetBlock(string Name)
        {
            if (mBlocks[Name] == null)
            {
                GuruComponents.CodeEditor.CodeEditor.Syntax.BlockType b = new GuruComponents.CodeEditor.CodeEditor.Syntax.BlockType(mLanguage);
                mBlocks.Add(Name, b);
            }

            return((BlockType)mBlocks[Name]);
        }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="parent"></param>
 public ScopeCollection(BlockType parent)
 {
     Parent = parent;
 }