protected SymVarOrConst(string name, SymType type, SymLocTypeEnum locType, bool isConst) { Name = name; Type = type; IsConst = isConst; LocType = locType; }
public SymStringConst(string name, SymType type, string value, SymLocTypeEnum locType) : base(name, type, locType) { Value = value; InitialStringValue = value; }
public SymBoolConst(string name, SymType type, bool value, SymLocTypeEnum locType) : base(name, type, locType) { Value = value; InitialStringValue = value.ToString(); }
public SymDoubleConst(string name, SymType type, double value, SymLocTypeEnum locType) : base(name, type, locType) { Value = value; InitialStringValue = value.ToString(); }
public SymFuncConst(string name, SymFunc funcType, SymLocTypeEnum locType) : base(name, funcType, locType) { FuncType = funcType; }
protected SymConst(string name, SymType type, SymLocTypeEnum locType) : base(name, type, locType, true) { }
public SymVar(string name, SymType type, SymConst initialValue, SymLocTypeEnum locType) : base(name, type, locType, false) { InitialValue = initialValue; InitialStringValue = initialValue?.InitialStringValue; }