| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 636 /** | 636 /** |
| 637 * @param {string} text | 637 * @param {string} text |
| 638 * @param {Object.<string, boolean>} options | 638 * @param {Object.<string, boolean>} options |
| 639 * @return {!Acorn.Tokenizer} | 639 * @return {!Acorn.Tokenizer} |
| 640 */ | 640 */ |
| 641 tokenizer: function(text, options) {}, | 641 tokenizer: function(text, options) {}, |
| 642 | 642 |
| 643 tokTypes: { | 643 tokTypes: { |
| 644 _true: new Acorn.TokenType(), | 644 _true: new Acorn.TokenType(), |
| 645 _false: new Acorn.TokenType(), | 645 _false: new Acorn.TokenType(), |
| 646 _null: new Acorn.TokenType(), |
| 646 num: new Acorn.TokenType(), | 647 num: new Acorn.TokenType(), |
| 647 regexp: new Acorn.TokenType(), | 648 regexp: new Acorn.TokenType(), |
| 648 string: new Acorn.TokenType(), | 649 string: new Acorn.TokenType(), |
| 649 name: new Acorn.TokenType(), | 650 name: new Acorn.TokenType(), |
| 650 eof: new Acorn.TokenType() | 651 eof: new Acorn.TokenType() |
| 651 } | 652 } |
| 652 }; | 653 }; |
| 653 | 654 |
| 654 var Acorn = {}; | 655 var Acorn = {}; |
| 655 /** | 656 /** |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 /** @type {(string|!Array<!Gonzales.Node>)} */ | 770 /** @type {(string|!Array<!Gonzales.Node>)} */ |
| 770 this.content; | 771 this.content; |
| 771 } | 772 } |
| 772 | 773 |
| 773 /** | 774 /** |
| 774 * @type {string} | 775 * @type {string} |
| 775 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object | 776 * @see http://heycam.github.io/webidl/#es-DOMException-prototype-object |
| 776 * TODO(jsbell): DOMException should be a subclass of Error. | 777 * TODO(jsbell): DOMException should be a subclass of Error. |
| 777 */ | 778 */ |
| 778 DOMException.prototype.message; | 779 DOMException.prototype.message; |
| OLD | NEW |