[AgRule("IsShown", "Element")] static bool ElementIsShown(Ast n) { return(!n.IsErrorQuestion() && n.IsActive()); }
static bool QuestionIsActive(Racr.AstNode n) { return(n.IsErrorQuestion() || (n.Parent().IsActive() && n.FindActive(n.GetName()).IsErrorQuestion())); }
[AgRule("IsActive", "Question")] static bool QuestionIsActive(Ast n) { return(n.IsErrorQuestion() || ( n.Parent().IsActive() && n.FindActive(n.GetName()).IsErrorQuestion())); }
static bool ElementIsShown(Racr.AstNode n) { return(!n.IsErrorQuestion() && n.IsActive()); }