aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/IML/Node.cs
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-01-20 16:27:38 +0100
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>2017-01-20 16:27:38 +0100
commitbf810209745cc2f90bb5f60164efaa1b6259a31f (patch)
treea934dea13ceb29f563d55a7f26f017cbcee0b675 /src/IML/Node.cs
parent3491fb025162f176d10216e2f960cbad42b3bba2 (diff)
code clean and comments
Diffstat (limited to 'src/IML/Node.cs')
-rw-r--r--src/IML/Node.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/IML/Node.cs b/src/IML/Node.cs
index 4ba61c03..29f204f5 100644
--- a/src/IML/Node.cs
+++ b/src/IML/Node.cs
@@ -30,16 +30,18 @@ namespace Crow.IML
/// </summary>
public struct Node
{
- /// <summary> Current node type</summary>
- public Type CrowType;
- /// <summary> Index in parent, -1 for template</summary>
- public int Index;
-
+ #region CTOR
public Node (Type crowType, int _index = 0)
{
CrowType = crowType;
Index = _index;
}
+ #endregion
+
+ /// <summary> Current node type</summary>
+ public Type CrowType;
+ /// <summary> Index in parent, -1 for template</summary>
+ public int Index;
public MethodInfo GetAddMethod(int childIdx){
if (typeof (Group).IsAssignableFrom (CrowType))