| OLD | NEW |
| 1 # Copyright (C) 2013 Google Inc. All rights reserved. | 1 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 2 # | 2 # |
| 3 # Redistribution and use in source and binary forms, with or without | 3 # Redistribution and use in source and binary forms, with or without |
| 4 # modification, are permitted provided that the following conditions are | 4 # modification, are permitted provided that the following conditions are |
| 5 # met: | 5 # met: |
| 6 # | 6 # |
| 7 # * Redistributions of source code must retain the above copyright | 7 # * Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
| 9 # * Redistributions in binary form must reproduce the above | 9 # * Redistributions in binary form must reproduce the above |
| 10 # copyright notice, this list of conditions and the following disclaimer | 10 # copyright notice, this list of conditions and the following disclaimer |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 'Dictionary': set(['bindings/core/v8/Dictionary.h']), | 334 'Dictionary': set(['bindings/core/v8/Dictionary.h']), |
| 335 'EventHandler': set(['bindings/core/v8/V8AbstractEventListener.h', | 335 'EventHandler': set(['bindings/core/v8/V8AbstractEventListener.h', |
| 336 'bindings/core/v8/V8EventListenerList.h']), | 336 'bindings/core/v8/V8EventListenerList.h']), |
| 337 'EventListener': set(['bindings/core/v8/BindingSecurity.h', | 337 'EventListener': set(['bindings/core/v8/BindingSecurity.h', |
| 338 'bindings/core/v8/V8EventListenerList.h', | 338 'bindings/core/v8/V8EventListenerList.h', |
| 339 'core/frame/LocalDOMWindow.h']), | 339 'core/frame/LocalDOMWindow.h']), |
| 340 'HTMLCollection': set(['bindings/core/v8/V8HTMLCollection.h', | 340 'HTMLCollection': set(['bindings/core/v8/V8HTMLCollection.h', |
| 341 'core/dom/ClassCollection.h', | 341 'core/dom/ClassCollection.h', |
| 342 'core/dom/TagCollection.h', | 342 'core/dom/TagCollection.h', |
| 343 'core/html/HTMLCollection.h', | 343 'core/html/HTMLCollection.h', |
| 344 'core/html/HTMLDataListOptionsCollection.h', |
| 344 'core/html/HTMLFormControlsCollection.h', | 345 'core/html/HTMLFormControlsCollection.h', |
| 345 'core/html/HTMLTableRowsCollection.h']), | 346 'core/html/HTMLTableRowsCollection.h']), |
| 346 'MediaQueryListListener': set(['core/css/MediaQueryListListener.h']), | 347 'MediaQueryListListener': set(['core/css/MediaQueryListListener.h']), |
| 347 'NodeList': set(['bindings/core/v8/V8NodeList.h', | 348 'NodeList': set(['bindings/core/v8/V8NodeList.h', |
| 348 'core/dom/NameNodeList.h', | 349 'core/dom/NameNodeList.h', |
| 349 'core/dom/NodeList.h', | 350 'core/dom/NodeList.h', |
| 350 'core/dom/StaticNodeList.h', | 351 'core/dom/StaticNodeList.h', |
| 351 'core/html/LabelsNodeList.h']), | 352 'core/html/LabelsNodeList.h']), |
| 352 'Promise': set(['bindings/core/v8/ScriptPromise.h']), | 353 'Promise': set(['bindings/core/v8/ScriptPromise.h']), |
| 353 'SerializedScriptValue': set(['bindings/core/v8/SerializedScriptValue.h']), | 354 'SerializedScriptValue': set(['bindings/core/v8/SerializedScriptValue.h']), |
| (...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 812 | 813 |
| 813 | 814 |
| 814 def is_explicit_nullable(idl_type): | 815 def is_explicit_nullable(idl_type): |
| 815 # Nullable type that isn't implicit nullable (see above.) For such types, | 816 # Nullable type that isn't implicit nullable (see above.) For such types, |
| 816 # we use Nullable<T> or similar explicit ways to represent a null value. | 817 # we use Nullable<T> or similar explicit ways to represent a null value. |
| 817 return idl_type.is_nullable and not idl_type.is_implicit_nullable | 818 return idl_type.is_nullable and not idl_type.is_implicit_nullable |
| 818 | 819 |
| 819 IdlTypeBase.is_implicit_nullable = property(is_implicit_nullable) | 820 IdlTypeBase.is_implicit_nullable = property(is_implicit_nullable) |
| 820 IdlUnionType.is_implicit_nullable = False | 821 IdlUnionType.is_implicit_nullable = False |
| 821 IdlTypeBase.is_explicit_nullable = property(is_explicit_nullable) | 822 IdlTypeBase.is_explicit_nullable = property(is_explicit_nullable) |
| OLD | NEW |