Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/webkit/WebkitRemoteObject.java

Issue 322303002: Version 1.5.0-dev.4.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012, the Dart project authors. 2 * Copyright (c) 2012, the Dart project authors.
3 * 3 *
4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u se this file except
5 * in compliance with the License. You may obtain a copy of the License at 5 * in compliance with the License. You may obtain a copy of the License at
6 * 6 *
7 * http://www.eclipse.org/legal/epl-v10.html 7 * http://www.eclipse.org/legal/epl-v10.html
8 * 8 *
9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License 9 * Unless required by applicable law or agreed to in writing, software distribut ed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K IND, either express
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 public boolean hasObjectId() { 176 public boolean hasObjectId() {
177 return getObjectId() != null; 177 return getObjectId() != null;
178 } 178 }
179 179
180 public boolean isBoolean() { 180 public boolean isBoolean() {
181 return "boolean".equals(type); 181 return "boolean".equals(type);
182 } 182 }
183 183
184 public boolean isDartFunction() { 184 public boolean isDartFunction() {
185 return "[Dart Function]".equals(className); 185 return "<Dart Method>".equals(className);
186 } 186 }
187 187
188 public boolean isFunction() { 188 public boolean isFunction() {
189 return "function".equals(type); 189 return "function".equals(type);
190 } 190 }
191 191
192 /** 192 /**
193 * Returns true if this object is a Dart library reference. 193 * Returns true if this object is a Dart library reference.
194 */ 194 */
195 public boolean isLibraryRef() { 195 public boolean isLibraryRef() {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 return "[" + type + "," + description + "]"; 246 return "[" + type + "," + description + "]";
247 } else { 247 } else {
248 return "[" + type + "," + value + "]"; 248 return "[" + type + "," + value + "]";
249 } 249 }
250 } 250 }
251 251
252 void setDescription(String value) { 252 void setDescription(String value) {
253 description = value; 253 description = value;
254 } 254 }
255 } 255 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698