Catrobat.IDE.Core.Xml.XmlObjects.Formulas.XmlFormulaTreeFactory.CreateSubtractNode C# (CSharp) Méthode

CreateSubtractNode() public static méthode

public static CreateSubtractNode ( XmlFormulaTree leftChild, XmlFormulaTree rightChild ) : XmlFormulaTree
leftChild XmlFormulaTree
rightChild XmlFormulaTree
Résultat XmlFormulaTree
        public static XmlFormulaTree CreateSubtractNode(XmlFormulaTree leftChild, XmlFormulaTree rightChild)
        {
            return new XmlFormulaTree
            {
                VariableType = "OPERATOR",
                VariableValue = "MINUS",
                LeftChild = leftChild,
                RightChild = rightChild
            };
        }
        public static XmlFormulaTree CreateNegativeSignNode(XmlFormulaTree child)