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