public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup) { EnqueueNode(aFunctionNodeGroup); }
public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup) { VisitFunctionNodes(aFunctionNodeGroup.GrouppedNodes); }
private void Add(Function aFunction) { var settings = new ApplicationSettings(); var aNode = new FunctionNode(aFunction, settings.DisplayFunctionsSignatureAndReturnType); Func<FunctionNodeGroup, bool> nodeThatGroupsTheFunction = node => node.Groups(aNode); if (_functionsByName.Any(nodeThatGroupsTheFunction)) { _functionsByName.First(nodeThatGroupsTheFunction).Group(aNode); } else { var aFunctionGroup = new FunctionNodeGroup(aNode); _functionsByName.Add(aFunctionGroup); _model.Nodes.Add(aFunctionGroup); } }
public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup) { _nodeWasHandled = _functionGroupHandler(aFunctionNodeGroup); }