Context.js 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. "use strict";
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var Context = module.exports = function (){
  4. }, klass = Context, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. // File: path.h lines: 62-62
  6. // BSONElement _arrayOffset;
  7. proto._arrayOffset = undefined;
  8. // File: path.h lines: 61-61
  9. // BSONElement _element;
  10. proto._element = undefined;
  11. // File: path.h lines: 63-63
  12. // bool _outerArray;
  13. proto._outerArray = undefined;
  14. // File: path.h lines: 62-62
  15. // BSONElement _arrayOffset;
  16. proto._arrayOffset = undefined;
  17. // File: path.h lines: 61-61
  18. // BSONElement _element;
  19. proto._element = undefined;
  20. // File: path.h lines: 63-63
  21. // bool _outerArray;
  22. proto._outerArray = undefined;
  23. /**
  24. *
  25. * This documentation was automatically generated. Please update when you touch this function.
  26. * @method arrayOffset
  27. *
  28. */
  29. proto.arrayOffset = function arrayOffset( ){
  30. // File: path.h lines: 57-56
  31. return this._arrayOffset;
  32. };
  33. /**
  34. *
  35. * This documentation was automatically generated. Please update when you touch this function.
  36. * @method element
  37. *
  38. */
  39. proto.element = function element( ){
  40. // File: path.h lines: 56-55
  41. return this._element;
  42. };
  43. /**
  44. *
  45. * This documentation was automatically generated. Please update when you touch this function.
  46. * @method outerArray
  47. * @param
  48. *
  49. */
  50. proto.outerArray = function outerArray( ){
  51. // File: path.h lines: 58-57
  52. return this._outerArray;
  53. };
  54. /**
  55. *
  56. * This documentation was automatically generated. Please update when you touch this function.
  57. * @method reset
  58. * @param
  59. *
  60. */
  61. proto.reset = function reset( ){
  62. // File: path.cpp lines: 37-38
  63. this._element = {};
  64. };
  65. /**
  66. *
  67. * This documentation was automatically generated. Please update when you touch this function.
  68. * @method setArrayOffset
  69. * @param
  70. *
  71. */
  72. proto.setArrayOffset = function setArrayOffset( e ){
  73. // File: path.h lines: 54-53
  74. this._arrayOffset = e;
  75. };