예제 #1
0
 [AgRule("IsShown", "Element")] static bool ElementIsShown(Ast n)
 {
     return(!n.IsErrorQuestion() && n.IsActive());
 }
예제 #2
0
 static bool QuestionIsActive(Racr.AstNode n)
 {
     return(n.IsErrorQuestion() || (n.Parent().IsActive() && n.FindActive(n.GetName()).IsErrorQuestion()));
 }
예제 #3
0
 [AgRule("IsActive", "Question")] static bool QuestionIsActive(Ast n)
 {
     return(n.IsErrorQuestion() || (
                n.Parent().IsActive() &&
                n.FindActive(n.GetName()).IsErrorQuestion()));
 }
예제 #4
0
 static bool ElementIsShown(Racr.AstNode n)
 {
     return(!n.IsErrorQuestion() && n.IsActive());
 }