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

Side by Side Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/cache/HtmlEntry.java

Issue 82903007: Improved HTML parsing (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean-up Created 7 years 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) 2013, the Dart project authors. 2 * Copyright (c) 2013, 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 17 matching lines...) Expand all
28 /** 28 /**
29 * The data descriptor representing the HTML element. 29 * The data descriptor representing the HTML element.
30 */ 30 */
31 public static final DataDescriptor<HtmlElement> ELEMENT = new DataDescriptor<H tmlElement>( 31 public static final DataDescriptor<HtmlElement> ELEMENT = new DataDescriptor<H tmlElement>(
32 "HtmlEntry.ELEMENT"); 32 "HtmlEntry.ELEMENT");
33 33
34 /** 34 /**
35 * The data descriptor representing the hints resulting from auditing the sour ce. 35 * The data descriptor representing the hints resulting from auditing the sour ce.
36 */ 36 */
37 public static final DataDescriptor<AnalysisError[]> HINTS = new DataDescriptor <AnalysisError[]>( 37 public static final DataDescriptor<AnalysisError[]> HINTS = new DataDescriptor <AnalysisError[]>(
38 "DartEntry.HINTS"); 38 "HtmlEntry.HINTS");
39
40 /**
41 * The data descriptor representing the errors resulting from parsing the sour ce.
42 */
43 public static final DataDescriptor<AnalysisError[]> PARSE_ERRORS = new DataDes criptor<AnalysisError[]>(
44 "HtmlEntry.PARSE_ERRORS");
39 45
40 /** 46 /**
41 * The data descriptor representing the parsed AST structure. 47 * The data descriptor representing the parsed AST structure.
42 */ 48 */
43 public static final DataDescriptor<HtmlUnit> PARSED_UNIT = new DataDescriptor< HtmlUnit>( 49 public static final DataDescriptor<HtmlUnit> PARSED_UNIT = new DataDescriptor< HtmlUnit>(
44 "HtmlEntry.PARSED_UNIT"); 50 "HtmlEntry.PARSED_UNIT");
45 51
46 /** 52 /**
47 * The data descriptor representing the list of referenced libraries. 53 * The data descriptor representing the list of referenced libraries.
48 */ 54 */
49 public static final DataDescriptor<Source[]> REFERENCED_LIBRARIES = new DataDe scriptor<Source[]>( 55 public static final DataDescriptor<Source[]> REFERENCED_LIBRARIES = new DataDe scriptor<Source[]>(
50 "HtmlEntry.REFERENCED_LIBRARIES"); 56 "HtmlEntry.REFERENCED_LIBRARIES");
51 57
52 /** 58 /**
53 * The data descriptor representing the errors resulting from resolving the so urce. 59 * The data descriptor representing the errors resulting from resolving the so urce.
54 */ 60 */
55 public static final DataDescriptor<AnalysisError[]> RESOLUTION_ERRORS = new Da taDescriptor<AnalysisError[]>( 61 public static final DataDescriptor<AnalysisError[]> RESOLUTION_ERRORS = new Da taDescriptor<AnalysisError[]>(
56 "HtmlEntry.RESOLUTION_ERRORS"); 62 "HtmlEntry.RESOLUTION_ERRORS");
57 63
58 /** 64 /**
59 * Return all of the errors associated with the compilation unit that are curr ently cached. 65 * Return all of the errors associated with the compilation unit that are curr ently cached.
60 * 66 *
61 * @return all of the errors associated with the compilation unit 67 * @return all of the errors associated with the compilation unit
62 */ 68 */
63 public AnalysisError[] getAllErrors(); 69 public AnalysisError[] getAllErrors();
64 70
65 @Override 71 @Override
66 public HtmlEntryImpl getWritableCopy(); 72 public HtmlEntryImpl getWritableCopy();
67 } 73 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698