PageRenderTime 36ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/autoexp.dat

http://github.com/mozy/mordor
Unknown | 71 lines | 68 code | 3 blank | 0 comment | 0 complexity | b70c4294ba879b4d576333f91af3aabc MD5 | raw file
Possible License(s): BSD-3-Clause
  1. ; Add to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\Debugger\autoexp.dat in the [Visualizer] section
  2. ; The visualizer isn't perfect - it uses ; instead of :, and , instead of / between path segments
  3. ; Also, it doesn't perform any encoding
  4. Mordor::URI{
  5. preview (
  6. #(
  7. #if ($e.m_schemeDefined) ( #(
  8. #if (($e.m_scheme._Myres) < ($e.m_scheme._BUF_SIZE)) ( [$e.m_scheme._Bx._Buf,sb] ) #else ( [$e.m_scheme._Bx._Ptr,sb] ),
  9. ";")
  10. ) #else ( "" ),
  11. #if ($e.authority.m_hostDefined) ( #("//", $e.authority) ) #else ( "" ),
  12. #if ($e.path.segments._Myfirst != $e.path.segments._Mylast) ( $e.path ) #else ( "" ),
  13. #if ($e.m_queryDefined) ( #(
  14. "?",
  15. #if (($e.m_query._Myres) < ($e.m_query._BUF_SIZE)) ( [$e.m_query._Bx._Buf,sb] ) #else ( [$e.m_query._Bx._Ptr,sb] ))
  16. ) #else ( "" ),
  17. #if ($e.m_fragmentDefined) ( #(
  18. "#",
  19. #if (($e.m_fragment._Myres) < ($e.m_fragment._BUF_SIZE)) ( [$e.m_fragment._Bx._Buf,sb] ) #else ( [$e.m_fragment._Bx._Ptr,sb] ))
  20. ) #else ( "" )
  21. )
  22. )
  23. children (
  24. #(
  25. #if ($e.m_schemeDefined) ( #(scheme: $e.m_scheme) ) #else ( #array(expr: 0, size: 0) ),
  26. #if ($e.authority.m_hostDefined) ( #(authority: $e.authority) ) #else ( #array(expr: 0, size: 0) ),
  27. #if ($e.path.segments._Myfirst != $e.path.segments._Mylast) ( #(path: $e.path) ) #else ( #array(expr: 0, size: 0) ),
  28. #if ($e.m_queryDefined) ( #(query: $e.m_query) ) #else ( #array(expr: 0, size: 0) ),
  29. #if ($e.m_fragmentDefined) ( #(fragment: $e.m_fragment) ) #else ( #array(expr: 0, size: 0) ),
  30. #(Actual Members: [$e,!])
  31. )
  32. )
  33. }
  34. Mordor::URI::Authority{
  35. preview (
  36. #(
  37. #if ($e.m_userinfoDefined) ( #( #if (($e.m_userinfo._Myres) < ($e.m_userinfo._BUF_SIZE)) ( [$e.m_userinfo._Bx._Buf,sb] ) #else ( [$e.m_userinfo._Bx._Ptr,sb] ), "@") ) #else ( "" ),
  38. #if ($e.m_hostDefined) ( #if (($e.m_host._Myres) < ($e.m_host._BUF_SIZE)) ( [$e.m_host._Bx._Buf,sb] ) #else ( [$e.m_host._Bx._Ptr,sb] ) ) #else ( "" ),
  39. #if ($e.m_portDefined) ( #( ";", $e.m_port) ) #else ( "" )
  40. )
  41. )
  42. children (
  43. #(
  44. #if ($e.m_userinfoDefined) ( #( userinfo: $e.m_userinfo) ) #else ( #array(expr: 0, size: 0) ),
  45. #if ($e.m_hostDefined) ( #( host: $e.m_host) ) #else ( #array(expr: 0, size: 0) ),
  46. #if ($e.m_portDefined) ( #( port: $e.m_port) ) #else ( #array(expr: 0, size: 0) ),
  47. #(Actual Members: [$e,!])
  48. )
  49. )
  50. }
  51. Mordor::URI::Path{
  52. preview (
  53. #if ($e.segments._Myfirst == $e.segments._Mylast) (
  54. ""
  55. ) #else (
  56. #array(
  57. expr:
  58. ;[$e.segments._Myfirst[$i],
  59. #if ((($e.segments._Myfirst[$i])._Myres) < (($e.segments._Myfirst[$i])._BUF_SIZE)) (
  60. [($e.segments._Myfirst[$i])._Bx._Buf,sb]
  61. ) #else (
  62. [($e.segments._Myfirst[$i])._Bx._Ptr,sb]
  63. ),
  64. size: $e.segments._Mylast - $e.segments._Myfirst
  65. )
  66. )
  67. )
  68. }