/// <summary> /// Handles the AST node visit. /// </summary> /// <param name="astNode">AST node.</param> public override void Visit(DomainDurActionAstNode astNode) { DurativeAction newDurativeAction = new DurativeAction { Name = astNode.Name, Parameters = MasterExporter.ToParameters(astNode.Parameters), Durations = MasterExporter.ToDurativeConstraints(astNode.DurationConstraint), Conditions = MasterExporter.ToDurativeConditions(astNode.Condition), Effects = MasterExporter.ToDurativeEffects(astNode.Effect) }; DomainData.DurativeActions.Add(newDurativeAction); }
public virtual void Visit(DomainDurActionAstNode node) { }