Пример #1
0
 /// <summary>
 /// Create Argument Item.
 /// </summary>
 /// <param name="argParam">Parameter name</param>
 /// <param name="argParam2">Alternate name (eg shorter)</param>
 /// <param name="argType">Type</param>
 /// <param name="required">True if required</param>
 public ArgItem(string argParam, string argParam2, ArgTypeEnum argType, bool required)
 {
     ArgParam  = argParam.ToLower();
     ArgParam2 = argParam2?.ToLower();
     ArgType   = argType;
     Value     = null;
     Required  = required;
 }
Пример #2
0
 internal StoreType(StoreType st)
 {
     this.ArgType   = st.ArgType;
     this.VarKind   = st.VarKind;
     this.Type      = st.Type;
     this.Value     = st.Value;
     this.Name      = st.Name;
     this.Length    = st.Length;
     this.Precision = st.Precision;
     this.Unsigned  = st.Unsigned;
 }
Пример #3
0
 internal StoreType(StoreType st)
 {
   this.ArgType = st.ArgType;
   this.VarKind = st.VarKind;
   this.Type = st.Type;
   this.Value = st.Value;
   this.Name = st.Name;
   this.Length = st.Length;
   this.Precision = st.Precision;
   this.Unsigned = st.Unsigned;
 }