LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom - KeyIdsInitDataBinding.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* THIS FILE IS AUTOGENERATED FROM KeyIdsInitData.webidl BY Codegen.py - DO NOT EDIT */
       2             : 
       3             : #ifndef mozilla_dom_KeyIdsInitDataBinding_h
       4             : #define mozilla_dom_KeyIdsInitDataBinding_h
       5             : 
       6             : #include "js/RootingAPI.h"
       7             : #include "jspubtd.h"
       8             : #include "mozilla/ErrorResult.h"
       9             : #include "mozilla/dom/BindingDeclarations.h"
      10             : #include "mozilla/dom/Nullable.h"
      11             : 
      12             : namespace mozilla {
      13             : namespace dom {
      14             : 
      15             : struct KeyIdsInitDataAtoms;
      16             : struct NativePropertyHooks;
      17             : class ProtoAndIfaceCache;
      18             : 
      19             : } // namespace dom
      20             : } // namespace mozilla
      21             : 
      22             : namespace mozilla {
      23             : namespace dom {
      24             : 
      25           0 : struct KeyIdsInitData : public DictionaryBase
      26             : {
      27             :   MOZ_INIT_OUTSIDE_CTOR Sequence<nsString> mKids;
      28             : 
      29             :   KeyIdsInitData();
      30             : 
      31             :   explicit inline KeyIdsInitData(const FastDictionaryInitializer& )
      32             :   {
      33             :     // Do nothing here; this is used by our "Fast" subclass
      34             :   }
      35             : 
      36             :   explicit inline KeyIdsInitData(const KeyIdsInitData& aOther)
      37             :   {
      38             :     *this = aOther;
      39             :   }
      40             : 
      41             :   bool
      42             :   Init(JSContext* cx, JS::Handle<JS::Value> val, const char* sourceDescription = "Value", bool passedToJSImpl = false);
      43             : 
      44             :   bool
      45             :   Init(const nsAString& aJSON);
      46             : 
      47             :   bool
      48             :   ToObjectInternal(JSContext* cx, JS::MutableHandle<JS::Value> rval) const;
      49             : 
      50             :   bool
      51             :   ToJSON(nsAString& aJSON) const;
      52             : 
      53             :   void
      54             :   TraceDictionary(JSTracer* trc);
      55             : 
      56             :   KeyIdsInitData&
      57             :   operator=(const KeyIdsInitData& aOther);
      58             : 
      59             : private:
      60             :   static bool
      61             :   InitIds(JSContext* cx, KeyIdsInitDataAtoms* atomsCache);
      62             : };
      63             : 
      64             : namespace binding_detail {
      65             : struct FastKeyIdsInitData : public KeyIdsInitData
      66             : {
      67             :   inline FastKeyIdsInitData()
      68             :     : KeyIdsInitData(FastDictionaryInitializer())
      69             :   {
      70             :     // Doesn't matter what int we pass to the parent constructor
      71             :   }
      72             : };
      73             : } // namespace binding_detail
      74             : 
      75             : 
      76             : } // namespace dom
      77             : } // namespace mozilla
      78             : 
      79             : #endif // mozilla_dom_KeyIdsInitDataBinding_h

Generated by: LCOV version 1.13