Lines Matching full:is

13  * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
41 * True if the passed type is a Thrift entity (struct, exception, enum,
139 static assert(is(AddBaseServices!(C) == TypeTuple!(A, B, C)));
140 static assert(is(ForAllWithList!(ConfinedTuple!(C, D), AddBaseServices) ==
154 // T is not already in the List, so add T and the types it depends on in in AddStructWithDeps()
197 static assert(is(AddStructWithDeps!C == TypeTuple!(A, B, C))); in version()
203 static assert(is(AddStructWithDeps!D == TypeTuple!(D))); in version()
229 static if (is(FullyUnqual!T == bool) || is(FullyUnqual!T == byte) || in CompositeTypeDeps()
230 is(FullyUnqual!T == short) || is(FullyUnqual!T == int) || in CompositeTypeDeps()
231 is(FullyUnqual!T == long) || is(FullyUnqual!T : string) || in CompositeTypeDeps()
232 is(FullyUnqual!T == double) || is(FullyUnqual!T == void) in CompositeTypeDeps()
235 } else static if (is(FullyUnqual!T _ : U[], U)) { in CompositeTypeDeps()
237 } else static if (is(FullyUnqual!T _ : HashSet!E, E)) { in CompositeTypeDeps()
239 } else static if (is(FullyUnqual!T _ : V[K], K, V)) { in CompositeTypeDeps()
241 } else static if (is(FullyUnqual!T == enum) || is(FullyUnqual!T == struct) || in CompositeTypeDeps()
242 is(FullyUnqual!T : TException) in CompositeTypeDeps()
253 * dependcies is not included.
273 static if (is(RT == void)) {
336 * dependcies is not included.
340 static assert(is(OriginalType!T : long),
357 * dependcies is not included.
364 code ~= "static assert(is(MemberType!(T, `" ~ field.name ~ "`)));\n";
402 static if (is(typeof(fieldInitA!(T, name))) &&
403 !is(typeof(fieldInitA!(T, name)) == void)
407 } else static if (is(typeof(fieldInitB!(T, name))) &&
408 !is(typeof(fieldInitB!(T, name)) == void)
427 // The extra »compiled« field in fieldInitA is needed because we must not try
428 // to use != if !is compiled as well (but was false), e.g. for floating point
431 static if (mixin("T.init." ~ name) !is MemberType!(T, name).init) { in fieldInitA()
443 static if (is(FullyUnqual!T == bool)) { in dToIdlType()
445 } else static if (is(FullyUnqual!T == byte)) { in dToIdlType()
447 } else static if (is(FullyUnqual!T == double)) { in dToIdlType()
449 } else static if (is(FullyUnqual!T == short)) { in dToIdlType()
451 } else static if (is(FullyUnqual!T == int)) { in dToIdlType()
453 } else static if (is(FullyUnqual!T == long)) { in dToIdlType()
455 } else static if (is(FullyUnqual!T : string)) { in dToIdlType()
457 } else static if (is(FullyUnqual!T _ : U[], U)) { in dToIdlType()
459 } else static if (is(FullyUnqual!T _ : V[K], K, V)) { in dToIdlType()
461 } else static if (is(FullyUnqual!T _ : HashSet!E, E)) { in dToIdlType()
463 } else static if (is(FullyUnqual!T == struct) || is(FullyUnqual!T == enum) || in dToIdlType()
464 is(FullyUnqual!T : TException) in dToIdlType()
481 static if (is(FullyUnqual!T == bool)) { in dToIdlConst()
483 } else static if (is(FullyUnqual!T == byte) || in dToIdlConst()
484 is(FullyUnqual!T == short) || is(FullyUnqual!T == int) || in dToIdlConst()
485 is(FullyUnqual!T == long) in dToIdlConst()
488 } else static if (is(FullyUnqual!T : string)) { in dToIdlConst()
490 } else static if (is(FullyUnqual!T == double)) { in dToIdlConst()
492 } else static if (is(FullyUnqual!T _ : U[], U) || in dToIdlConst()
493 is(FullyUnqual!T _ : HashSet!E, E) in dToIdlConst()
501 } else static if (is(FullyUnqual!T _ : V[K], K, V)) { in dToIdlConst()
508 } else static if (is(FullyUnqual!T == enum)) { in dToIdlConst()
512 } else static if (is(FullyUnqual!T == struct) || in dToIdlConst()
513 is(FullyUnqual!T : TException) in dToIdlConst()