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)
 {
 }
Beispiel #6
0
 public string Accept(TBool type, string bufName, string fieldName)
 {
     return($"{bufName}.WriteBool({fieldName});");
 }
 public virtual void Accept(TBool type, T x)
 {
 }
Beispiel #8
0
 public string Accept(TBool type)
 {
     return("BOOL");
 }
Beispiel #9
0
 public DType Accept(TBool type, XElement x, DefAssembly ass)
 {
     return(new DBool(bool.Parse(x.Value.Trim().ToLower())));
 }
Beispiel #10
0
 public override string Accept(TBool type)
 {
     return("Boolean");
 }
Beispiel #11
0
 public virtual string Accept(TBool type)
 {
     return(type.IsNullable ? "Boolean" : "boolean");
 }
Beispiel #12
0
 public string Accept(TBool type, string json, string x)
 {
     return($"{x} = {json}.GetBoolean();");
 }
Beispiel #13
0
 public DType Accept(TBool type, JsonElement x, DefAssembly ass)
 {
     return(new DBool(x.GetBoolean()));
 }
Beispiel #14
0
 public void Accept(TBool type, HashSet <string> x)
 {
 }
Beispiel #15
0
 public string Accept(TBool type, string jsonVarName, string fieldName)
 {
     return($"{fieldName} = {jsonVarName};");
 }
Beispiel #16
0
 public bool Accept(TBool type, TType x, Dictionary <DefTypeBase, bool> y, HashSet <DefTypeBase> z)
 {
     return(true);
 }
Beispiel #17
0
 public virtual TR Accept(TBool type)
 {
     return DoAccept(type);
 }
Beispiel #18
0
 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()");
 }
Beispiel #20
0
 public DType Accept(TBool type, object x, DefAssembly ass)
 {
     return(new DBool((bool)x));
 }
 public void Accept(TBool type, Dictionary <string, DefTypeBase> x)
 {
 }
Beispiel #22
0
 public virtual void Accept(TBool type, T x)
 {
     DoAccept(type, x);
 }
Beispiel #23
0
 public string Accept(TBool type)
 {
     return("bool");
 }
Beispiel #24
0
 public string Accept(TBool type, string x)
 {
     return($"{x} == true");
 }