public Symbol() { subSymbols = new List <Symbol>(); operation = SymbolOperator.none; polarity = SymbolPolarity.positive; type = SymbolType.numerical; }
public Symbol(double value) : this() { numericValue = value; if (value < 0) { polarity = SymbolPolarity.negative; } }