FalseMatchExpression.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. "use strict"
  2. // Autogenerated by cport.py on 2013-09-17 14:37
  3. var FalseMatchExpression = module.exports = function (){
  4. }, klass = FalseMatchExpression, base = Object , proto = klass.prototype = Object.create(base.prototype, {constructor:{value:klass}});
  5. /**
  6. *
  7. * This documentation was automatically generated. Please update when you touch this function.
  8. * @method FalseMatchExpression
  9. * @param
  10. *
  11. */
  12. proto.FalseMatchExpression = function FalseMatchExpression( /* ALWAYS_FALSE */ ){
  13. // File: expression.h lines: 206-205
  14. // FalseMatchExpression() : MatchExpression( ALWAYS_FALSE ){}
  15. }
  16. /**
  17. *
  18. * This documentation was automatically generated. Please update when you touch this function.
  19. * @method debugString
  20. * @param
  21. *
  22. */
  23. proto.debugString = function debugString( /* StringBuilder& debug, int level */ ){
  24. // File: expression.cpp lines: 53-55
  25. // void FalseMatchExpression::debugString( StringBuilder& debug, int level ) const {
  26. // _debugAddSpace( debug, level );
  27. // debug << "$false\n";
  28. // }
  29. }
  30. /**
  31. *
  32. * This documentation was automatically generated. Please update when you touch this function.
  33. * @method equivalent
  34. * @param
  35. *
  36. */
  37. proto.equivalent = function equivalent( /* const MatchExpression* other */ ){
  38. // File: expression.h lines: 222-223
  39. // virtual bool equivalent( const MatchExpression* other ) const {
  40. // return other->matchType() == ALWAYS_FALSE;
  41. // }
  42. }
  43. /**
  44. *
  45. * This documentation was automatically generated. Please update when you touch this function.
  46. * @method matches
  47. * @param
  48. *
  49. */
  50. proto.matches = function matches( /* const MatchableDocument* doc, MatchDetails* details = 0 */ ){
  51. // File: expression.h lines: 208-209
  52. // virtual bool matches( const MatchableDocument* doc, MatchDetails* details = 0 ) const {
  53. // return false;
  54. // }
  55. }
  56. /**
  57. *
  58. * This documentation was automatically generated. Please update when you touch this function.
  59. * @method matchesSingleElement
  60. * @param
  61. *
  62. */
  63. proto.matchesSingleElement = function matchesSingleElement( /* const BSONElement& e */ ){
  64. // File: expression.h lines: 212-213
  65. // virtual bool matchesSingleElement( const BSONElement& e ) const {
  66. // return false;
  67. // }
  68. }
  69. /**
  70. *
  71. * This documentation was automatically generated. Please update when you touch this function.
  72. * @method shallowClone
  73. * @param
  74. *
  75. */
  76. proto.shallowClone = function shallowClone( /* */ ){
  77. // File: expression.h lines: 216-217
  78. // virtual MatchExpression* shallowClone() const {
  79. // return new FalseMatchExpression();
  80. // }
  81. }