/// <summary> /// Handles the AST node visit. /// </summary> /// <param name="astNode">AST node.</param> public override void Visit(ProblemRequirementsAstNode astNode) { astNode.RequirementsList.ForEach(requirement => ProblemData.Requirements.Add(requirement)); if (ProblemData.Requirements.Count == 0) { ProblemData.Requirements.Add(Traits.Requirement.STRIPS); } }
// problem sections (derived from ProblemSectionAstNode) public virtual void Visit(ProblemRequirementsAstNode node) { }