public DType Accept(TBool type, IEnumerable <ExcelStream> x, bool y, DefAssembly ass) { throw new NotImplementedException(); }
public DType Accept(TBool type, object x, DefAssembly ass) { return(DBool.ValueOf((bool)x)); }
public string Accept(TBool type, string fieldName, string tablesName) { throw new NotImplementedException(); }
public string Accept(TBool type, string json, string field) { return(DefaultLoad(json, field)); }
public void Accept(TBool type, HashSet <DefTypeBase> x) { }
public string Accept(TBool type, string bufName, string fieldName) { return($"{bufName}.WriteBool({fieldName});"); }
public virtual void Accept(TBool type, T x) { }
public string Accept(TBool type) { return("BOOL"); }
public DType Accept(TBool type, XElement x, DefAssembly ass) { return(new DBool(bool.Parse(x.Value.Trim().ToLower()))); }
public override string Accept(TBool type) { return("Boolean"); }
public virtual string Accept(TBool type) { return(type.IsNullable ? "Boolean" : "boolean"); }
public string Accept(TBool type, string json, string x) { return($"{x} = {json}.GetBoolean();"); }
public DType Accept(TBool type, JsonElement x, DefAssembly ass) { return(new DBool(x.GetBoolean())); }
public void Accept(TBool type, HashSet <string> x) { }
public string Accept(TBool type, string jsonVarName, string fieldName) { return($"{fieldName} = {jsonVarName};"); }
public bool Accept(TBool type, TType x, Dictionary <DefTypeBase, bool> y, HashSet <DefTypeBase> z) { return(true); }
public virtual TR Accept(TBool type) { return DoAccept(type); }
public string Accept(TBool type, string fieldName, string logType) { return($"{fieldName} = default;"); }
public string Accept(TBool type, string bufName, string fieldName) { return($"{fieldName} = {bufName}.ReadBool()"); }
public DType Accept(TBool type, object x, DefAssembly ass) { return(new DBool((bool)x)); }
public void Accept(TBool type, Dictionary <string, DefTypeBase> x) { }
public virtual void Accept(TBool type, T x) { DoAccept(type, x); }
public string Accept(TBool type) { return("bool"); }
public string Accept(TBool type, string x) { return($"{x} == true"); }