/// <summary> /// Handles the AST node visit. /// </summary> /// <param name="astNode">AST node.</param> public override void Visit(DomainActionAstNode astNode) { Action newAction = new Action { Name = astNode.Name, Parameters = MasterExporter.ToParameters(astNode.Parameters), Preconditions = MasterExporter.ToPreconditions(astNode.Preconditions), Effects = MasterExporter.ToEffects(astNode.Effects) }; DomainData.Actions.Add(newAction); }
public virtual void Visit(DomainActionAstNode node) { }