Example #1
0
 public TAstNode FirstParent <TAstNode>(Type attributeType) where TAstNode : class
 {
     return(ParentItem == null ? null : ParentItem.FirstThisOrParent <TAstNode>(attributeType));
 }
Example #2
0
 public TAstNode FirstParent <TAstNode>() where TAstNode : class
 {
     return(ParentItem == null ? null : ParentItem.FirstThisOrParent <TAstNode>(null));
 }