File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/NHibernate/Hql/Ast/ANTLR/Tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class ASTNode : IASTNode, ITree
1717private readonly IToken _token ;
1818private List < IASTNode > _children ;
1919
20- public ASTNode ( )
20+ public ASTNode ( )
2121: this ( ( IToken ) null ) { }
2222
2323public ASTNode ( IToken token )
@@ -425,7 +425,6 @@ object ITree.DeleteChild(int i)
425425{
426426object node = _children [ i ] ;
427427RemoveChild ( i ) ;
428-
429428return node ;
430429}
431430
@@ -469,7 +468,11 @@ ITree ITree.DupNode()
469468return ( ITree ) DupNode ( ) ;
470469}
471470
472- int ITree . ChildIndex { get ; set ; }
471+ int ITree . ChildIndex
472+ {
473+ get { return _childIndex ; }
474+ set { _childIndex = value ; }
475+ }
473476
474477ITree ITree . Parent
475478{
@@ -513,6 +516,7 @@ IEnumerator IEnumerable.GetEnumerator()
513516{
514517return GetEnumerator ( ) ;
515518}
519+
516520#endregion
517521
518522// //////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments