예제 #1
0
 public bool IsAcceptedUsingOracle(CstNode uppermostNode)
 {
     return(uppermostNode.DescendantsOfSingleAndSelf()
            .Concat(uppermostNode.AncestorsWithSingleChild())
            .Where(e => OracleNames.Contains(e.Name))
            .Any(ProtectedIsAcceptedUsingOracle));
 }
예제 #2
0
 public bool IsAcceptedUsingOracle(CstNode uppermostNode) {
     return uppermostNode.DescendantsOfSingleAndSelf()
             .Concat(uppermostNode.AncestorsWithSingleChild())
             .Where(e => OracleNames.Contains(e.Name))
             .Any(ProtectedIsAcceptedUsingOracle);
 }