示例#1
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     EnqueueNode(aFunctionNodeGroup);
 }
示例#2
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     VisitFunctionNodes(aFunctionNodeGroup.GrouppedNodes);
 }
示例#3
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     EnqueueNode(aFunctionNodeGroup);
 }
示例#4
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     VisitFunctionNodes(aFunctionNodeGroup.GrouppedNodes);
 }
示例#5
0
        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);
            }
        }
示例#6
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     _nodeWasHandled = _functionGroupHandler(aFunctionNodeGroup);
 }
示例#7
0
 public void VisitFunctionGroupNode(FunctionNodeGroup aFunctionNodeGroup)
 {
     _nodeWasHandled = _functionGroupHandler(aFunctionNodeGroup);
 }