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 28 matching lines...) Expand all Loading... |
39 /** | 39 /** |
40 * @param {number} lineNumber | 40 * @param {number} lineNumber |
41 * @param {number} columnNumber | 41 * @param {number} columnNumber |
42 * @return {Object} | 42 * @return {Object} |
43 */ | 43 */ |
44 compiledLocationToSourceLocation: function(lineNumber, columnNumber) { }, | 44 compiledLocationToSourceLocation: function(lineNumber, columnNumber) { }, |
45 | 45 |
46 /** | 46 /** |
47 * @param {string} sourceURL | 47 * @param {string} sourceURL |
48 * @param {number} lineNumber | 48 * @param {number} lineNumber |
49 * @param {number} columnNumber | |
50 * @return {Object} | 49 * @return {Object} |
51 */ | 50 */ |
52 sourceLocationToCompiledLocation: function(sourceURL, lineNumber, columnNumb
er) { }, | 51 sourceLocationToCompiledLocation: function(sourceURL, lineNumber) { }, |
53 | 52 |
54 /** | 53 /** |
55 * @return {Array.<string>} | 54 * @return {Array.<string>} |
56 */ | 55 */ |
57 sources: function() { } | 56 sources: function() { } |
58 } | 57 } |
59 | 58 |
60 /** | 59 /** |
61 * @constructor | 60 * @constructor |
62 */ | 61 */ |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 peek: function() | 222 peek: function() |
224 { | 223 { |
225 return this._string.charAt(this._position); | 224 return this._string.charAt(this._position); |
226 }, | 225 }, |
227 | 226 |
228 hasNext: function() | 227 hasNext: function() |
229 { | 228 { |
230 return this._position < this._string.length; | 229 return this._position < this._string.length; |
231 } | 230 } |
232 } | 231 } |
OLD | NEW |