Escaping D keywords

Java has not the same set of keywords, like D has. TioPort does an escaping by appending the string "_KEYWORDESCAPE" to the identifier. A complete list of these identifiers:

  • alias
  • align
  • asm
  • assert
  • auto
  • body
  • bool
  • cast
  • cdouble
  • cent
  • cfloat
  • const
  • creal
  • dchar
  • debug
  • delegate
  • delete
  • deprecated
  • export
  • extern
  • foreach
  • function
  • goto
  • idouble
  • ifloat
  • in
  • inout
  • invariant
  • ireal
  • is
  • lazy
  • mixin
  • module
  • out
  • override
  • pragma
  • real
  • scope
  • struct
  • template
  • typedef
  • typeid
  • typeof
  • ubyte
  • ucent
  • uint
  • ulong
  • union
  • unittest
  • ushort
  • version
  • wchar
  • while
  • with
  • sizeof
  • mangleof