├── .gitignore
├── .gitmodules
├── .npmignore
├── README.md
├── definition-generator
├── index
│ ├── doctrine.d.ts
│ ├── escodegen.d.ts
│ ├── esprima.d.ts
│ ├── findclosure.sh
│ ├── jasmine.d.ts
│ ├── mkdirp.d.ts
│ └── references.ts
├── src
│ ├── .gitignore
│ ├── cli.js
│ ├── combine.ts
│ ├── finder.ts
│ ├── generate.ts
│ ├── main.ts
│ ├── options.ts
│ ├── page.ts
│ ├── parser.ts
│ └── pretty_print.ts
└── test
│ └── generate_spec.ts
├── externs-generator
├── index
│ └── typescript-services.d.ts
├── src
│ ├── .gitignore
│ ├── cli.js
│ ├── main.ts
│ └── typescript_services.js
└── test
│ └── example.ts
├── index.html
├── index
└── closure-library
│ ├── _references.ts
│ ├── alltests.d.ts
│ ├── closure
│ └── goog
│ │ ├── a11y
│ │ └── aria
│ │ │ ├── announcer.d.ts
│ │ │ ├── aria.d.ts
│ │ │ ├── attributes.d.ts
│ │ │ ├── datatables.d.ts
│ │ │ └── roles.d.ts
│ │ ├── array
│ │ └── array.d.ts
│ │ ├── asserts
│ │ └── asserts.d.ts
│ │ ├── async
│ │ ├── animationdelay.d.ts
│ │ ├── conditionaldelay.d.ts
│ │ ├── delay.d.ts
│ │ ├── nexttick.d.ts
│ │ ├── run.d.ts
│ │ └── throttle.d.ts
│ │ ├── base.d.ts
│ │ ├── bootstrap
│ │ ├── nodejs.d.ts
│ │ └── webworkers.d.ts
│ │ ├── color
│ │ ├── alpha.d.ts
│ │ ├── color.d.ts
│ │ └── names.d.ts
│ │ ├── crypt
│ │ ├── aes.d.ts
│ │ ├── arc4.d.ts
│ │ ├── base64.d.ts
│ │ ├── basen.d.ts
│ │ ├── blobhasher.d.ts
│ │ ├── blockcipher.d.ts
│ │ ├── cbc.d.ts
│ │ ├── crypt.d.ts
│ │ ├── hash.d.ts
│ │ ├── hash32.d.ts
│ │ ├── hashtester.d.ts
│ │ ├── hmac.d.ts
│ │ ├── md5.d.ts
│ │ ├── pbkdf2.d.ts
│ │ ├── sha1.d.ts
│ │ ├── sha2.d.ts
│ │ ├── sha224.d.ts
│ │ ├── sha256.d.ts
│ │ ├── sha2_64bit.d.ts
│ │ ├── sha384.d.ts
│ │ ├── sha512.d.ts
│ │ └── sha512_256.d.ts
│ │ ├── cssom
│ │ ├── cssom.d.ts
│ │ └── iframe
│ │ │ └── style.d.ts
│ │ ├── datasource
│ │ ├── datamanager.d.ts
│ │ ├── datasource.d.ts
│ │ ├── expr.d.ts
│ │ ├── fastdatanode.d.ts
│ │ ├── jsdatasource.d.ts
│ │ ├── jsondatasource.d.ts
│ │ ├── jsxmlhttpdatasource.d.ts
│ │ └── xmldatasource.d.ts
│ │ ├── date
│ │ ├── date.d.ts
│ │ ├── datelike.d.ts
│ │ ├── daterange.d.ts
│ │ ├── duration.d.ts
│ │ ├── relative.d.ts
│ │ ├── relativewithplurals.d.ts
│ │ └── utcdatetime.d.ts
│ │ ├── db
│ │ ├── cursor.d.ts
│ │ ├── db.d.ts
│ │ ├── error.d.ts
│ │ ├── index.d.ts
│ │ ├── indexeddb.d.ts
│ │ ├── keyrange.d.ts
│ │ ├── objectstore.d.ts
│ │ └── transaction.d.ts
│ │ ├── debug
│ │ ├── console.d.ts
│ │ ├── debug.d.ts
│ │ ├── debugwindow.d.ts
│ │ ├── devcss
│ │ │ ├── devcss.d.ts
│ │ │ └── devcssrunner.d.ts
│ │ ├── divconsole.d.ts
│ │ ├── entrypointregistry.d.ts
│ │ ├── error.d.ts
│ │ ├── errorhandler.d.ts
│ │ ├── errorhandlerweakdep.d.ts
│ │ ├── errorreporter.d.ts
│ │ ├── fancywindow.d.ts
│ │ ├── formatter.d.ts
│ │ ├── fpsdisplay.d.ts
│ │ ├── gcdiagnostics.d.ts
│ │ ├── logbuffer.d.ts
│ │ ├── logger.d.ts
│ │ ├── logrecord.d.ts
│ │ ├── logrecordserializer.d.ts
│ │ ├── reflect.d.ts
│ │ ├── relativetimeprovider.d.ts
│ │ └── tracer.d.ts
│ │ ├── demos
│ │ ├── autocompleteremotedata.d.ts
│ │ ├── autocompleterichremotedata.d.ts
│ │ ├── editor
│ │ │ ├── deps.d.ts
│ │ │ ├── equationeditor.d.ts
│ │ │ ├── helloworld.d.ts
│ │ │ ├── helloworlddialog.d.ts
│ │ │ └── helloworlddialogplugin.d.ts
│ │ ├── graphics
│ │ │ └── tigerdata.d.ts
│ │ ├── samplecomponent.d.ts
│ │ └── xpc
│ │ │ └── xpcdemo.d.ts
│ │ ├── deps.d.ts
│ │ ├── disposable
│ │ ├── disposable.d.ts
│ │ └── idisposable.d.ts
│ │ ├── dom
│ │ ├── abstractmultirange.d.ts
│ │ ├── abstractrange.d.ts
│ │ ├── animationframe
│ │ │ ├── animationframe.d.ts
│ │ │ └── polyfill.d.ts
│ │ ├── annotate.d.ts
│ │ ├── browserfeature.d.ts
│ │ ├── browserrange
│ │ │ ├── abstractrange.d.ts
│ │ │ ├── browserrange.d.ts
│ │ │ ├── geckorange.d.ts
│ │ │ ├── ierange.d.ts
│ │ │ ├── operarange.d.ts
│ │ │ ├── w3crange.d.ts
│ │ │ └── webkitrange.d.ts
│ │ ├── bufferedviewportsizemonitor.d.ts
│ │ ├── classes.d.ts
│ │ ├── classlist.d.ts
│ │ ├── controlrange.d.ts
│ │ ├── dataset.d.ts
│ │ ├── dom.d.ts
│ │ ├── fontsizemonitor.d.ts
│ │ ├── forms.d.ts
│ │ ├── fullscreen.d.ts
│ │ ├── iframe.d.ts
│ │ ├── iter.d.ts
│ │ ├── multirange.d.ts
│ │ ├── nodeiterator.d.ts
│ │ ├── nodeoffset.d.ts
│ │ ├── nodetype.d.ts
│ │ ├── pattern
│ │ │ ├── abstractpattern.d.ts
│ │ │ ├── allchildren.d.ts
│ │ │ ├── callback
│ │ │ │ ├── callback.d.ts
│ │ │ │ ├── counter.d.ts
│ │ │ │ └── test.d.ts
│ │ │ ├── childmatches.d.ts
│ │ │ ├── endtag.d.ts
│ │ │ ├── fulltag.d.ts
│ │ │ ├── matcher.d.ts
│ │ │ ├── nodetype.d.ts
│ │ │ ├── pattern.d.ts
│ │ │ ├── repeat.d.ts
│ │ │ ├── sequence.d.ts
│ │ │ ├── starttag.d.ts
│ │ │ ├── tag.d.ts
│ │ │ └── text.d.ts
│ │ ├── range.d.ts
│ │ ├── rangeendpoint.d.ts
│ │ ├── safe.d.ts
│ │ ├── savedcaretrange.d.ts
│ │ ├── savedrange.d.ts
│ │ ├── selection.d.ts
│ │ ├── tagiterator.d.ts
│ │ ├── tagname.d.ts
│ │ ├── tags.d.ts
│ │ ├── textrange.d.ts
│ │ ├── textrangeiterator.d.ts
│ │ ├── vendor.d.ts
│ │ ├── viewportsizemonitor.d.ts
│ │ └── xml.d.ts
│ │ ├── editor
│ │ ├── browserfeature.d.ts
│ │ ├── clicktoeditwrapper.d.ts
│ │ ├── command.d.ts
│ │ ├── contenteditablefield.d.ts
│ │ ├── defines.d.ts
│ │ ├── field.d.ts
│ │ ├── focus.d.ts
│ │ ├── icontent.d.ts
│ │ ├── link.d.ts
│ │ ├── node.d.ts
│ │ ├── plugin.d.ts
│ │ ├── plugins
│ │ │ ├── abstractbubbleplugin.d.ts
│ │ │ ├── abstractdialogplugin.d.ts
│ │ │ ├── abstracttabhandler.d.ts
│ │ │ ├── basictextformatter.d.ts
│ │ │ ├── blockquote.d.ts
│ │ │ ├── emoticons.d.ts
│ │ │ ├── enterhandler.d.ts
│ │ │ ├── equationeditorbubble.d.ts
│ │ │ ├── equationeditorplugin.d.ts
│ │ │ ├── firststrong.d.ts
│ │ │ ├── headerformatter.d.ts
│ │ │ ├── linkbubble.d.ts
│ │ │ ├── linkdialogplugin.d.ts
│ │ │ ├── linkshortcutplugin.d.ts
│ │ │ ├── listtabhandler.d.ts
│ │ │ ├── loremipsum.d.ts
│ │ │ ├── removeformatting.d.ts
│ │ │ ├── spacestabhandler.d.ts
│ │ │ ├── tableeditor.d.ts
│ │ │ ├── tagonenterhandler.d.ts
│ │ │ ├── undoredo.d.ts
│ │ │ ├── undoredomanager.d.ts
│ │ │ └── undoredostate.d.ts
│ │ ├── range.d.ts
│ │ ├── seamlessfield.d.ts
│ │ ├── style.d.ts
│ │ └── table.d.ts
│ │ ├── events
│ │ ├── actioneventwrapper.d.ts
│ │ ├── actionhandler.d.ts
│ │ ├── browserevent.d.ts
│ │ ├── browserfeature.d.ts
│ │ ├── event.d.ts
│ │ ├── eventhandler.d.ts
│ │ ├── eventid.d.ts
│ │ ├── events.d.ts
│ │ ├── eventtarget.d.ts
│ │ ├── eventtargettester.d.ts
│ │ ├── eventtype.d.ts
│ │ ├── eventwrapper.d.ts
│ │ ├── filedrophandler.d.ts
│ │ ├── focushandler.d.ts
│ │ ├── imehandler.d.ts
│ │ ├── inputhandler.d.ts
│ │ ├── keycodes.d.ts
│ │ ├── keyhandler.d.ts
│ │ ├── keynames.d.ts
│ │ ├── listenable.d.ts
│ │ ├── listener.d.ts
│ │ ├── listenermap.d.ts
│ │ ├── mousewheelhandler.d.ts
│ │ ├── onlinehandler.d.ts
│ │ └── pastehandler.d.ts
│ │ ├── format
│ │ ├── emailaddress.d.ts
│ │ ├── format.d.ts
│ │ ├── htmlprettyprinter.d.ts
│ │ └── jsonprettyprinter.d.ts
│ │ ├── fs
│ │ ├── entry.d.ts
│ │ ├── entryimpl.d.ts
│ │ ├── error.d.ts
│ │ ├── filereader.d.ts
│ │ ├── filesaver.d.ts
│ │ ├── filesystem.d.ts
│ │ ├── filesystemimpl.d.ts
│ │ ├── filewriter.d.ts
│ │ ├── fs.d.ts
│ │ └── progressevent.d.ts
│ │ ├── functions
│ │ └── functions.d.ts
│ │ ├── fx
│ │ ├── abstractdragdrop.d.ts
│ │ ├── anim
│ │ │ └── anim.d.ts
│ │ ├── animation.d.ts
│ │ ├── animationqueue.d.ts
│ │ ├── css3
│ │ │ ├── fx.d.ts
│ │ │ └── transition.d.ts
│ │ ├── cssspriteanimation.d.ts
│ │ ├── dom.d.ts
│ │ ├── dragdrop.d.ts
│ │ ├── dragdropgroup.d.ts
│ │ ├── dragger.d.ts
│ │ ├── draglistgroup.d.ts
│ │ ├── dragscrollsupport.d.ts
│ │ ├── easing.d.ts
│ │ ├── fx.d.ts
│ │ ├── transition.d.ts
│ │ └── transitionbase.d.ts
│ │ ├── graphics
│ │ ├── abstractgraphics.d.ts
│ │ ├── affinetransform.d.ts
│ │ ├── canvaselement.d.ts
│ │ ├── canvasgraphics.d.ts
│ │ ├── element.d.ts
│ │ ├── ellipseelement.d.ts
│ │ ├── ext
│ │ │ ├── coordinates.d.ts
│ │ │ ├── element.d.ts
│ │ │ ├── ellipse.d.ts
│ │ │ ├── ext.d.ts
│ │ │ ├── graphics.d.ts
│ │ │ ├── group.d.ts
│ │ │ ├── image.d.ts
│ │ │ ├── path.d.ts
│ │ │ ├── rectangle.d.ts
│ │ │ ├── shape.d.ts
│ │ │ └── strokeandfillelement.d.ts
│ │ ├── fill.d.ts
│ │ ├── font.d.ts
│ │ ├── graphics.d.ts
│ │ ├── groupelement.d.ts
│ │ ├── imageelement.d.ts
│ │ ├── lineargradient.d.ts
│ │ ├── path.d.ts
│ │ ├── pathelement.d.ts
│ │ ├── paths.d.ts
│ │ ├── rectelement.d.ts
│ │ ├── solidfill.d.ts
│ │ ├── stroke.d.ts
│ │ ├── strokeandfillelement.d.ts
│ │ ├── svgelement.d.ts
│ │ ├── svggraphics.d.ts
│ │ ├── textelement.d.ts
│ │ ├── vmlelement.d.ts
│ │ └── vmlgraphics.d.ts
│ │ ├── history
│ │ ├── event.d.ts
│ │ ├── eventtype.d.ts
│ │ ├── history.d.ts
│ │ └── html5history.d.ts
│ │ ├── html
│ │ ├── legacyconversions.d.ts
│ │ ├── safehtml.d.ts
│ │ ├── safestyle.d.ts
│ │ ├── safeurl.d.ts
│ │ ├── testing.d.ts
│ │ ├── trustedresourceurl.d.ts
│ │ ├── uncheckedconversions.d.ts
│ │ └── utils.d.ts
│ │ ├── i18n
│ │ ├── bidi.d.ts
│ │ ├── bidiformatter.d.ts
│ │ ├── charlistdecompressor.d.ts
│ │ ├── charpickerdata.d.ts
│ │ ├── collation.d.ts
│ │ ├── compactnumberformatsymbols.d.ts
│ │ ├── compactnumberformatsymbols_ext.d.ts
│ │ ├── currency.d.ts
│ │ ├── currencycodemap.d.ts
│ │ ├── datetimeformat.d.ts
│ │ ├── datetimeparse.d.ts
│ │ ├── datetimepatterns.d.ts
│ │ ├── datetimepatternsext.d.ts
│ │ ├── datetimesymbols.d.ts
│ │ ├── datetimesymbolsext.d.ts
│ │ ├── graphemebreak.d.ts
│ │ ├── messageformat.d.ts
│ │ ├── mime.d.ts
│ │ ├── numberformat.d.ts
│ │ ├── numberformatsymbols.d.ts
│ │ ├── numberformatsymbolsext.d.ts
│ │ ├── ordinalrules.d.ts
│ │ ├── pluralrules.d.ts
│ │ ├── timezone.d.ts
│ │ ├── uchar.d.ts
│ │ └── uchar
│ │ │ ├── localnamefetcher.d.ts
│ │ │ ├── namefetcher.d.ts
│ │ │ └── remotenamefetcher.d.ts
│ │ ├── iter
│ │ └── iter.d.ts
│ │ ├── json
│ │ ├── evaljsonprocessor.d.ts
│ │ ├── hybrid.d.ts
│ │ ├── hybridjsonprocessor.d.ts
│ │ ├── json.d.ts
│ │ ├── nativejsonprocessor.d.ts
│ │ └── processor.d.ts
│ │ ├── labs
│ │ ├── classdef
│ │ │ └── classdef.d.ts
│ │ ├── dom
│ │ │ └── pagevisibilitymonitor.d.ts
│ │ ├── events
│ │ │ ├── nondisposableeventtarget.d.ts
│ │ │ └── touch.d.ts
│ │ ├── format
│ │ │ └── csv.d.ts
│ │ ├── html
│ │ │ ├── attribute_rewriter.d.ts
│ │ │ ├── sanitizer.d.ts
│ │ │ └── scrubber.d.ts
│ │ ├── i18n
│ │ │ ├── listformat.d.ts
│ │ │ ├── listsymbols.d.ts
│ │ │ └── listsymbolsext.d.ts
│ │ ├── mock
│ │ │ └── mock.d.ts
│ │ ├── net
│ │ │ ├── image.d.ts
│ │ │ ├── webchannel.d.ts
│ │ │ ├── webchannel
│ │ │ │ ├── basetestchannel.d.ts
│ │ │ │ ├── channel.d.ts
│ │ │ │ ├── channelrequest.d.ts
│ │ │ │ ├── connectionstate.d.ts
│ │ │ │ ├── forwardchannelrequestpool.d.ts
│ │ │ │ ├── netutils.d.ts
│ │ │ │ ├── requeststats.d.ts
│ │ │ │ ├── webchannelbase.d.ts
│ │ │ │ ├── webchannelbasetransport.d.ts
│ │ │ │ ├── webchanneldebug.d.ts
│ │ │ │ ├── wire.d.ts
│ │ │ │ └── wirev8.d.ts
│ │ │ ├── webchanneltransport.d.ts
│ │ │ ├── webchanneltransportfactory.d.ts
│ │ │ └── xhr.d.ts
│ │ ├── object
│ │ │ └── object.d.ts
│ │ ├── promise
│ │ │ └── promise.d.ts
│ │ ├── storage
│ │ │ └── boundedcollectablestorage.d.ts
│ │ ├── structs
│ │ │ ├── map.d.ts
│ │ │ └── multimap.d.ts
│ │ ├── style
│ │ │ └── pixeldensitymonitor.d.ts
│ │ ├── testing
│ │ │ ├── assertthat.d.ts
│ │ │ ├── decoratormatcher.d.ts
│ │ │ ├── dictionarymatcher.d.ts
│ │ │ ├── logicmatcher.d.ts
│ │ │ ├── matcher.d.ts
│ │ │ ├── numbermatcher.d.ts
│ │ │ ├── objectmatcher.d.ts
│ │ │ └── stringmatcher.d.ts
│ │ └── useragent
│ │ │ ├── browser.d.ts
│ │ │ ├── device.d.ts
│ │ │ ├── engine.d.ts
│ │ │ ├── platform.d.ts
│ │ │ ├── test_agents.d.ts
│ │ │ └── util.d.ts
│ │ ├── locale
│ │ ├── countries.d.ts
│ │ ├── defaultlocalenameconstants.d.ts
│ │ ├── genericfontnames.d.ts
│ │ ├── genericfontnamesdata.d.ts
│ │ ├── locale.d.ts
│ │ ├── nativenameconstants.d.ts
│ │ ├── scriptToLanguages.d.ts
│ │ ├── timezonedetection.d.ts
│ │ ├── timezonefingerprint.d.ts
│ │ └── timezonelist.d.ts
│ │ ├── log
│ │ └── log.d.ts
│ │ ├── math
│ │ ├── affinetransform.d.ts
│ │ ├── bezier.d.ts
│ │ ├── box.d.ts
│ │ ├── coordinate.d.ts
│ │ ├── coordinate3.d.ts
│ │ ├── exponentialbackoff.d.ts
│ │ ├── integer.d.ts
│ │ ├── interpolator
│ │ │ ├── interpolator1.d.ts
│ │ │ ├── linear1.d.ts
│ │ │ ├── pchip1.d.ts
│ │ │ └── spline1.d.ts
│ │ ├── line.d.ts
│ │ ├── long.d.ts
│ │ ├── math.d.ts
│ │ ├── matrix.d.ts
│ │ ├── path.d.ts
│ │ ├── paths.d.ts
│ │ ├── range.d.ts
│ │ ├── rangeset.d.ts
│ │ ├── rect.d.ts
│ │ ├── size.d.ts
│ │ ├── tdma.d.ts
│ │ ├── vec2.d.ts
│ │ └── vec3.d.ts
│ │ ├── memoize
│ │ └── memoize.d.ts
│ │ ├── messaging
│ │ ├── abstractchannel.d.ts
│ │ ├── bufferedchannel.d.ts
│ │ ├── deferredchannel.d.ts
│ │ ├── loggerclient.d.ts
│ │ ├── loggerserver.d.ts
│ │ ├── messagechannel.d.ts
│ │ ├── messaging.d.ts
│ │ ├── multichannel.d.ts
│ │ ├── portcaller.d.ts
│ │ ├── portchannel.d.ts
│ │ ├── portnetwork.d.ts
│ │ ├── portoperator.d.ts
│ │ └── respondingchannel.d.ts
│ │ ├── module
│ │ ├── abstractmoduleloader.d.ts
│ │ ├── basemodule.d.ts
│ │ ├── loader.d.ts
│ │ ├── module.d.ts
│ │ ├── moduleinfo.d.ts
│ │ ├── moduleloadcallback.d.ts
│ │ ├── moduleloader.d.ts
│ │ └── modulemanager.d.ts
│ │ ├── net
│ │ ├── browserchannel.d.ts
│ │ ├── browsertestchannel.d.ts
│ │ ├── bulkloader.d.ts
│ │ ├── bulkloaderhelper.d.ts
│ │ ├── channeldebug.d.ts
│ │ ├── channelrequest.d.ts
│ │ ├── cookies.d.ts
│ │ ├── corsxmlhttpfactory.d.ts
│ │ ├── crossdomainrpc.d.ts
│ │ ├── errorcode.d.ts
│ │ ├── eventtype.d.ts
│ │ ├── filedownloader.d.ts
│ │ ├── httpstatus.d.ts
│ │ ├── iframeio.d.ts
│ │ ├── iframeloadmonitor.d.ts
│ │ ├── imageloader.d.ts
│ │ ├── ipaddress.d.ts
│ │ ├── jsloader.d.ts
│ │ ├── jsonp.d.ts
│ │ ├── mockiframeio.d.ts
│ │ ├── multiiframeloadmonitor.d.ts
│ │ ├── networkstatusmonitor.d.ts
│ │ ├── networktester.d.ts
│ │ ├── tmpnetwork.d.ts
│ │ ├── websocket.d.ts
│ │ ├── wrapperxmlhttpfactory.d.ts
│ │ ├── xhrio.d.ts
│ │ ├── xhriopool.d.ts
│ │ ├── xhrlike.d.ts
│ │ ├── xhrmanager.d.ts
│ │ ├── xmlhttp.d.ts
│ │ ├── xmlhttpfactory.d.ts
│ │ └── xpc
│ │ │ ├── crosspagechannel.d.ts
│ │ │ ├── crosspagechannelrole.d.ts
│ │ │ ├── directtransport.d.ts
│ │ │ ├── frameelementmethodtransport.d.ts
│ │ │ ├── iframepollingtransport.d.ts
│ │ │ ├── iframerelaytransport.d.ts
│ │ │ ├── nativemessagingtransport.d.ts
│ │ │ ├── nixtransport.d.ts
│ │ │ ├── relay.d.ts
│ │ │ ├── transport.d.ts
│ │ │ └── xpc.d.ts
│ │ ├── object
│ │ └── object.d.ts
│ │ ├── positioning
│ │ ├── absoluteposition.d.ts
│ │ ├── abstractposition.d.ts
│ │ ├── anchoredposition.d.ts
│ │ ├── anchoredviewportposition.d.ts
│ │ ├── clientposition.d.ts
│ │ ├── menuanchoredposition.d.ts
│ │ ├── positioning.d.ts
│ │ ├── viewportclientposition.d.ts
│ │ └── viewportposition.d.ts
│ │ ├── promise
│ │ ├── promise.d.ts
│ │ ├── resolver.d.ts
│ │ ├── testsuiteadapter.d.ts
│ │ └── thenable.d.ts
│ │ ├── proto
│ │ ├── proto.d.ts
│ │ └── serializer.d.ts
│ │ ├── proto2
│ │ ├── descriptor.d.ts
│ │ ├── fielddescriptor.d.ts
│ │ ├── lazydeserializer.d.ts
│ │ ├── message.d.ts
│ │ ├── objectserializer.d.ts
│ │ ├── package_test.pb.d.ts
│ │ ├── pbliteserializer.d.ts
│ │ ├── serializer.d.ts
│ │ ├── test.pb.d.ts
│ │ ├── textformatserializer.d.ts
│ │ └── util.d.ts
│ │ ├── pubsub
│ │ ├── pubsub.d.ts
│ │ ├── topicid.d.ts
│ │ └── typedpubsub.d.ts
│ │ ├── reflect
│ │ └── reflect.d.ts
│ │ ├── result
│ │ ├── deferredadaptor.d.ts
│ │ ├── dependentresult.d.ts
│ │ ├── result_interface.d.ts
│ │ ├── resultutil.d.ts
│ │ └── simpleresult.d.ts
│ │ ├── soy
│ │ ├── data.d.ts
│ │ ├── renderer.d.ts
│ │ ├── soy.d.ts
│ │ └── soy_testhelper.d.ts
│ │ ├── spell
│ │ └── spellcheck.d.ts
│ │ ├── stats
│ │ └── basicstat.d.ts
│ │ ├── storage
│ │ ├── collectablestorage.d.ts
│ │ ├── collectablestoragetester.d.ts
│ │ ├── encryptedstorage.d.ts
│ │ ├── errorcode.d.ts
│ │ ├── expiringstorage.d.ts
│ │ ├── mechanism
│ │ │ ├── errorcode.d.ts
│ │ │ ├── errorhandlingmechanism.d.ts
│ │ │ ├── html5localstorage.d.ts
│ │ │ ├── html5sessionstorage.d.ts
│ │ │ ├── html5webstorage.d.ts
│ │ │ ├── ieuserdata.d.ts
│ │ │ ├── iterablemechanism.d.ts
│ │ │ ├── iterablemechanismtester.d.ts
│ │ │ ├── mechanism.d.ts
│ │ │ ├── mechanismfactory.d.ts
│ │ │ ├── mechanismseparationtester.d.ts
│ │ │ ├── mechanismsharingtester.d.ts
│ │ │ ├── mechanismtester.d.ts
│ │ │ └── prefixedmechanism.d.ts
│ │ ├── richstorage.d.ts
│ │ └── storage.d.ts
│ │ ├── string
│ │ ├── const.d.ts
│ │ ├── linkify.d.ts
│ │ ├── newlines.d.ts
│ │ ├── parser.d.ts
│ │ ├── path.d.ts
│ │ ├── string.d.ts
│ │ ├── stringbuffer.d.ts
│ │ ├── stringformat.d.ts
│ │ ├── stringifier.d.ts
│ │ └── typedstring.d.ts
│ │ ├── structs
│ │ ├── avltree.d.ts
│ │ ├── circularbuffer.d.ts
│ │ ├── collection.d.ts
│ │ ├── heap.d.ts
│ │ ├── inversionmap.d.ts
│ │ ├── linkedmap.d.ts
│ │ ├── map.d.ts
│ │ ├── node.d.ts
│ │ ├── pool.d.ts
│ │ ├── prioritypool.d.ts
│ │ ├── priorityqueue.d.ts
│ │ ├── quadtree.d.ts
│ │ ├── queue.d.ts
│ │ ├── set.d.ts
│ │ ├── simplepool.d.ts
│ │ ├── stringset.d.ts
│ │ ├── structs.d.ts
│ │ ├── treenode.d.ts
│ │ └── trie.d.ts
│ │ ├── style
│ │ ├── bidi.d.ts
│ │ ├── cursor.d.ts
│ │ ├── style.d.ts
│ │ ├── stylescrollbartester.d.ts
│ │ ├── transform.d.ts
│ │ └── transition.d.ts
│ │ ├── testing
│ │ ├── asserts.d.ts
│ │ ├── async
│ │ │ └── mockcontrol.d.ts
│ │ ├── asynctestcase.d.ts
│ │ ├── benchmark.d.ts
│ │ ├── continuationtestcase.d.ts
│ │ ├── deferredtestcase.d.ts
│ │ ├── dom.d.ts
│ │ ├── editor
│ │ │ ├── dom.d.ts
│ │ │ ├── fieldmock.d.ts
│ │ │ └── testhelper.d.ts
│ │ ├── events
│ │ │ ├── eventobserver.d.ts
│ │ │ ├── events.d.ts
│ │ │ ├── matchers.d.ts
│ │ │ └── onlinehandler.d.ts
│ │ ├── expectedfailures.d.ts
│ │ ├── fs
│ │ │ ├── blob.d.ts
│ │ │ ├── entry.d.ts
│ │ │ ├── file.d.ts
│ │ │ ├── filereader.d.ts
│ │ │ ├── filesystem.d.ts
│ │ │ ├── filewriter.d.ts
│ │ │ ├── fs.d.ts
│ │ │ └── progressevent.d.ts
│ │ ├── functionmock.d.ts
│ │ ├── graphics.d.ts
│ │ ├── i18n
│ │ │ └── asserts.d.ts
│ │ ├── jsunit.d.ts
│ │ ├── loosemock.d.ts
│ │ ├── messaging
│ │ │ ├── mockmessagechannel.d.ts
│ │ │ ├── mockmessageevent.d.ts
│ │ │ ├── mockmessageport.d.ts
│ │ │ └── mockportnetwork.d.ts
│ │ ├── mock.d.ts
│ │ ├── mockclassfactory.d.ts
│ │ ├── mockclock.d.ts
│ │ ├── mockcontrol.d.ts
│ │ ├── mockinterface.d.ts
│ │ ├── mockmatchers.d.ts
│ │ ├── mockrandom.d.ts
│ │ ├── mockrange.d.ts
│ │ ├── mockstorage.d.ts
│ │ ├── mockuseragent.d.ts
│ │ ├── multitestrunner.d.ts
│ │ ├── net
│ │ │ ├── xhrio.d.ts
│ │ │ └── xhriopool.d.ts
│ │ ├── objectpropertystring.d.ts
│ │ ├── performancetable.d.ts
│ │ ├── performancetimer.d.ts
│ │ ├── propertyreplacer.d.ts
│ │ ├── proto2
│ │ │ └── proto2.d.ts
│ │ ├── pseudorandom.d.ts
│ │ ├── recordfunction.d.ts
│ │ ├── shardingtestcase.d.ts
│ │ ├── singleton.d.ts
│ │ ├── stacktrace.d.ts
│ │ ├── storage
│ │ │ └── fakemechanism.d.ts
│ │ ├── strictmock.d.ts
│ │ ├── style
│ │ │ ├── layoutasserts.d.ts
│ │ │ └── style.d.ts
│ │ ├── testcase.d.ts
│ │ ├── testqueue.d.ts
│ │ ├── testrunner.d.ts
│ │ ├── ui
│ │ │ ├── rendererasserts.d.ts
│ │ │ ├── rendererharness.d.ts
│ │ │ └── style.d.ts
│ │ └── watchers.d.ts
│ │ ├── timer
│ │ └── timer.d.ts
│ │ ├── tweak
│ │ ├── entries.d.ts
│ │ ├── registry.d.ts
│ │ ├── testhelpers.d.ts
│ │ ├── tweak.d.ts
│ │ └── tweakui.d.ts
│ │ ├── ui
│ │ ├── abstractspellchecker.d.ts
│ │ ├── ac
│ │ │ ├── ac.d.ts
│ │ │ ├── arraymatcher.d.ts
│ │ │ ├── autocomplete.d.ts
│ │ │ ├── cachingmatcher.d.ts
│ │ │ ├── inputhandler.d.ts
│ │ │ ├── remote.d.ts
│ │ │ ├── remotearraymatcher.d.ts
│ │ │ ├── renderer.d.ts
│ │ │ ├── renderoptions.d.ts
│ │ │ ├── richinputhandler.d.ts
│ │ │ ├── richremote.d.ts
│ │ │ └── richremotearraymatcher.d.ts
│ │ ├── activitymonitor.d.ts
│ │ ├── advancedtooltip.d.ts
│ │ ├── animatedzippy.d.ts
│ │ ├── attachablemenu.d.ts
│ │ ├── bidiinput.d.ts
│ │ ├── bubble.d.ts
│ │ ├── button.d.ts
│ │ ├── buttonrenderer.d.ts
│ │ ├── buttonside.d.ts
│ │ ├── charcounter.d.ts
│ │ ├── charpicker.d.ts
│ │ ├── checkbox.d.ts
│ │ ├── checkboxmenuitem.d.ts
│ │ ├── checkboxrenderer.d.ts
│ │ ├── colorbutton.d.ts
│ │ ├── colorbuttonrenderer.d.ts
│ │ ├── colormenubutton.d.ts
│ │ ├── colormenubuttonrenderer.d.ts
│ │ ├── colorpalette.d.ts
│ │ ├── colorpicker.d.ts
│ │ ├── colorsplitbehavior.d.ts
│ │ ├── combobox.d.ts
│ │ ├── component.d.ts
│ │ ├── container.d.ts
│ │ ├── containerrenderer.d.ts
│ │ ├── containerscroller.d.ts
│ │ ├── control.d.ts
│ │ ├── controlcontent.d.ts
│ │ ├── controlrenderer.d.ts
│ │ ├── cookieeditor.d.ts
│ │ ├── css3buttonrenderer.d.ts
│ │ ├── css3menubuttonrenderer.d.ts
│ │ ├── cssnames.d.ts
│ │ ├── custombutton.d.ts
│ │ ├── custombuttonrenderer.d.ts
│ │ ├── customcolorpalette.d.ts
│ │ ├── datepicker.d.ts
│ │ ├── datepickerrenderer.d.ts
│ │ ├── decorate.d.ts
│ │ ├── defaultdatepickerrenderer.d.ts
│ │ ├── dialog.d.ts
│ │ ├── dimensionpicker.d.ts
│ │ ├── dimensionpickerrenderer.d.ts
│ │ ├── dragdropdetector.d.ts
│ │ ├── drilldownrow.d.ts
│ │ ├── editor
│ │ │ ├── abstractdialog.d.ts
│ │ │ ├── bubble.d.ts
│ │ │ ├── defaulttoolbar.d.ts
│ │ │ ├── equationeditordialog.d.ts
│ │ │ ├── equationeditorokevent.d.ts
│ │ │ ├── linkdialog.d.ts
│ │ │ ├── messages.d.ts
│ │ │ ├── tabpane.d.ts
│ │ │ ├── toolbarcontroller.d.ts
│ │ │ └── toolbarfactory.d.ts
│ │ ├── emoji
│ │ │ ├── emoji.d.ts
│ │ │ ├── emojipalette.d.ts
│ │ │ ├── emojipaletterenderer.d.ts
│ │ │ ├── emojipicker.d.ts
│ │ │ ├── popupemojipicker.d.ts
│ │ │ ├── progressiveemojipaletterenderer.d.ts
│ │ │ └── spriteinfo.d.ts
│ │ ├── equation
│ │ │ ├── arrowpalette.d.ts
│ │ │ ├── changeevent.d.ts
│ │ │ ├── comparisonpalette.d.ts
│ │ │ ├── editorpane.d.ts
│ │ │ ├── equationeditor.d.ts
│ │ │ ├── equationeditordialog.d.ts
│ │ │ ├── greekpalette.d.ts
│ │ │ ├── imagerenderer.d.ts
│ │ │ ├── mathpalette.d.ts
│ │ │ ├── menupalette.d.ts
│ │ │ ├── palette.d.ts
│ │ │ ├── palettemanager.d.ts
│ │ │ ├── symbolpalette.d.ts
│ │ │ ├── texeditor.d.ts
│ │ │ └── texpane.d.ts
│ │ ├── filteredmenu.d.ts
│ │ ├── filterobservingmenuitem.d.ts
│ │ ├── filterobservingmenuitemrenderer.d.ts
│ │ ├── flatbuttonrenderer.d.ts
│ │ ├── flatmenubuttonrenderer.d.ts
│ │ ├── formpost.d.ts
│ │ ├── gauge.d.ts
│ │ ├── gaugetheme.d.ts
│ │ ├── hovercard.d.ts
│ │ ├── hsvapalette.d.ts
│ │ ├── hsvpalette.d.ts
│ │ ├── idgenerator.d.ts
│ │ ├── idletimer.d.ts
│ │ ├── iframemask.d.ts
│ │ ├── imagelessbuttonrenderer.d.ts
│ │ ├── imagelessmenubuttonrenderer.d.ts
│ │ ├── inputdatepicker.d.ts
│ │ ├── itemevent.d.ts
│ │ ├── keyboardshortcuthandler.d.ts
│ │ ├── labelinput.d.ts
│ │ ├── linkbuttonrenderer.d.ts
│ │ ├── media
│ │ │ ├── flashobject.d.ts
│ │ │ ├── flickr.d.ts
│ │ │ ├── googlevideo.d.ts
│ │ │ ├── media.d.ts
│ │ │ ├── mediamodel.d.ts
│ │ │ ├── mp3.d.ts
│ │ │ ├── photo.d.ts
│ │ │ ├── picasa.d.ts
│ │ │ ├── vimeo.d.ts
│ │ │ └── youtube.d.ts
│ │ ├── menu.d.ts
│ │ ├── menubar.d.ts
│ │ ├── menubardecorator.d.ts
│ │ ├── menubarrenderer.d.ts
│ │ ├── menubase.d.ts
│ │ ├── menubutton.d.ts
│ │ ├── menubuttonrenderer.d.ts
│ │ ├── menuheader.d.ts
│ │ ├── menuheaderrenderer.d.ts
│ │ ├── menuitem.d.ts
│ │ ├── menuitemrenderer.d.ts
│ │ ├── menurenderer.d.ts
│ │ ├── menuseparator.d.ts
│ │ ├── menuseparatorrenderer.d.ts
│ │ ├── mockactivitymonitor.d.ts
│ │ ├── modalpopup.d.ts
│ │ ├── nativebuttonrenderer.d.ts
│ │ ├── option.d.ts
│ │ ├── palette.d.ts
│ │ ├── paletterenderer.d.ts
│ │ ├── plaintextspellchecker.d.ts
│ │ ├── popup.d.ts
│ │ ├── popupbase.d.ts
│ │ ├── popupcolorpicker.d.ts
│ │ ├── popupdatepicker.d.ts
│ │ ├── popupmenu.d.ts
│ │ ├── progressbar.d.ts
│ │ ├── prompt.d.ts
│ │ ├── rangemodel.d.ts
│ │ ├── ratings.d.ts
│ │ ├── registry.d.ts
│ │ ├── richtextspellchecker.d.ts
│ │ ├── roundedpanel.d.ts
│ │ ├── roundedtabrenderer.d.ts
│ │ ├── scrollfloater.d.ts
│ │ ├── select.d.ts
│ │ ├── selectionmenubutton.d.ts
│ │ ├── selectionmodel.d.ts
│ │ ├── separator.d.ts
│ │ ├── serverchart.d.ts
│ │ ├── slider.d.ts
│ │ ├── sliderbase.d.ts
│ │ ├── splitbehavior.d.ts
│ │ ├── splitpane.d.ts
│ │ ├── style
│ │ │ └── app
│ │ │ │ ├── buttonrenderer.d.ts
│ │ │ │ ├── menubuttonrenderer.d.ts
│ │ │ │ └── primaryactionbuttonrenderer.d.ts
│ │ ├── submenu.d.ts
│ │ ├── submenurenderer.d.ts
│ │ ├── tab.d.ts
│ │ ├── tabbar.d.ts
│ │ ├── tabbarrenderer.d.ts
│ │ ├── tablesorter.d.ts
│ │ ├── tabpane.d.ts
│ │ ├── tabrenderer.d.ts
│ │ ├── textarea.d.ts
│ │ ├── textarearenderer.d.ts
│ │ ├── togglebutton.d.ts
│ │ ├── toolbar.d.ts
│ │ ├── toolbarbutton.d.ts
│ │ ├── toolbarbuttonrenderer.d.ts
│ │ ├── toolbarcolormenubutton.d.ts
│ │ ├── toolbarcolormenubuttonrenderer.d.ts
│ │ ├── toolbarmenubutton.d.ts
│ │ ├── toolbarmenubuttonrenderer.d.ts
│ │ ├── toolbarrenderer.d.ts
│ │ ├── toolbarselect.d.ts
│ │ ├── toolbarseparator.d.ts
│ │ ├── toolbarseparatorrenderer.d.ts
│ │ ├── toolbartogglebutton.d.ts
│ │ ├── tooltip.d.ts
│ │ ├── tree
│ │ │ ├── basenode.d.ts
│ │ │ ├── treecontrol.d.ts
│ │ │ ├── treenode.d.ts
│ │ │ └── typeahead.d.ts
│ │ ├── tristatemenuitem.d.ts
│ │ ├── tristatemenuitemrenderer.d.ts
│ │ ├── twothumbslider.d.ts
│ │ └── zippy.d.ts
│ │ ├── uri
│ │ ├── uri.d.ts
│ │ └── utils.d.ts
│ │ ├── useragent
│ │ ├── adobereader.d.ts
│ │ ├── flash.d.ts
│ │ ├── iphoto.d.ts
│ │ ├── jscript.d.ts
│ │ ├── keyboard.d.ts
│ │ ├── picasa.d.ts
│ │ ├── platform.d.ts
│ │ ├── product.d.ts
│ │ ├── product_isversion.d.ts
│ │ ├── useragent.d.ts
│ │ └── useragenttestutil.d.ts
│ │ ├── vec
│ │ ├── float32array.d.ts
│ │ ├── float64array.d.ts
│ │ ├── mat3.d.ts
│ │ ├── mat3d.d.ts
│ │ ├── mat3f.d.ts
│ │ ├── mat4.d.ts
│ │ ├── mat4d.d.ts
│ │ ├── mat4f.d.ts
│ │ ├── matrix3.d.ts
│ │ ├── matrix4.d.ts
│ │ ├── quaternion.d.ts
│ │ ├── ray.d.ts
│ │ ├── vec.d.ts
│ │ ├── vec2.d.ts
│ │ ├── vec2d.d.ts
│ │ ├── vec2f.d.ts
│ │ ├── vec3.d.ts
│ │ ├── vec3d.d.ts
│ │ ├── vec3f.d.ts
│ │ ├── vec4.d.ts
│ │ ├── vec4d.d.ts
│ │ └── vec4f.d.ts
│ │ ├── webgl
│ │ └── webgl.d.ts
│ │ └── window
│ │ └── window.d.ts
│ ├── globals.d.ts
│ └── third_party
│ └── closure
│ └── goog
│ ├── base.d.ts
│ ├── caja
│ └── string
│ │ └── html
│ │ ├── htmlparser.d.ts
│ │ └── htmlsanitizer.d.ts
│ ├── deps.d.ts
│ ├── dojo
│ └── dom
│ │ └── query.d.ts
│ ├── jpeg_encoder
│ └── jpeg_encoder_basic.d.ts
│ ├── loremipsum
│ └── text
│ │ └── loremipsum.d.ts
│ ├── mochikit
│ └── async
│ │ ├── deferred.d.ts
│ │ └── deferredlist.d.ts
│ ├── osapi
│ └── osapi.d.ts
│ └── svgpan
│ └── svgpan.d.ts
├── lib
└── require.js
├── main.min.js
├── package-lock.json
├── package.json
├── scripts
├── check.sh
├── compile.sh
├── convert.sh
├── list_files.sh
├── list_input_output.sh
├── provides.sh
├── references.sh
└── test.sh
└── test
├── class.js
├── interface.js
├── missing_params.js
├── no_params.js
├── overloaded_function.js
├── requirejs_function_declaration.js
├── requirejs_function_expression.js
├── requirejs_local_class.js
├── requirejs_local_variable.js
├── subclass.js
├── subinterface.js
├── symbols.tsv
├── typedef_array.js
├── typedef_bang.js
└── typedef_union.js
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | *.iml
3 |
4 | *.js
5 | !test/*.js
6 | !main.min.js
7 | *.map
8 |
9 | *.jar
10 | node_modules/
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "lib/doctrine"]
2 | path = lib/doctrine
3 | url = git@github.com:fivetran/doctrine.git
4 | [submodule "lib/definitely-typed"]
5 | path = lib/definitely-typed
6 | url = git@github.com:fivetran/DefinitelyTyped.git
7 | [submodule "typescript"]
8 | path = typescript
9 | url = git@github.com:Microsoft/TypeScript.git
10 | [submodule "lib/closure-library"]
11 | path = lib/closure-library
12 | url = git@github.com:fivetran/closure-library.git
13 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/fivetran/typescript-closure-tools/20d3931ebe25f1f73e77794d79c9cce786540502/.npmignore
--------------------------------------------------------------------------------
/definition-generator/index/escodegen.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module 'escodegen' {
4 | function generate(ast: estree.Program, options?: any): string;
5 | }
--------------------------------------------------------------------------------
/definition-generator/index/findclosure.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # Create symlinks to every JS file in the closure library
4 | # The closure library contains HTML demo files which screw up IDE indexing
5 |
6 | for FILE in $(find ../lib/closure-library/closure/goog -name '*.js')
7 | do
8 | LINK=$(echo $FILE | cut -c 8-)
9 | PARENT=$(dirname $LINK)
10 | RELATIVE=$(echo $PARENT | sed -e 's/[a-z\-]*/../g')
11 |
12 | mkdir --parents $PARENT
13 | ln -s $RELATIVE/$FILE $LINK
14 | done
--------------------------------------------------------------------------------
/definition-generator/index/jasmine.d.ts:
--------------------------------------------------------------------------------
1 | ../../lib/definitely-typed/jasmine/jasmine.d.ts
--------------------------------------------------------------------------------
/definition-generator/index/mkdirp.d.ts:
--------------------------------------------------------------------------------
1 | // Type definitions for mkdirp 0.3.0
2 | // Project: http://github.com/substack/node-mkdirp
3 | // Definitions by: Bart van der Schoor
4 | // Definitions: https://github.com/borisyankov/DefinitelyTyped
5 |
6 | declare module 'mkdirp' {
7 |
8 | function mkdirp(dir: string, cb: (err: any, made: string) => void): void;
9 | function mkdirp(dir: string, flags: any, cb: (err: any, made: string) => void): void;
10 |
11 | module mkdirp {
12 | function sync(dir: string, flags?: any): string;
13 | }
14 | export = mkdirp;
15 | }
--------------------------------------------------------------------------------
/definition-generator/index/references.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
--------------------------------------------------------------------------------
/definition-generator/src/.gitignore:
--------------------------------------------------------------------------------
1 | !cli.js
--------------------------------------------------------------------------------
/definition-generator/src/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require('path');
3 | require(path.resolve(__dirname, 'main.js'));
4 |
--------------------------------------------------------------------------------
/definition-generator/src/options.ts:
--------------------------------------------------------------------------------
1 | export interface InputOutput {
2 | input: string;
3 | output: string;
4 | }
5 |
6 | var options: string[] = process.argv.slice(2);
7 |
8 | function get_option(name): string {
9 | var index = options.indexOf('--' + name);
10 |
11 | if (index !== -1) {
12 | var value = options[index + 1];
13 |
14 | options.splice(index, 2);
15 |
16 | return value;
17 | }
18 | }
19 |
20 | export var provides = get_option('provides');
21 | export var globals = get_option('globals');
22 | export var inputRoot = get_option('input_root') || '';
23 | export var outputRoot = get_option('output_root') || '';
24 | export var includePrivate = get_option('include_private') || false;
25 | export var todo: InputOutput[] = [];
26 |
27 | for (var i = 0; i < options.length; i += 2) {
28 | todo.push({
29 | input: options[i],
30 | output: options[i + 1]
31 | });
32 | }
33 |
--------------------------------------------------------------------------------
/definition-generator/src/page.ts:
--------------------------------------------------------------------------------
1 | import parser = require('./parser');
2 | import combine = require('./combine');
3 | import generate = require('./generate');
4 | import pretty_print = require('./pretty_print');
5 |
6 | export function convert(text: string): string {
7 | var docs = parser.jsdoc(text);
8 | var symbols = combine.members(docs);
9 | var out = generate.defs(symbols);
10 | var text = pretty_print.pretty(out);
11 |
12 | return text;
13 | }
14 |
15 | window['convert'] = convert;
--------------------------------------------------------------------------------
/externs-generator/src/.gitignore:
--------------------------------------------------------------------------------
1 | !cli.js
2 | !typescript_services.js
--------------------------------------------------------------------------------
/externs-generator/src/cli.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | var path = require('path');
3 | require(path.resolve(__dirname, 'main.js'));
4 |
--------------------------------------------------------------------------------
/externs-generator/test/example.ts:
--------------------------------------------------------------------------------
1 | module Module {
2 | export interface ExportedInterface {
3 | f(arg: number): void;
4 | x: number;
5 | }
6 |
7 | interface PrivateInterface {
8 | g(arg: string): number;
9 | y: boolean;
10 | }
11 |
12 | interface ParentInterface {
13 | Child: {
14 | childProperty: number;
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/index/closure-library/alltests.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/a11y/aria/datatables.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.a11y.aria {
5 |
6 | /**
7 | * A map that contains mapping between an ARIA state and the default value
8 | * for it. Note that not all ARIA states have default values.
9 | *
10 | * @type {Object.}
11 | */
12 | var DefaultStateValueMap_: { [key: string]: string|boolean|number };
13 | }
14 |
15 | declare module goog.a11y.aria.datatables {
16 |
17 | /**
18 | * A method that creates a map that contains mapping between an ARIA state and
19 | * the default value for it. Note that not all ARIA states have default values.
20 | *
21 | * @return {!Object.}
22 | * The names for each of the notification methods.
23 | */
24 | function getDefaultValuesMap(): { [key: string]: string|boolean|number };
25 | }
26 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/a11y/aria/roles.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.a11y.aria {
4 |
5 | /**
6 | * ARIA role values.
7 | * @enum {string}
8 | */
9 | enum Role { ALERT, ALERTDIALOG, APPLICATION, ARTICLE, BANNER, BUTTON, CHECKBOX, COLUMNHEADER, COMBOBOX, COMPLEMENTARY, CONTENTINFO, DEFINITION, DIALOG, DIRECTORY, DOCUMENT, FORM, GRID, GRIDCELL, GROUP, HEADING, IMG, LINK, LIST, LISTBOX, LISTITEM, LOG, MAIN, MARQUEE, MATH, MENU, MENUBAR, MENU_ITEM, MENU_ITEM_CHECKBOX, MENU_ITEM_RADIO, NAVIGATION, NOTE, OPTION, PRESENTATION, PROGRESSBAR, RADIO, RADIOGROUP, REGION, ROW, ROWGROUP, ROWHEADER, SCROLLBAR, SEARCH, SEPARATOR, SLIDER, SPINBUTTON, STATUS, TAB, TAB_LIST, TAB_PANEL, TEXTBOX, TIMER, TOOLBAR, TOOLTIP, TREE, TREEGRID, TREEITEM }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/async/nexttick.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.async {
4 |
5 | /**
6 | * Throw an item without interrupting the current execution context. For
7 | * example, if processing a group of items in a loop, sometimes it is useful
8 | * to report an error while still allowing the rest of the batch to be
9 | * processed.
10 | * @param {*} exception
11 | */
12 | function throwException(exception: any): void;
13 |
14 | /**
15 | * Fires the provided callbacks as soon as possible after the current JS
16 | * execution context. setTimeout(…, 0) always takes at least 5ms for legacy
17 | * reasons.
18 | * @param {function(this:SCOPE)} callback Callback function to fire as soon as
19 | * possible.
20 | * @param {SCOPE=} opt_context Object in whose scope to call the listener.
21 | * @template SCOPE
22 | */
23 | function nextTick(callback: { (): any /*missing*/ }, opt_context?: SCOPE): void;
24 | }
25 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/bootstrap/nodejs.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog {
4 |
5 | /**
6 | * Bootstraps a file into the global scope.
7 | *
8 | * This is strictly for cases where normal require() won't work,
9 | * because the file declares global symbols with 'var' that need to
10 | * be added to the global scope.
11 | * @suppress {missingProvide}
12 | *
13 | * @param {string} file The path to the file.
14 | */
15 | function nodeGlobalRequire(file: string): void;
16 | }
17 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/bootstrap/webworkers.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/color/names.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.color {
4 |
5 | /**
6 | * A map that contains a lot of colors that are recognised by various browsers.
7 | * This list is way larger than the minimal one dictated by W3C.
8 | * The keys of this map are the lowercase "readable" names of the colors, while
9 | * the values are the "hex" values.
10 | */
11 | var names: any /*missing*/;
12 | }
13 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/blockcipher.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.crypt {
4 |
5 | interface BlockCipher {
6 |
7 | /**
8 | * Encrypt a plaintext block. The implementation may expect (and assert)
9 | * a particular block length.
10 | * @param {!Array.} input Plaintext array of input bytes.
11 | * @return {!Array.} Encrypted ciphertext array of bytes. Should be the
12 | * same length as input.
13 | */
14 | encrypt(input: number[]): number[];
15 |
16 | /**
17 | * Decrypt a plaintext block. The implementation may expect (and assert)
18 | * a particular block length.
19 | * @param {!Array.} input Ciphertext. Array of input bytes.
20 | * @return {!Array.} Decrypted plaintext array of bytes. Should be the
21 | * same length as input.
22 | */
23 | decrypt(input: number[]): number[];
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/hashtester.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt.hashTester {
5 |
6 | /**
7 | * Runs basic tests.
8 | *
9 | * @param {!goog.crypt.Hash} hash A hash instance.
10 | */
11 | function runBasicTests(hash: goog.crypt.Hash): void;
12 |
13 | /**
14 | * Runs block tests.
15 | *
16 | * @param {!goog.crypt.Hash} hash A hash instance.
17 | * @param {number} blockBytes Size of the hash block.
18 | */
19 | function runBlockTests(hash: goog.crypt.Hash, blockBytes: number): void;
20 |
21 | /**
22 | * Runs performance tests.
23 | *
24 | * @param {function():!goog.crypt.Hash} hashFactory A hash factory.
25 | * @param {string} hashName Name of the hashing function.
26 | */
27 | function runPerfTests(hashFactory: { (): goog.crypt.Hash }, hashName: string): void;
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/md5.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Md5 extends Md5__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Md5__Class extends goog.crypt.Hash__Class {
9 |
10 | /**
11 | * MD5 cryptographic hash constructor.
12 | * @constructor
13 | * @extends {goog.crypt.Hash}
14 | * @final
15 | * @struct
16 | */
17 | constructor();
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/pbkdf2.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.crypt.pbkdf2 {
4 |
5 | /**
6 | * Derives key from password using PBKDF2-SHA1
7 | * @param {!Array.} password Byte array representation of the password
8 | * from which the key is derived.
9 | * @param {!Array.} initialSalt Byte array representation of the salt.
10 | * @param {number} iterations Number of interations when computing the key.
11 | * @param {number} keyLength Length of the output key in bits.
12 | * Must be multiple of 8.
13 | * @return {!Array.} Byte array representation of the output key.
14 | */
15 | function deriveKeySha1(password: number[], initialSalt: number[], iterations: number, keyLength: number): number[];
16 | }
17 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha1.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha1 extends Sha1__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha1__Class extends goog.crypt.Hash__Class {
9 |
10 | /**
11 | * SHA-1 cryptographic hash constructor.
12 | *
13 | * The properties declared here are discussed in the above algorithm document.
14 | * @constructor
15 | * @extends {goog.crypt.Hash}
16 | * @final
17 | * @struct
18 | */
19 | constructor();
20 | }
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha224.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha224 extends Sha224__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha224__Class extends goog.crypt.Sha2__Class {
9 |
10 | /**
11 | * SHA-224 cryptographic hash constructor.
12 | *
13 | * @constructor
14 | * @extends {goog.crypt.Sha2}
15 | * @final
16 | * @struct
17 | */
18 | constructor();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha256.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha256 extends Sha256__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha256__Class extends goog.crypt.Sha2__Class {
9 |
10 | /**
11 | * SHA-256 cryptographic hash constructor.
12 | *
13 | * @constructor
14 | * @extends {goog.crypt.Sha2}
15 | * @final
16 | * @struct
17 | */
18 | constructor();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha384.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha384 extends Sha384__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha384__Class extends goog.crypt.Sha2_64bit__Class {
9 |
10 | /**
11 | * Constructs a SHA-384 cryptographic hash.
12 | *
13 | * @constructor
14 | * @extends {goog.crypt.Sha2_64bit}
15 | * @final
16 | * @struct
17 | */
18 | constructor();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha512.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha512 extends Sha512__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha512__Class extends goog.crypt.Sha2_64bit__Class {
9 |
10 | /**
11 | * Constructs a SHA-512 cryptographic hash.
12 | *
13 | * @constructor
14 | * @extends {goog.crypt.Sha2_64bit}
15 | * @final
16 | * @struct
17 | */
18 | constructor();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/crypt/sha512_256.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.crypt {
5 |
6 | class Sha512_256 extends Sha512_256__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Sha512_256__Class extends goog.crypt.Sha2_64bit__Class {
9 |
10 | /**
11 | * Constructs a SHA-512/256 cryptographic hash.
12 | *
13 | * @constructor
14 | * @extends {goog.crypt.Sha2_64bit}
15 | * @final
16 | * @struct
17 | */
18 | constructor();
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/date/datelike.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.date {
5 |
6 | /**
7 | * @typedef {(Date|goog.date.Date)}
8 | */
9 | type DateLike = Date|goog.date.Date;
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/date/duration.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.date.duration {
4 |
5 | /**
6 | * Accepts a duration in milliseconds and outputs an absolute duration time in
7 | * form of "1 day", "2 hours", "20 minutes", "2 days 1 hour 15 minutes" etc.
8 | * @param {number} durationMs Duration in milliseconds.
9 | * @return {string} The formatted duration.
10 | */
11 | function format(durationMs: number): string;
12 | }
13 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/date/relativewithplurals.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/debug/devcss/devcssrunner.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/debug/error.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.debug {
4 |
5 | class Error extends Error__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class Error__Class extends _Error {
8 |
9 | /**
10 | * Base class for custom error objects.
11 | * @param {*=} opt_msg The message associated with the error.
12 | * @constructor
13 | * @extends {Error}
14 | */
15 | constructor(opt_msg?: any);
16 | }
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/debug/errorhandlerweakdep.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.debug {
4 |
5 | /**
6 | * Dummy object to work around undefined properties compiler warning.
7 | * @type {Object}
8 | */
9 | var errorHandlerWeakDep: Object;
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/autocompleteremotedata.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/autocompleterichremotedata.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/editor/deps.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/editor/equationeditor.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.demos.editor {
4 |
5 | class EquationEditor extends EquationEditor__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class EquationEditor__Class {
8 |
9 | /**
10 | * @constructor
11 | * @final
12 | */
13 | constructor();
14 |
15 | /**
16 | * Creates a new editor and opens the dialog.
17 | * @param {string} initialEquation The initial equation value to use.
18 | */
19 | openEditor(initialEquation: string): void;
20 | }
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/editor/helloworld.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.demos.editor {
5 |
6 | class HelloWorld extends HelloWorld__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class HelloWorld__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * Plugin to insert 'Hello World!' into an editable field.
12 | * @constructor
13 | * @extends {goog.editor.Plugin}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
21 | declare module goog.demos.editor.HelloWorld {
22 |
23 | /**
24 | * Commands implemented by this plugin.
25 | * @enum {string}
26 | */
27 | enum COMMAND { HELLO_WORLD }
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/editor/helloworlddialogplugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.demos.editor {
5 |
6 | class HelloWorldDialogPlugin extends HelloWorldDialogPlugin__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class HelloWorldDialogPlugin__Class extends goog.editor.plugins.AbstractDialogPlugin__Class {
9 |
10 | /**
11 | * A plugin that opens the hello world dialog.
12 | * @constructor
13 | * @extends {goog.editor.plugins.AbstractDialogPlugin}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
21 | declare module goog.demos.editor.HelloWorldDialogPlugin {
22 |
23 | /**
24 | * Commands implemented by this plugin.
25 | * @enum {string}
26 | */
27 | enum Command { HELLO_WORLD_DIALOG }
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/graphics/tigerdata.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/demos/xpc/xpcdemo.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module xpcdemo {
4 |
5 | /**
6 | * Initializes XPC in the containing page.
7 | */
8 | function initOuter(): void;
9 |
10 | /**
11 | * Initialization in the iframe.
12 | */
13 | function initInner(): void;
14 |
15 | /**
16 | * Kills the peer iframe and the disposes the channel.
17 | */
18 | function teardown(): void;
19 |
20 | /**
21 | * Logging function. Inserts log-message into element with it id 'console'.
22 | * @param {string} msgString The log-message.
23 | */
24 | function log(msgString: string): void;
25 |
26 | /**
27 | * Sends a ping request to the peer.
28 | */
29 | function ping(): void;
30 |
31 | /**
32 | * Start mousemove event forwarding. Registers a listener on the document which
33 | * sends them over the channel.
34 | */
35 | function startMousemoveForwarding(): void;
36 |
37 | /**
38 | * Stop mousemove event forwarding.
39 | */
40 | function stopMousemoveForwarding(): void;
41 |
42 | /**
43 | * Send multiple messages.
44 | * @param {number} n The number of messages to send.
45 | */
46 | function sendN(n: number): void;
47 | }
48 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/deps.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/disposable/idisposable.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.disposable {
4 |
5 | interface IDisposable {
6 |
7 | /**
8 | * Disposes of the object and its resources.
9 | * @return {void} Nothing.
10 | */
11 | dispose(): void;
12 |
13 | /**
14 | * @return {boolean} Whether the object has been disposed of.
15 | */
16 | isDisposed(): boolean;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/abstractmultirange.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.dom {
5 |
6 | class AbstractMultiRange extends AbstractMultiRange__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class AbstractMultiRange__Class extends goog.dom.AbstractRange__Class {
9 |
10 | /**
11 | * Creates a new multi range with no properties. Do not use this
12 | * constructor: use one of the goog.dom.Range.createFrom* methods instead.
13 | * @constructor
14 | * @extends {goog.dom.AbstractRange}
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/animationframe/polyfill.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom.animationFrame.polyfill {
4 |
5 | /**
6 | * Installs the requestAnimationFrame (and cancelAnimationFrame) polyfill.
7 | */
8 | var install: any /*missing*/;
9 | }
10 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/browserfeature.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom {
4 |
5 | /**
6 | * Enum of browser capabilities.
7 | * @enum {boolean}
8 | */
9 | enum BrowserFeature { CAN_ADD_NAME_OR_TYPE_ATTRIBUTES, CAN_USE_CHILDREN_ATTRIBUTE, CAN_USE_INNER_TEXT, CAN_USE_PARENT_ELEMENT_PROPERTY, INNER_HTML_NEEDS_SCOPED_ELEMENT }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/nodetype.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom {
4 |
5 | /**
6 | * Constants for the nodeType attribute in the Node interface.
7 | *
8 | * These constants match those specified in the Node interface. These are
9 | * usually present on the Node object in recent browsers, but not in older
10 | * browsers (specifically, early IEs) and thus are given here.
11 | *
12 | * In some browsers (early IEs), these are not defined on the Node object,
13 | * so they are provided here.
14 | *
15 | * See http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1950641247
16 | * @enum {number}
17 | */
18 | enum NodeType { ELEMENT, ATTRIBUTE, TEXT, CDATA_SECTION, ENTITY_REFERENCE, ENTITY, PROCESSING_INSTRUCTION, COMMENT, DOCUMENT, DOCUMENT_TYPE, DOCUMENT_FRAGMENT, NOTATION }
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/allchildren.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.dom.pattern {
5 |
6 | class AllChildren extends AllChildren__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class AllChildren__Class extends goog.dom.pattern.AbstractPattern__Class {
9 |
10 | /**
11 | * Pattern object that matches any nodes at or below the current tree depth.
12 | *
13 | * @constructor
14 | * @extends {goog.dom.pattern.AbstractPattern}
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/callback/counter.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom.pattern.callback {
4 |
5 | class Counter extends Counter__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class Counter__Class {
8 |
9 | /**
10 | * Callback class for counting matches.
11 | * @constructor
12 | * @final
13 | */
14 | constructor();
15 |
16 | /**
17 | * The count of objects matched so far.
18 | *
19 | * @type {number}
20 | */
21 | count: number;
22 |
23 | /**
24 | * Get a bound callback function that is suitable as a callback for
25 | * {@link goog.dom.pattern.Matcher}.
26 | *
27 | * @return {!Function} A callback function.
28 | */
29 | getCallback(): Function;
30 |
31 | /**
32 | * Reset the counter.
33 | */
34 | reset(): void;
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/callback/test.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom.pattern.callback {
4 |
5 | class Test extends Test__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class Test__Class {
8 |
9 | /**
10 | * Callback class for testing for at least one match.
11 | * @constructor
12 | * @final
13 | */
14 | constructor();
15 |
16 | /**
17 | * Whether or not the pattern matched.
18 | *
19 | * @type {boolean}
20 | */
21 | matched: boolean;
22 |
23 | /**
24 | * Get a bound callback function that is suitable as a callback for
25 | * {@link goog.dom.pattern.Matcher}.
26 | *
27 | * @return {!Function} A callback function.
28 | */
29 | getCallback(): Function;
30 |
31 | /**
32 | * Reset the counter.
33 | */
34 | reset(): void;
35 | }
36 |
37 | }
38 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/childmatches.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.dom.pattern {
6 |
7 | class ChildMatches extends ChildMatches__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class ChildMatches__Class extends goog.dom.pattern.AllChildren__Class {
10 |
11 | /**
12 | * Pattern object that matches any nodes at or below the current tree depth.
13 | *
14 | * @param {goog.dom.pattern.AbstractPattern} childPattern Pattern to collect
15 | * child matches of.
16 | * @param {number=} opt_minimumMatches Enforce a minimum nuber of matches.
17 | * Defaults to 0.
18 | * @constructor
19 | * @extends {goog.dom.pattern.AllChildren}
20 | * @final
21 | */
22 | constructor(childPattern: goog.dom.pattern.AbstractPattern, opt_minimumMatches?: number);
23 |
24 | /**
25 | * Array of matched child nodes.
26 | *
27 | * @type {Array.}
28 | */
29 | matches: Node[];
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/nodetype.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.dom.pattern {
6 |
7 | class NodeType extends NodeType__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class NodeType__Class extends goog.dom.pattern.AbstractPattern__Class {
10 |
11 | /**
12 | * Pattern object that matches any node of the given type.
13 | * @param {goog.dom.NodeType} nodeType The node type to match.
14 | * @constructor
15 | * @extends {goog.dom.pattern.AbstractPattern}
16 | * @final
17 | */
18 | constructor(nodeType: goog.dom.NodeType);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/pattern/text.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.dom.pattern {
5 |
6 | class Text extends Text__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Text__Class extends goog.dom.pattern.AbstractPattern__Class {
9 |
10 | /**
11 | * Pattern object that matches text by exact matching or regular expressions.
12 | *
13 | * @param {string|RegExp} match String or regular expression to match against.
14 | * @constructor
15 | * @extends {goog.dom.pattern.AbstractPattern}
16 | * @final
17 | */
18 | constructor(match: string|RegExp);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/rangeendpoint.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom {
4 |
5 | /**
6 | * Constants for selection endpoints.
7 | * @enum {number}
8 | */
9 | enum RangeEndpoint { START, END }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/tagname.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom {
4 |
5 | /**
6 | * Enum of all html tag names specified by the W3C HTML4.01 and HTML5
7 | * specifications.
8 | * @enum {string}
9 | */
10 | enum TagName { A, ABBR, ACRONYM, ADDRESS, APPLET, AREA, ARTICLE, ASIDE, AUDIO, B, BASE, BASEFONT, BDI, BDO, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CANVAS, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMAND, DATA, DATALIST, DD, DEL, DETAILS, DFN, DIALOG, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FIGCAPTION, FIGURE, FONT, FOOTER, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HEADER, HGROUP, HR, HTML, I, IFRAME, IMG, INPUT, INS, ISINDEX, KBD, KEYGEN, LABEL, LEGEND, LI, LINK, MAP, MARK, MATH, MENU, META, METER, NAV, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTGROUP, OPTION, OUTPUT, P, PARAM, PRE, PROGRESS, Q, RP, RT, RUBY, S, SAMP, SCRIPT, SECTION, SELECT, SMALL, SOURCE, SPAN, STRIKE, STRONG, STYLE, SUB, SUMMARY, SUP, SVG, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TIME, TITLE, TR, TRACK, TT, U, UL, VAR, VIDEO, WBR }
11 | }
12 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/tags.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom.tags {
4 |
5 | /**
6 | * Checks whether the tag is void (with no contents allowed and no legal end
7 | * tag), for example 'br'.
8 | * @param {string} tagName The tag name in lower case.
9 | * @return {boolean}
10 | */
11 | function isVoidTag(tagName: string): boolean;
12 | }
13 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/dom/vendor.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.dom.vendor {
4 |
5 | /**
6 | * Returns the JS vendor prefix used in CSS properties. Different vendors
7 | * use different methods of changing the case of the property names.
8 | *
9 | * @return {?string} The JS vendor prefix or null if there is none.
10 | */
11 | function getVendorJsPrefix(): string;
12 |
13 | /**
14 | * Returns the vendor prefix used in CSS properties.
15 | *
16 | * @return {?string} The vendor prefix or null if there is none.
17 | */
18 | function getVendorPrefix(): string;
19 |
20 | /**
21 | * @param {string} propertyName A property name.
22 | * @param {!Object=} opt_object If provided, we verify if the property exists in
23 | * the object.
24 | * @return {?string} A vendor prefixed property name, or null if it does not
25 | * exist.
26 | */
27 | function getPrefixedPropertyName(propertyName: string, opt_object?: Object): string;
28 |
29 | /**
30 | * @param {string} eventType An event type.
31 | * @return {string} A lower-cased vendor prefixed event type.
32 | */
33 | function getPrefixedEventType(eventType: string): string;
34 | }
35 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/browserfeature.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.editor {
4 |
5 | /**
6 | * Maps browser quirks to boolean values, detailing what the current
7 | * browser supports.
8 | * @type {Object}
9 | */
10 | var BrowserFeature: Object;
11 | }
12 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/command.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.editor {
4 |
5 | /**
6 | * Commands that the editor can excute via execCommand or queryCommandValue.
7 | * @enum {string}
8 | */
9 | enum Command { UNDO, REDO, LINK, FORMAT_BLOCK, INDENT, OUTDENT, REMOVE_FORMAT, STRIKE_THROUGH, HORIZONTAL_RULE, SUBSCRIPT, SUPERSCRIPT, UNDERLINE, BOLD, ITALIC, FONT_SIZE, FONT_FACE, FONT_COLOR, EMOTICON, EQUATION, BACKGROUND_COLOR, ORDERED_LIST, UNORDERED_LIST, TABLE, JUSTIFY_CENTER, JUSTIFY_FULL, JUSTIFY_RIGHT, JUSTIFY_LEFT, BLOCKQUOTE, DIR_LTR, DIR_RTL, IMAGE, EDIT_HTML, UPDATE_LINK_BUBBLE, DEFAULT_TAG, CLEAR_LOREM, UPDATE_LOREM, USING_LOREM, MODAL_LINK_EDITOR }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/contenteditablefield.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor {
5 |
6 | class ContentEditableField extends ContentEditableField__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class ContentEditableField__Class extends goog.editor.Field__Class {
9 |
10 | /**
11 | * This class encapsulates an editable field that is just a contentEditable
12 | * div.
13 | *
14 | * To see events fired by this object, please see the base class.
15 | *
16 | * @param {string} id An identifer for the field. This is used to find the
17 | * field and the element associated with this field.
18 | * @param {Document=} opt_doc The document that the element with the given
19 | * id can be found in.
20 | * @constructor
21 | * @extends {goog.editor.Field}
22 | */
23 | constructor(id: string, opt_doc?: Document);
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/defines.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/focus.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.editor.focus {
4 |
5 | /**
6 | * Change focus to the given input field and set cursor to end of current text.
7 | * @param {Element} inputElem Input DOM element.
8 | */
9 | function focusInputField(inputElem: Element): void;
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/abstracttabhandler.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.editor.plugins {
6 |
7 | class AbstractTabHandler extends AbstractTabHandler__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class AbstractTabHandler__Class extends goog.editor.Plugin__Class {
10 |
11 | /**
12 | * Plugin to handle tab keys. Specific tab behavior defined by subclasses.
13 | *
14 | * @constructor
15 | * @extends {goog.editor.Plugin}
16 | */
17 | constructor();
18 |
19 | /**
20 | * Handle a tab key press.
21 | * @param {goog.events.Event} e The key event.
22 | * @return {boolean} Whether this event was handled by this plugin.
23 | * @protected
24 | */
25 | handleTabKey(e: goog.events.Event): boolean;
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/basictextformatter.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class BasicTextFormatter extends BasicTextFormatter__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class BasicTextFormatter__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * Functions to style text (e.g. underline, make bold, etc.)
12 | * @constructor
13 | * @extends {goog.editor.Plugin}
14 | */
15 | constructor();
16 | }
17 |
18 | }
19 |
20 | declare module goog.editor.plugins.BasicTextFormatter {
21 |
22 | /**
23 | * Commands implemented by this plugin.
24 | * @enum {string}
25 | */
26 | enum COMMAND { LINK, FORMAT_BLOCK, INDENT, OUTDENT, STRIKE_THROUGH, HORIZONTAL_RULE, SUBSCRIPT, SUPERSCRIPT, UNDERLINE, BOLD, ITALIC, FONT_SIZE, FONT_FACE, FONT_COLOR, BACKGROUND_COLOR, ORDERED_LIST, UNORDERED_LIST, JUSTIFY_CENTER, JUSTIFY_FULL, JUSTIFY_RIGHT, JUSTIFY_LEFT }
27 | }
28 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/emoticons.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class Emoticons extends Emoticons__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class Emoticons__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * Plugin for generating emoticons.
12 | *
13 | * @constructor
14 | * @extends {goog.editor.Plugin}
15 | * @final
16 | */
17 | constructor();
18 | }
19 |
20 | }
21 |
22 | declare module goog.editor.plugins.Emoticons {
23 |
24 | /** The emoticon command. */
25 | var COMMAND: any /*missing*/;
26 | }
27 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/equationeditorbubble.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins.equation {
5 |
6 | class EquationBubble extends EquationBubble__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class EquationBubble__Class extends goog.editor.plugins.AbstractBubblePlugin__Class {
9 |
10 | /**
11 | * Property bubble plugin for equations.
12 | *
13 | * @constructor
14 | * @extends {goog.editor.plugins.AbstractBubblePlugin}
15 | * @final
16 | */
17 | constructor();
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/equationeditorplugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class EquationEditorPlugin extends EquationEditorPlugin__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class EquationEditorPlugin__Class extends goog.editor.plugins.AbstractDialogPlugin__Class {
9 |
10 | /**
11 | * A plugin that opens the equation editor in a dialog window.
12 | * @param {string=} opt_helpUrl A URL pointing to help documentation.
13 | * @constructor
14 | * @extends {goog.editor.plugins.AbstractDialogPlugin}
15 | * @final
16 | */
17 | constructor(opt_helpUrl?: string);
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/firststrong.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class FirstStrong extends FirstStrong__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class FirstStrong__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * First Strong plugin.
12 | * @constructor
13 | * @extends {goog.editor.Plugin}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
21 | declare module goog.editor.plugins.FirstStrong {
22 |
23 | /**
24 | * The name of the attribute which records the input text.
25 | *
26 | * @type {string}
27 | * @const
28 | */
29 | var INPUT_ATTRIBUTE: string;
30 | }
31 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/headerformatter.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class HeaderFormatter extends HeaderFormatter__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class HeaderFormatter__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * Applies header styles to text.
12 | * @constructor
13 | * @extends {goog.editor.Plugin}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
21 | declare module goog.editor.plugins.HeaderFormatter {
22 |
23 | /**
24 | * Commands that can be passed as the optional argument to execCommand.
25 | * @enum {string}
26 | */
27 | enum HEADER_COMMAND { H1, H2, H3, H4 }
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/linkshortcutplugin.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class LinkShortcutPlugin extends LinkShortcutPlugin__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class LinkShortcutPlugin__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * Plugin to add a keyboard shortcut for the link command
12 | * @constructor
13 | * @extends {goog.editor.Plugin}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/listtabhandler.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class ListTabHandler extends ListTabHandler__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class ListTabHandler__Class extends goog.editor.plugins.AbstractTabHandler__Class {
9 |
10 | /**
11 | * Plugin to handle tab keys in lists to indent and outdent.
12 | * @constructor
13 | * @extends {goog.editor.plugins.AbstractTabHandler}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/loremipsum.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class LoremIpsum extends LoremIpsum__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class LoremIpsum__Class extends goog.editor.Plugin__Class {
9 |
10 | /**
11 | * A plugin that manages lorem ipsum state of editable fields.
12 | * @param {string} message The lorem ipsum message.
13 | * @constructor
14 | * @extends {goog.editor.Plugin}
15 | * @final
16 | */
17 | constructor(message: string);
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/spacestabhandler.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.editor.plugins {
5 |
6 | class SpacesTabHandler extends SpacesTabHandler__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class SpacesTabHandler__Class extends goog.editor.plugins.AbstractTabHandler__Class {
9 |
10 | /**
11 | * Plugin to handle tab keys when not in lists to add 4 spaces.
12 | * @constructor
13 | * @extends {goog.editor.plugins.AbstractTabHandler}
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/editor/plugins/tagonenterhandler.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.editor.plugins {
6 |
7 | class TagOnEnterHandler extends TagOnEnterHandler__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class TagOnEnterHandler__Class extends goog.editor.plugins.EnterHandler__Class {
10 |
11 | /**
12 | * Plugin to handle enter keys. This subclass normalizes all browsers to use
13 | * the given block tag on enter.
14 | * @param {goog.dom.TagName} tag The type of tag to add on enter.
15 | * @constructor
16 | * @extends {goog.editor.plugins.EnterHandler}
17 | */
18 | constructor(tag: goog.dom.TagName);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/events/browserfeature.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.events {
4 |
5 | /**
6 | * Enum of browser capabilities.
7 | * @enum {boolean}
8 | */
9 | enum BrowserFeature { HAS_W3C_BUTTON, HAS_W3C_EVENT_SUPPORT, SET_KEY_CODE_TO_PREVENT_DEFAULT, HAS_NAVIGATOR_ONLINE_PROPERTY, HAS_HTML5_NETWORK_EVENT_SUPPORT, HTML5_NETWORK_EVENTS_FIRE_ON_BODY, TOUCH_ENABLED }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/events/eventid.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.events {
4 |
5 | class EventId extends EventId__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class EventId__Class {
8 |
9 | /**
10 | * A templated class that is used when registering for events. Typical usage:
11 | *
12 | * /** @type {goog.events.EventId.}
13 | * var myEventId = new goog.events.EventId(
14 | * goog.events.getUniqueId(('someEvent'));
15 | *
16 | * // No need to cast or declare here since the compiler knows the correct
17 | * // type of 'evt' (MyEventObj).
18 | * something.listen(myEventId, function(evt) {});
19 | *
20 | *
21 | * @param {string} eventId
22 | * @template T
23 | * @constructor
24 | * @struct
25 | * @final
26 | */
27 | constructor(eventId: string);
28 |
29 | /** @const */
30 | id: any /*missing*/;
31 | }
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/events/onlinehandler.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.events {
6 |
7 | class OnlineHandler extends OnlineHandler__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class OnlineHandler__Class extends goog.events.EventTarget__Class implements goog.net.NetworkStatusMonitor {
10 |
11 | /**
12 | * Basic object for detecting whether the online state changes.
13 | * @constructor
14 | * @extends {goog.events.EventTarget}
15 | * @implements {goog.net.NetworkStatusMonitor}
16 | */
17 | constructor();
18 |
19 | /**
20 | * @return {boolean} Whether the system is online or otherwise.
21 | */
22 | isOnline(): boolean;
23 | }
24 |
25 | }
26 |
27 | declare module goog.events.OnlineHandler {
28 |
29 | /**
30 | * Enum for the events dispatched by the OnlineHandler.
31 | * @enum {string}
32 | * @deprecated Use goog.net.NetworkStatusMonitor.EventType instead.
33 | */
34 | enum EventType { ONLINE, OFFLINE }
35 | }
36 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/fs/filesystem.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.fs {
5 |
6 | interface FileSystem {
7 |
8 | /**
9 | * @return {string} The name of the filesystem.
10 | */
11 | getName(): string;
12 |
13 | /**
14 | * @return {!goog.fs.DirectoryEntry} The root directory of the filesystem.
15 | */
16 | getRoot(): goog.fs.DirectoryEntry;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/fx/dragdrop.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.fx {
5 |
6 | class DragDrop extends DragDrop__Class { }
7 | /** Fake class which should be extended to avoid inheriting static properties */
8 | class DragDrop__Class extends goog.fx.AbstractDragDrop__Class {
9 |
10 | /**
11 | * Drag/drop implementation for creating drag sources/drop targets consisting of
12 | * a single HTML Element.
13 | *
14 | * @param {Element|string} element Dom Node, or string representation of node
15 | * id, to be used as drag source/drop target.
16 | * @param {Object=} opt_data Data associated with the source/target.
17 | * @throws Error If no element argument is provided or if the type is invalid
18 | * @extends {goog.fx.AbstractDragDrop}
19 | * @constructor
20 | */
21 | constructor(element: Element|string, opt_data?: Object);
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/fx/easing.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.fx.easing {
4 |
5 | /**
6 | * Ease in - Start slow and speed up.
7 | * @param {number} t Input between 0 and 1.
8 | * @return {number} Output between 0 and 1.
9 | */
10 | function easeIn(t: number): number;
11 |
12 | /**
13 | * Ease out - Start fastest and slows to a stop.
14 | * @param {number} t Input between 0 and 1.
15 | * @return {number} Output between 0 and 1.
16 | */
17 | function easeOut(t: number): number;
18 |
19 | /**
20 | * Ease out long - Start fastest and slows to a stop with a long ease.
21 | * @param {number} t Input between 0 and 1.
22 | * @return {number} Output between 0 and 1.
23 | */
24 | function easeOutLong(t: number): number;
25 |
26 | /**
27 | * Ease in and out - Start slow, speed up, then slow down.
28 | * @param {number} t Input between 0 and 1.
29 | * @return {number} Output between 0 and 1.
30 | */
31 | function inAndOut(t: number): number;
32 | }
33 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/fx/fx.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/fx/transition.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.fx {
4 |
5 | interface Transition {
6 |
7 | /**
8 | * Plays the transition.
9 | */
10 | play: any /*missing*/;
11 |
12 | /**
13 | * Stops the transition.
14 | */
15 | stop: any /*missing*/;
16 | }
17 | }
18 |
19 | declare module goog.fx.Transition {
20 |
21 | /**
22 | * Transition event types.
23 | * @enum {string}
24 | */
25 | enum EventType { PLAY, BEGIN, RESUME, END, STOP, FINISH, PAUSE }
26 | }
27 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/ext/ellipse.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.graphics.ext {
6 |
7 | class Ellipse extends Ellipse__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class Ellipse__Class extends goog.graphics.ext.StrokeAndFillElement__Class {
10 |
11 | /**
12 | * Wrapper for a graphics ellipse element.
13 | * @param {goog.graphics.ext.Group} group Parent for this element.
14 | * @constructor
15 | * @extends {goog.graphics.ext.StrokeAndFillElement}
16 | * @final
17 | */
18 | constructor(group: goog.graphics.ext.Group);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/ext/ext.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/ext/image.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.graphics.ext {
6 |
7 | class Image extends Image__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class Image__Class extends goog.graphics.ext.Element__Class {
10 |
11 | /**
12 | * Wrapper for a graphics image element.
13 | * @param {goog.graphics.ext.Group} group Parent for this element.
14 | * @param {string} src The path to the image to display.
15 | * @constructor
16 | * @extends {goog.graphics.ext.Element}
17 | * @final
18 | */
19 | constructor(group: goog.graphics.ext.Group, src: string);
20 |
21 | /**
22 | * Update the source of the image.
23 | * @param {string} src Source of the image.
24 | */
25 | setSource(src: string): void;
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/ext/rectangle.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.graphics.ext {
6 |
7 | class Rectangle extends Rectangle__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class Rectangle__Class extends goog.graphics.ext.StrokeAndFillElement__Class {
10 |
11 | /**
12 | * Wrapper for a graphics rectangle element.
13 | * @param {goog.graphics.ext.Group} group Parent for this element.
14 | * @constructor
15 | * @extends {goog.graphics.ext.StrokeAndFillElement}
16 | * @final
17 | */
18 | constructor(group: goog.graphics.ext.Group);
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/fill.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.graphics {
4 |
5 | class Fill extends Fill__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class Fill__Class {
8 |
9 | /**
10 | * Creates a fill object
11 | * @constructor
12 | * @deprecated goog.graphics is deprecated. It existed to abstract over browser
13 | * differences before the canvas tag was widely supported. See
14 | * http://en.wikipedia.org/wiki/Canvas_element for details.
15 | */
16 | constructor();
17 |
18 | /**
19 | * @return {string} The start color of a gradient fill.
20 | */
21 | getColor1(): string;
22 |
23 | /**
24 | * @return {string} The end color of a gradient fill.
25 | */
26 | getColor2(): string;
27 | }
28 |
29 | }
30 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/paths.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.graphics.paths {
6 |
7 | /**
8 | * Defines a regular n-gon by specifing the center, a vertex, and the total
9 | * number of vertices.
10 | * @param {goog.math.Coordinate} center The center point.
11 | * @param {goog.math.Coordinate} vertex The vertex, which implicitly defines
12 | * a radius as well.
13 | * @param {number} n The number of vertices.
14 | * @return {!goog.graphics.Path} The path.
15 | */
16 | function createRegularNGon(center: goog.math.Coordinate, vertex: goog.math.Coordinate, n: number): goog.graphics.Path;
17 |
18 | /**
19 | * Defines an arrow.
20 | * @param {goog.math.Coordinate} a Point A.
21 | * @param {goog.math.Coordinate} b Point B.
22 | * @param {?number} aHead The size of the arrow head at point A.
23 | * 0 omits the head.
24 | * @param {?number} bHead The size of the arrow head at point B.
25 | * 0 omits the head.
26 | * @return {!goog.graphics.Path} The path.
27 | */
28 | function createArrow(a: goog.math.Coordinate, b: goog.math.Coordinate, aHead: number, bHead: number): goog.graphics.Path;
29 | }
30 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/graphics/stroke.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.graphics {
4 |
5 | class Stroke extends Stroke__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class Stroke__Class {
8 |
9 | /**
10 | * Creates an immutable stroke object.
11 | *
12 | * @param {number|string} width The width of the stroke.
13 | * @param {string} color The color of the stroke.
14 | * @constructor
15 | * @deprecated goog.graphics is deprecated. It existed to abstract over browser
16 | * differences before the canvas tag was widely supported. See
17 | * http://en.wikipedia.org/wiki/Canvas_element for details.
18 | */
19 | constructor(width: number|string, color: string);
20 |
21 | /**
22 | * @return {number|string} The width of this stroke.
23 | */
24 | getWidth(): number|string;
25 |
26 | /**
27 | * @return {string} The color of this stroke.
28 | */
29 | getColor(): string;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/history/eventtype.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.history {
4 |
5 | /**
6 | * Event types for goog.history.
7 | * @enum {string}
8 | */
9 | enum EventType { NAVIGATE }
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/html/utils.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.html.utils {
4 |
5 | /**
6 | * Extracts text from HTML.
7 | * Block-level elements such as div are surrounded with whitespace,
8 | * but inline elements are not. Span is treated as a block level element
9 | * because it is often used as a container.
10 | * Breaking spaces are compressed and trimmed.
11 | *
12 | * @param {string} value The input HTML to have tags removed.
13 | * @return {string} A representation of value without tags, HTML comments, or
14 | * other non-text content.
15 | */
16 | function stripHtmlTags(value: string): string;
17 | }
18 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/charlistdecompressor.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n {
4 |
5 | class CharListDecompressor extends CharListDecompressor__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class CharListDecompressor__Class {
8 |
9 | /**
10 | * Class to decompress base88 compressed character list.
11 | * @constructor
12 | * @final
13 | */
14 | constructor();
15 |
16 | /**
17 | * Gets the list of characters specified in the given string by base 88 scheme.
18 | * @param {string} str The string encoding character list.
19 | * @return {!Array.} The list of characters specified by the given
20 | * string in base 88 scheme.
21 | */
22 | toCharList(str: string): string[];
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/collation.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n.collation {
4 |
5 | /**
6 | * Returns the comparator for a locale. If a locale is not explicitly specified,
7 | * a comparator for the user's locale will be returned. Note that if the browser
8 | * does not support locale-sensitive string comparisons, the comparator returned
9 | * will be a simple codepoint comparator.
10 | *
11 | * @param {string=} opt_locale the locale that the comparator is used for.
12 | * @return {function(string, string): number} The locale-specific comparator.
13 | */
14 | function createComparator(opt_locale?: string): { (_0: string, _1: string): number };
15 |
16 | /**
17 | * Returns true if a locale-sensitive comparator is available for a locale. If
18 | * a locale is not explicitly specified, the user's locale is used instead.
19 | *
20 | * @param {string=} opt_locale The locale to be checked.
21 | * @return {boolean} Whether there is a locale-sensitive comparator available
22 | * for the locale.
23 | */
24 | function hasNativeComparator(opt_locale?: string): boolean;
25 | }
26 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/currencycodemap.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n {
4 |
5 | /**
6 | * The mapping of currency symbol through intl currency code.
7 | * The source of information is mostly from wikipedia and CLDR. Since there is
8 | * no authoritive source, items are judged by personal perception.
9 |
10 | * If an application need currency support that available in tier2, it
11 | * should extend currencyCodeMap to include tier2 data by doing this:
12 | * goog.object.extend(goog.i18n.currencyCodeMap,
13 | * goog.i18n.currencyCodeMapTier2);
14 | *
15 | * @type {Object}
16 | * @const
17 | */
18 | var currencyCodeMap: Object;
19 |
20 | /**
21 | * This group of currency data is unlikely to be used. In case they are,
22 | * program need to merge it into goog.locale.CurrencyCodeMap.
23 | *
24 | * @type {Object}
25 | * @const
26 | */
27 | var currencyCodeMapTier2: Object;
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/mime.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n.mime {
4 |
5 | /**
6 | * Encodes a string for inclusion in a MIME header. The string is encoded
7 | * in UTF-8 according to RFC 1522, using quoted-printable form.
8 | * @param {string} str The string to encode.
9 | * @param {boolean=} opt_noquote Whether double-quote characters should also
10 | * be escaped (should be true if the result will be placed inside a
11 | * quoted string for a parameter value in a MIME header).
12 | * @return {string} The encoded string.
13 | */
14 | function encode(str: string, opt_noquote?: boolean): string;
15 |
16 | /**
17 | * Get an array of UTF-8 hex codes for a given character.
18 | * @param {string} c The matched character.
19 | * @return {!Array.} A hex array representing the character.
20 | */
21 | function getHexCharArray(c: string): string[];
22 | }
23 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/ordinalrules.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n.ordinalRules {
4 |
5 | /**
6 | * Ordinal pattern keyword
7 | * @enum {string}
8 | */
9 | enum Keyword { ZERO, ONE, TWO, FEW, MANY, OTHER }
10 |
11 | /**
12 | * Selected Ordinal rules by locale.
13 | */
14 | var select: any /*missing*/;
15 | }
16 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/i18n/pluralrules.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.i18n.pluralRules {
4 |
5 | /**
6 | * Plural pattern keyword
7 | * @enum {string}
8 | */
9 | enum Keyword { ZERO, ONE, TWO, FEW, MANY, OTHER }
10 |
11 | /**
12 | * Selected Plural rules by locale.
13 | */
14 | var select: any /*missing*/;
15 | }
16 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/json/hybrid.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.json.hybrid {
4 |
5 | /**
6 | * Attempts to serialize the JSON string natively, falling back to
7 | * {@code goog.json.serialize} if unsuccessful.
8 | * @param {!Object} obj JavaScript object to serialize to JSON.
9 | * @return {string} Resulting JSON string.
10 | */
11 | function stringify(obj: Object): string;
12 |
13 | /**
14 | * Attempts to parse the JSON string natively, falling back to
15 | * {@code goog.json.parse} if unsuccessful.
16 | * @param {string} jsonString JSON string to parse.
17 | * @return {!Object} Resulting JSON object.
18 | */
19 | function parse(jsonString: string): Object;
20 |
21 | /**
22 | * Attempts to parse the JSON string natively, falling back to
23 | * {@code goog.json.unsafeParse} if unsuccessful.
24 | * @param {string} jsonString JSON string to parse.
25 | * @return {!Object} Resulting JSON object.
26 | */
27 | function unsafeParse(jsonString: string): Object;
28 | }
29 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/json/processor.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.json {
6 |
7 | interface Processor extends goog.string.Parser, goog.string.Stringifier {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/dom/pagevisibilitymonitor.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/events/touch.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.events.touch {
4 |
5 | /**
6 | * Description the geometry and target of an event.
7 | *
8 | * @typedef {{
9 | * clientX: number,
10 | * clientY: number,
11 | * screenX: number,
12 | * screenY: number,
13 | * target: EventTarget
14 | * }}
15 | */
16 | interface TouchData {
17 | clientX: number;
18 | clientY: number;
19 | screenX: number;
20 | screenY: number;
21 | target: EventTarget
22 | }
23 |
24 | /**
25 | * Takes a mouse or touch event and returns the relevent geometry and target
26 | * data.
27 | * @param {!Event} e A mouse or touch event.
28 | * @return {!goog.labs.events.touch.TouchData}
29 | */
30 | function getTouchData(e: Event): goog.labs.events.touch.TouchData;
31 | }
32 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/image.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.labs.net.image {
5 |
6 | /**
7 | * Loads a single image. Useful for preloading images.
8 | *
9 | * @param {string} uri URI of the image.
10 | * @param {(!Image|function(): !Image)=} opt_image If present, instead of
11 | * creating a new Image instance the function will use the passed Image
12 | * instance or the result of calling the Image factory respectively. This
13 | * can be used to control exactly how Image instances are created, for
14 | * example if they should be created in a particular document element, or
15 | * have fields that will trigger CORS image fetches.
16 | * @return {!goog.Promise.} A Promise that will be resolved with the
17 | * given image if the image successfully loads.
18 | */
19 | function load(uri: string, opt_image?: Image|{ (): Image }): goog.Promise;
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/basetestchannel.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.labs.net.webChannel {
6 |
7 | class BaseTestChannel extends BaseTestChannel__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class BaseTestChannel__Class implements goog.labs.net.webChannel.Channel {
10 |
11 | /**
12 | * A TestChannel is used during the first part of channel negotiation
13 | * with the server to create the channel. It helps us determine whether we're
14 | * behind a buffering proxy.
15 | *
16 | * @constructor
17 | * @struct
18 | * @param {!goog.labs.net.webChannel.Channel} channel The channel
19 | * that owns this test channel.
20 | * @param {!goog.labs.net.webChannel.WebChannelDebug} channelDebug A
21 | * WebChannelDebug instance to use for logging.
22 | * @implements {goog.labs.net.webChannel.Channel}
23 | */
24 | constructor(channel: goog.labs.net.webChannel.Channel, channelDebug: goog.labs.net.webChannel.WebChannelDebug);
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/channel.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | interface Channel {
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/connectionstate.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | class ConnectionState extends ConnectionState__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class ConnectionState__Class {
8 |
9 | /**
10 | * The connectivity state of the channel.
11 | *
12 | * @constructor
13 | * @struct
14 | */
15 | constructor();
16 |
17 | /**
18 | * Handshake result.
19 | * @type {Array.}
20 | */
21 | handshakeResult: string[];
22 |
23 | /**
24 | * The result of checking if there is a buffering proxy in the network.
25 | * True means the connection is buffered, False means unbuffered,
26 | * null means that the result is not available.
27 | * @type {?boolean}
28 | */
29 | bufferingProxyResult: boolean;
30 | }
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/forwardchannelrequestpool.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | class ForwardChannelRequestPool extends ForwardChannelRequestPool__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class ForwardChannelRequestPool__Class {
8 |
9 | /**
10 | * This class represents the state of all forward channel requests.
11 | *
12 | * @param {number=} opt_maxPoolSize The maximum pool size.
13 | *
14 | * @constructor
15 | * @final
16 | */
17 | constructor(opt_maxPoolSize?: number);
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/netutils.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/requeststats.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/webchanneldebug.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | class WebChannelDebug extends WebChannelDebug__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class WebChannelDebug__Class {
8 |
9 | /**
10 | * Logs and keeps a buffer of debugging info for the Channel.
11 | *
12 | * @constructor
13 | * @struct
14 | * @final
15 | */
16 | constructor();
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/wire.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | interface Wire {
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchannel/wirev8.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.net.webChannel {
4 |
5 | class WireV8 extends WireV8__Class { }
6 | /** Fake class which should be extended to avoid inheriting static properties */
7 | class WireV8__Class {
8 |
9 | /**
10 | * The v8 codec class.
11 | *
12 | * @constructor
13 | * @struct
14 | */
15 | constructor();
16 | }
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchanneltransport.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.net {
5 |
6 | interface WebChannelTransport {
7 |
8 | /**
9 | * Create a new WebChannel instance.
10 | *
11 | * The new WebChannel is to be opened against the server-side resource
12 | * as specified by the given URL. See {@link goog.net.WebChannel} for detailed
13 | * semantics.
14 | *
15 | * @param {string} url The URL path for the new WebChannel instance.
16 | * @param {!goog.net.WebChannel.Options=} opt_options Configuration for the
17 | * new WebChannel instance. The configuration object is reusable after
18 | * the new channel instance is created.
19 | * @return {!goog.net.WebChannel} the newly created WebChannel instance.
20 | */
21 | createWebChannel(url: string, opt_options?: goog.net.WebChannel.Options): goog.net.WebChannel;
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/webchanneltransportfactory.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 |
4 | declare module goog.net {
5 |
6 | /**
7 | * Create a new WebChannelTransport instance using the default implementation.
8 | *
9 | * @return {!goog.net.WebChannelTransport} the newly created transport instance.
10 | */
11 | function createWebChannelTransport(): goog.net.WebChannelTransport;
12 | }
13 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/net/xhr.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/object/object.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.object {
4 |
5 | /**
6 | * Whether two values are not observably distinguishable. This
7 | * correctly detects that 0 is not the same as -0 and two NaNs are
8 | * practically equivalent.
9 | *
10 | * The implementation is as suggested by harmony:egal proposal.
11 | *
12 | * @param {*} v The first value to compare.
13 | * @param {*} v2 The second value to compare.
14 | * @return {boolean} Whether two values are not observably distinguishable.
15 | * @see http://wiki.ecmascript.org/doku.php?id=harmony:egal
16 | */
17 | function is(v: any, v2: any): boolean;
18 | }
19 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/storage/boundedcollectablestorage.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/testing/assertthat.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 | ///
3 | ///
4 |
5 | declare module goog.labs.testing {
6 |
7 | class MatcherError extends MatcherError__Class { }
8 | /** Fake class which should be extended to avoid inheriting static properties */
9 | class MatcherError__Class extends goog.debug.Error__Class {
10 |
11 | /**
12 | * Error thrown when a Matcher fails to match the input value.
13 | * @param {string=} opt_message The error message.
14 | * @constructor
15 | * @extends {goog.debug.Error}
16 | * @final
17 | */
18 | constructor(opt_message?: string);
19 | }
20 |
21 |
22 | /**
23 | * Asserts that the actual value evaluated by the matcher is true.
24 | *
25 | * @param {*} actual The object to assert by the matcher.
26 | * @param {!goog.labs.testing.Matcher} matcher A matcher to verify values.
27 | * @param {string=} opt_reason Description of what is asserted.
28 | *
29 | */
30 | function assertThat(actual: any, matcher: goog.labs.testing.Matcher, opt_reason?: string): void;
31 | }
32 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/useragent/device.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.userAgent.device {
4 |
5 | /**
6 | * Currently we detect the iPhone, iPod and Android mobiles (devices that have
7 | * both Android and Mobile in the user agent string).
8 | *
9 | * @return {boolean} Whether the user is using a mobile device.
10 | */
11 | function isMobile(): boolean;
12 |
13 | /**
14 | * Currently we detect Kindle Fire, iPad, and Android tablets (devices that have
15 | * Android but not Mobile in the user agent string).
16 | *
17 | * @return {boolean} Whether the user is using a tablet.
18 | */
19 | function isTablet(): boolean;
20 |
21 | /**
22 | * @return {boolean} Whether the user is using a desktop computer (which we
23 | * assume to be the case if they are not using either a mobile or tablet
24 | * device).
25 | */
26 | function isDesktop(): boolean;
27 | }
28 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/useragent/engine.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.labs.userAgent.engine {
4 |
5 | /**
6 | * @return {boolean} Whether the rendering engine is Presto.
7 | */
8 | function isPresto(): boolean;
9 |
10 | /**
11 | * @return {boolean} Whether the rendering engine is Trident.
12 | */
13 | function isTrident(): boolean;
14 |
15 | /**
16 | * @return {boolean} Whether the rendering engine is WebKit.
17 | */
18 | function isWebKit(): boolean;
19 |
20 | /**
21 | * @return {boolean} Whether the rendering engine is Gecko.
22 | */
23 | function isGecko(): boolean;
24 |
25 | /**
26 | * @return {string} The rendering engine's version or empty string if version
27 | * can't be determined.
28 | */
29 | function getVersion(): string;
30 |
31 | /**
32 | * @param {string|number} version The version to check.
33 | * @return {boolean} Whether the rendering engine version is higher or the same
34 | * as the given version.
35 | */
36 | function isVersionOrHigher(version: string|number): boolean;
37 | }
38 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/labs/useragent/test_agents.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/locale/countries.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.locale {
4 |
5 | /**
6 | * List of codes for countries valid today.
7 | * @type {Array}
8 | */
9 | var countries: any[];
10 | }
11 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/locale/defaultlocalenameconstants.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.locale {
4 |
5 | /**
6 | * Default list of locale specific country and language names
7 | */
8 | var defaultLocaleNameConstants: any /*missing*/;
9 | }
10 |
--------------------------------------------------------------------------------
/index/closure-library/closure/goog/locale/genericfontnames.d.ts:
--------------------------------------------------------------------------------
1 | ///
2 |
3 | declare module goog.locale.genericFontNames {
4 |
5 | /**
6 | * Gets the list of fonts and their generic names for the given locale.
7 | * @param {string} locale The locale for which font lists and font family names
8 | * to be produced. The expected locale id is as described in
9 | * http://wiki/Main/IIISynonyms in all lowercase for easy matching.
10 | * Smallest possible id is expected.
11 | * Examples: 'zh', 'zh-tw', 'iw' instead of 'zh-CN', 'zh-Hant-TW', 'he'.
12 | * @return {Array.