You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
686 B
31 lines
686 B
// <file> |
|
// <copyright license="BSD-new" see="prj:///COPYING"/> |
|
// <owner name="David Srbecký" email="dsrbecky@gmail.com"/> |
|
// <version>$Revision$</version> |
|
// </file> |
|
|
|
using System; |
|
using System.Collections; |
|
using System.Collections.Generic; |
|
|
|
using ICSharpCode.Core; |
|
|
|
using Debugger; |
|
using Debugger.Expressions; |
|
|
|
namespace Debugger.AddIn.TreeModel |
|
{ |
|
public partial class Utils |
|
{ |
|
public static IEnumerable<AbstractNode> GetChildNodesOfArray(Expression expression, ArrayDimensions dimensions) |
|
{ |
|
foreach(Expression childExpr in expression.AppendIndexers(dimensions)) { |
|
yield return ValueNode.Create(childExpr); |
|
} |
|
} |
|
} |
|
|
|
public class ArrayRangeNode |
|
{ |
|
} |
|
}
|
|
|