public static (IEnumerable <string> errors, IEnumerable <string> warnings) CheckTypes(QuestionForm questionForm) { var checker = new QLTypeChecker(); questionForm.Accept(checker); return(checker._messages.ToTuple()); }
CheckQuestionReferences(StyleSheet styleSheet, QuestionForm questionForm) { var checker = new QLSReferenceChecker(); questionForm.Accept(checker); styleSheet.Accept(checker); return(checker._messages.ToTuple()); }
public void SetAnswer(string questionId, IValue answer) { _answers[questionId] = answer; _questionForm.Accept(this); }
public QLExecutor(QuestionForm questionForm) { _questionForm = questionForm; _questionForm.Accept(this); }