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

Side by Side Diff: pkg/analysis_server/doc/api.html

Issue 1301533003: Plumb "enableSuperMixins" option through analysis server (implements DEP 34). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html><head> 1 <html><head>
2 <meta charset="UTF-8"> 2 <meta charset="UTF-8">
3 <title>Analysis Server API Specification</title> 3 <title>Analysis Server API Specification</title>
4 <style>body { 4 <style>body {
5 font-family: sans-serif, serif; 5 font-family: sans-serif, serif;
6 padding-left: 5%; 6 padding-left: 5%;
7 padding-right: 5%; 7 padding-right: 5%;
8 } 8 }
9 h1 { 9 h1 {
10 text-align: center; 10 text-align: center;
(...skipping 2361 matching lines...) Expand 10 before | Expand all | Expand 10 after
2372 True if the client wants to enable support for the 2372 True if the client wants to enable support for the
2373 proposed enum feature. 2373 proposed enum feature.
2374 </p> 2374 </p>
2375 </dd><dt class="field"><b><i>enableNullAwareOperators ( <span style="c olor:#999999">optional</span> bool )</i></b></dt><dd> 2375 </dd><dt class="field"><b><i>enableNullAwareOperators ( <span style="c olor:#999999">optional</span> bool )</i></b></dt><dd>
2376 2376
2377 <p><b><i>Deprecated</i></b>: this feature is always enabled.</p> 2377 <p><b><i>Deprecated</i></b>: this feature is always enabled.</p>
2378 <p> 2378 <p>
2379 True if the client wants to enable support for the 2379 True if the client wants to enable support for the
2380 proposed "null aware operators" feature. 2380 proposed "null aware operators" feature.
2381 </p> 2381 </p>
2382 </dd><dt class="field"><b><i>enableSuperMixins ( <span style="color:#9 99999">optional</span> bool )</i></b></dt><dd>
2383
2384 <p>
2385 True if the client wants to enable spport for the
2386 proposed "less restricted mixins" proposal (DEP 34).
2387 </p>
2382 </dd><dt class="field"><b><i>generateDart2jsHints ( <span style="color :#999999">optional</span> bool )</i></b></dt><dd> 2388 </dd><dt class="field"><b><i>generateDart2jsHints ( <span style="color :#999999">optional</span> bool )</i></b></dt><dd>
2383 2389
2384 <p> 2390 <p>
2385 True if hints that are specific to dart2js should be 2391 True if hints that are specific to dart2js should be
2386 generated. This option is ignored if generateHints is false. 2392 generated. This option is ignored if generateHints is false.
2387 </p> 2393 </p>
2388 </dd><dt class="field"><b><i>generateHints ( <span style="color:#99999 9">optional</span> bool )</i></b></dt><dd> 2394 </dd><dt class="field"><b><i>generateHints ( <span style="color:#99999 9">optional</span> bool )</i></b></dt><dd>
2389 2395
2390 <p> 2396 <p>
2391 True if hints should be generated as part of generating 2397 True if hints should be generated as part of generating
(...skipping 1724 matching lines...) Expand 10 before | Expand all | Expand 10 after
4116 <h2>Errors</h2> 4122 <h2>Errors</h2>
4117 <p> 4123 <p>
4118 This section contains a list of all of the errors that are 4124 This section contains a list of all of the errors that are
4119 produced by the server and the data that is returned with each. 4125 produced by the server and the data that is returned with each.
4120 </p> 4126 </p>
4121 <p> 4127 <p>
4122 TBD 4128 TBD
4123 </p> 4129 </p>
4124 <h2 class="domain"><a name="index">Index</a></h2> 4130 <h2 class="domain"><a name="index">Index</a></h2>
4125 <h3>Domains</h3><h4>server (<a href="#domain_server">↑</a>)</h4><div class=" subindex"><h5>Requests</h5><ul><li><a href="#request_server.getVersion">getVersi on</a></li><li><a href="#request_server.shutdown">shutdown</a></li><li><a href=" #request_server.setSubscriptions">setSubscriptions</a></li></ul><h5>Notification s</h5><div class="subindex"><ul><li><a href="#notification_server.connected">con nected</a></li><li><a href="#notification_server.error">error</a></li><li><a hre f="#notification_server.status">status</a></li></ul></div></div><h4>analysis (<a href="#domain_analysis">↑</a>)</h4><div class="subindex"><h5>Requests</h5><ul>< li><a href="#request_analysis.getErrors">getErrors</a></li><li><a href="#request _analysis.getHover">getHover</a></li><li><a href="#request_analysis.getLibraryDe pendencies">getLibraryDependencies</a></li><li><a href="#request_analysis.getNav igation">getNavigation</a></li><li><a href="#request_analysis.reanalyze">reanaly ze</a></li><li><a href="#request_analysis.setAnalysisRoots">setAnalysisRoots</a> </li><li><a href="#request_analysis.setGeneralSubscriptions">setGeneralSubscript ions</a></li><li><a href="#request_analysis.setPriorityFiles">setPriorityFiles</ a></li><li><a href="#request_analysis.setSubscriptions">setSubscriptions</a></li ><li><a href="#request_analysis.updateContent">updateContent</a></li><li><a href ="#request_analysis.updateOptions">updateOptions</a></li></ul><h5>Notifications< /h5><div class="subindex"><ul><li><a href="#notification_analysis.analyzedFiles" >analyzedFiles</a></li><li><a href="#notification_analysis.errors">errors</a></l i><li><a href="#notification_analysis.flushResults">flushResults</a></li><li><a href="#notification_analysis.folding">folding</a></li><li><a href="#notification _analysis.highlights">highlights</a></li><li><a href="#notification_analysis.inv alidate">invalidate</a></li><li><a href="#notification_analysis.navigation">navi gation</a></li><li><a href="#notification_analysis.occurrences">occurrences</a>< /li><li><a href="#notification_analysis.outline">outline</a></li><li><a href="#n otification_analysis.overrides">overrides</a></li></ul></div></div><h4>completio n (<a href="#domain_completion">↑</a>)</h4><div class="subindex"><h5>Requests</h 5><ul><li><a href="#request_completion.getSuggestions">getSuggestions</a></li></ ul><h5>Notifications</h5><div class="subindex"><ul><li><a href="#notification_co mpletion.results">results</a></li></ul></div></div><h4>search (<a href="#domain_ search">↑</a>)</h4><div class="subindex"><h5>Requests</h5><ul><li><a href="#requ est_search.findElementReferences">findElementReferences</a></li><li><a href="#re quest_search.findMemberDeclarations">findMemberDeclarations</a></li><li><a href= "#request_search.findMemberReferences">findMemberReferences</a></li><li><a href= "#request_search.findTopLevelDeclarations">findTopLevelDeclarations</a></li><li> <a href="#request_search.getTypeHierarchy">getTypeHierarchy</a></li></ul><h5>Not ifications</h5><div class="subindex"><ul><li><a href="#notification_search.resul ts">results</a></li></ul></div></div><h4>edit (<a href="#domain_edit">↑</a>)</h4 ><div class="subindex"><h5>Requests</h5><ul><li><a href="#request_edit.format">f ormat</a></li><li><a href="#request_edit.getAssists">getAssists</a></li><li><a h ref="#request_edit.getAvailableRefactorings">getAvailableRefactorings</a></li><l i><a href="#request_edit.getFixes">getFixes</a></li><li><a href="#request_edit.g etRefactoring">getRefactoring</a></li><li><a href="#request_edit.sortMembers">so rtMembers</a></li><li><a href="#request_edit.organizeDirectives">organizeDirecti ves</a></li></ul></div><h4>execution (<a href="#domain_execution">↑</a>)</h4><di v class="subindex"><h5>Requests</h5><ul><li><a href="#request_execution.createCo ntext">createContext</a></li><li><a href="#request_execution.deleteContext">dele teContext</a></li><li><a href="#request_execution.mapUri">mapUri</a></li><li><a href="#request_execution.setSubscriptions">setSubscriptions</a></li></ul><h5>Not ifications</h5><div class="subindex"><ul><li><a href="#notification_execution.la unchData">launchData</a></li></ul></div></div><h3>Types (<a href="#types">↑</a>) </h3><div class="subindex"><ul><li><a href="#type_AddContentOverlay">AddContentO verlay</a></li><li><a href="#type_AnalysisError">AnalysisError</a></li><li><a hr ef="#type_AnalysisErrorFixes">AnalysisErrorFixes</a></li><li><a href="#type_Anal ysisErrorSeverity">AnalysisErrorSeverity</a></li><li><a href="#type_AnalysisErro rType">AnalysisErrorType</a></li><li><a href="#type_AnalysisOptions">AnalysisOpt ions</a></li><li><a href="#type_AnalysisService">AnalysisService</a></li><li><a href="#type_AnalysisStatus">AnalysisStatus</a></li><li><a href="#type_ChangeCont entOverlay">ChangeContentOverlay</a></li><li><a href="#type_CompletionId">Comple tionId</a></li><li><a href="#type_CompletionSuggestion">CompletionSuggestion</a> </li><li><a href="#type_CompletionSuggestionKind">CompletionSuggestionKind</a></ li><li><a href="#type_Element">Element</a></li><li><a href="#type_ElementKind">E lementKind</a></li><li><a href="#type_ExecutableFile">ExecutableFile</a></li><li ><a href="#type_ExecutableKind">ExecutableKind</a></li><li><a href="#type_Execut ionContextId">ExecutionContextId</a></li><li><a href="#type_ExecutionService">Ex ecutionService</a></li><li><a href="#type_FilePath">FilePath</a></li><li><a href ="#type_FoldingKind">FoldingKind</a></li><li><a href="#type_FoldingRegion">Foldi ngRegion</a></li><li><a href="#type_GeneralAnalysisService">GeneralAnalysisServi ce</a></li><li><a href="#type_HighlightRegion">HighlightRegion</a></li><li><a hr ef="#type_HighlightRegionType">HighlightRegionType</a></li><li><a href="#type_Ho verInformation">HoverInformation</a></li><li><a href="#type_LinkedEditGroup">Lin kedEditGroup</a></li><li><a href="#type_LinkedEditSuggestion">LinkedEditSuggesti on</a></li><li><a href="#type_LinkedEditSuggestionKind">LinkedEditSuggestionKind </a></li><li><a href="#type_Location">Location</a></li><li><a href="#type_Naviga tionRegion">NavigationRegion</a></li><li><a href="#type_NavigationTarget">Naviga tionTarget</a></li><li><a href="#type_Occurrences">Occurrences</a></li><li><a hr ef="#type_Outline">Outline</a></li><li><a href="#type_Override">Override</a></li ><li><a href="#type_OverriddenMember">OverriddenMember</a></li><li><a href="#typ e_Position">Position</a></li><li><a href="#type_PubStatus">PubStatus</a></li><li ><a href="#type_RefactoringKind">RefactoringKind</a></li><li><a href="#type_Refa ctoringMethodParameter">RefactoringMethodParameter</a></li><li><a href="#type_Re factoringFeedback">RefactoringFeedback</a></li><li><a href="#type_RefactoringOpt ions">RefactoringOptions</a></li><li><a href="#type_RefactoringMethodParameterKi nd">RefactoringMethodParameterKind</a></li><li><a href="#type_RefactoringProblem ">RefactoringProblem</a></li><li><a href="#type_RefactoringProblemSeverity">Refa ctoringProblemSeverity</a></li><li><a href="#type_RemoveContentOverlay">RemoveCo ntentOverlay</a></li><li><a href="#type_RequestError">RequestError</a></li><li>< a href="#type_RequestErrorCode">RequestErrorCode</a></li><li><a href="#type_Sear chId">SearchId</a></li><li><a href="#type_SearchResult">SearchResult</a></li><li ><a href="#type_SearchResultKind">SearchResultKind</a></li><li><a href="#type_Se rverService">ServerService</a></li><li><a href="#type_SourceChange">SourceChange </a></li><li><a href="#type_SourceEdit">SourceEdit</a></li><li><a href="#type_So urceFileEdit">SourceFileEdit</a></li><li><a href="#type_TypeHierarchyItem">TypeH ierarchyItem</a></li></ul></div><h3>Refactorings (<a href="#refactorings">↑</a>) </h3><div class="subindex"><ul><li><a href="#refactoring_CONVERT_GETTER_TO_METHO D">CONVERT_GETTER_TO_METHOD</a></li><li><a href="#refactoring_CONVERT_METHOD_TO_ GETTER">CONVERT_METHOD_TO_GETTER</a></li><li><a href="#refactoring_EXTRACT_LOCAL _VARIABLE">EXTRACT_LOCAL_VARIABLE</a></li><li><a href="#refactoring_EXTRACT_METH OD">EXTRACT_METHOD</a></li><li><a href="#refactoring_INLINE_LOCAL_VARIABLE">INLI NE_LOCAL_VARIABLE</a></li><li><a href="#refactoring_INLINE_METHOD">INLINE_METHOD </a></li><li><a href="#refactoring_MOVE_FILE">MOVE_FILE</a></li><li><a href="#re factoring_RENAME">RENAME</a></li></ul></div></body></html> 4131 <h3>Domains</h3><h4>server (<a href="#domain_server">↑</a>)</h4><div class=" subindex"><h5>Requests</h5><ul><li><a href="#request_server.getVersion">getVersi on</a></li><li><a href="#request_server.shutdown">shutdown</a></li><li><a href=" #request_server.setSubscriptions">setSubscriptions</a></li></ul><h5>Notification s</h5><div class="subindex"><ul><li><a href="#notification_server.connected">con nected</a></li><li><a href="#notification_server.error">error</a></li><li><a hre f="#notification_server.status">status</a></li></ul></div></div><h4>analysis (<a href="#domain_analysis">↑</a>)</h4><div class="subindex"><h5>Requests</h5><ul>< li><a href="#request_analysis.getErrors">getErrors</a></li><li><a href="#request _analysis.getHover">getHover</a></li><li><a href="#request_analysis.getLibraryDe pendencies">getLibraryDependencies</a></li><li><a href="#request_analysis.getNav igation">getNavigation</a></li><li><a href="#request_analysis.reanalyze">reanaly ze</a></li><li><a href="#request_analysis.setAnalysisRoots">setAnalysisRoots</a> </li><li><a href="#request_analysis.setGeneralSubscriptions">setGeneralSubscript ions</a></li><li><a href="#request_analysis.setPriorityFiles">setPriorityFiles</ a></li><li><a href="#request_analysis.setSubscriptions">setSubscriptions</a></li ><li><a href="#request_analysis.updateContent">updateContent</a></li><li><a href ="#request_analysis.updateOptions">updateOptions</a></li></ul><h5>Notifications< /h5><div class="subindex"><ul><li><a href="#notification_analysis.analyzedFiles" >analyzedFiles</a></li><li><a href="#notification_analysis.errors">errors</a></l i><li><a href="#notification_analysis.flushResults">flushResults</a></li><li><a href="#notification_analysis.folding">folding</a></li><li><a href="#notification _analysis.highlights">highlights</a></li><li><a href="#notification_analysis.inv alidate">invalidate</a></li><li><a href="#notification_analysis.navigation">navi gation</a></li><li><a href="#notification_analysis.occurrences">occurrences</a>< /li><li><a href="#notification_analysis.outline">outline</a></li><li><a href="#n otification_analysis.overrides">overrides</a></li></ul></div></div><h4>completio n (<a href="#domain_completion">↑</a>)</h4><div class="subindex"><h5>Requests</h 5><ul><li><a href="#request_completion.getSuggestions">getSuggestions</a></li></ ul><h5>Notifications</h5><div class="subindex"><ul><li><a href="#notification_co mpletion.results">results</a></li></ul></div></div><h4>search (<a href="#domain_ search">↑</a>)</h4><div class="subindex"><h5>Requests</h5><ul><li><a href="#requ est_search.findElementReferences">findElementReferences</a></li><li><a href="#re quest_search.findMemberDeclarations">findMemberDeclarations</a></li><li><a href= "#request_search.findMemberReferences">findMemberReferences</a></li><li><a href= "#request_search.findTopLevelDeclarations">findTopLevelDeclarations</a></li><li> <a href="#request_search.getTypeHierarchy">getTypeHierarchy</a></li></ul><h5>Not ifications</h5><div class="subindex"><ul><li><a href="#notification_search.resul ts">results</a></li></ul></div></div><h4>edit (<a href="#domain_edit">↑</a>)</h4 ><div class="subindex"><h5>Requests</h5><ul><li><a href="#request_edit.format">f ormat</a></li><li><a href="#request_edit.getAssists">getAssists</a></li><li><a h ref="#request_edit.getAvailableRefactorings">getAvailableRefactorings</a></li><l i><a href="#request_edit.getFixes">getFixes</a></li><li><a href="#request_edit.g etRefactoring">getRefactoring</a></li><li><a href="#request_edit.sortMembers">so rtMembers</a></li><li><a href="#request_edit.organizeDirectives">organizeDirecti ves</a></li></ul></div><h4>execution (<a href="#domain_execution">↑</a>)</h4><di v class="subindex"><h5>Requests</h5><ul><li><a href="#request_execution.createCo ntext">createContext</a></li><li><a href="#request_execution.deleteContext">dele teContext</a></li><li><a href="#request_execution.mapUri">mapUri</a></li><li><a href="#request_execution.setSubscriptions">setSubscriptions</a></li></ul><h5>Not ifications</h5><div class="subindex"><ul><li><a href="#notification_execution.la unchData">launchData</a></li></ul></div></div><h3>Types (<a href="#types">↑</a>) </h3><div class="subindex"><ul><li><a href="#type_AddContentOverlay">AddContentO verlay</a></li><li><a href="#type_AnalysisError">AnalysisError</a></li><li><a hr ef="#type_AnalysisErrorFixes">AnalysisErrorFixes</a></li><li><a href="#type_Anal ysisErrorSeverity">AnalysisErrorSeverity</a></li><li><a href="#type_AnalysisErro rType">AnalysisErrorType</a></li><li><a href="#type_AnalysisOptions">AnalysisOpt ions</a></li><li><a href="#type_AnalysisService">AnalysisService</a></li><li><a href="#type_AnalysisStatus">AnalysisStatus</a></li><li><a href="#type_ChangeCont entOverlay">ChangeContentOverlay</a></li><li><a href="#type_CompletionId">Comple tionId</a></li><li><a href="#type_CompletionSuggestion">CompletionSuggestion</a> </li><li><a href="#type_CompletionSuggestionKind">CompletionSuggestionKind</a></ li><li><a href="#type_Element">Element</a></li><li><a href="#type_ElementKind">E lementKind</a></li><li><a href="#type_ExecutableFile">ExecutableFile</a></li><li ><a href="#type_ExecutableKind">ExecutableKind</a></li><li><a href="#type_Execut ionContextId">ExecutionContextId</a></li><li><a href="#type_ExecutionService">Ex ecutionService</a></li><li><a href="#type_FilePath">FilePath</a></li><li><a href ="#type_FoldingKind">FoldingKind</a></li><li><a href="#type_FoldingRegion">Foldi ngRegion</a></li><li><a href="#type_GeneralAnalysisService">GeneralAnalysisServi ce</a></li><li><a href="#type_HighlightRegion">HighlightRegion</a></li><li><a hr ef="#type_HighlightRegionType">HighlightRegionType</a></li><li><a href="#type_Ho verInformation">HoverInformation</a></li><li><a href="#type_LinkedEditGroup">Lin kedEditGroup</a></li><li><a href="#type_LinkedEditSuggestion">LinkedEditSuggesti on</a></li><li><a href="#type_LinkedEditSuggestionKind">LinkedEditSuggestionKind </a></li><li><a href="#type_Location">Location</a></li><li><a href="#type_Naviga tionRegion">NavigationRegion</a></li><li><a href="#type_NavigationTarget">Naviga tionTarget</a></li><li><a href="#type_Occurrences">Occurrences</a></li><li><a hr ef="#type_Outline">Outline</a></li><li><a href="#type_Override">Override</a></li ><li><a href="#type_OverriddenMember">OverriddenMember</a></li><li><a href="#typ e_Position">Position</a></li><li><a href="#type_PubStatus">PubStatus</a></li><li ><a href="#type_RefactoringKind">RefactoringKind</a></li><li><a href="#type_Refa ctoringMethodParameter">RefactoringMethodParameter</a></li><li><a href="#type_Re factoringFeedback">RefactoringFeedback</a></li><li><a href="#type_RefactoringOpt ions">RefactoringOptions</a></li><li><a href="#type_RefactoringMethodParameterKi nd">RefactoringMethodParameterKind</a></li><li><a href="#type_RefactoringProblem ">RefactoringProblem</a></li><li><a href="#type_RefactoringProblemSeverity">Refa ctoringProblemSeverity</a></li><li><a href="#type_RemoveContentOverlay">RemoveCo ntentOverlay</a></li><li><a href="#type_RequestError">RequestError</a></li><li>< a href="#type_RequestErrorCode">RequestErrorCode</a></li><li><a href="#type_Sear chId">SearchId</a></li><li><a href="#type_SearchResult">SearchResult</a></li><li ><a href="#type_SearchResultKind">SearchResultKind</a></li><li><a href="#type_Se rverService">ServerService</a></li><li><a href="#type_SourceChange">SourceChange </a></li><li><a href="#type_SourceEdit">SourceEdit</a></li><li><a href="#type_So urceFileEdit">SourceFileEdit</a></li><li><a href="#type_TypeHierarchyItem">TypeH ierarchyItem</a></li></ul></div><h3>Refactorings (<a href="#refactorings">↑</a>) </h3><div class="subindex"><ul><li><a href="#refactoring_CONVERT_GETTER_TO_METHO D">CONVERT_GETTER_TO_METHOD</a></li><li><a href="#refactoring_CONVERT_METHOD_TO_ GETTER">CONVERT_METHOD_TO_GETTER</a></li><li><a href="#refactoring_EXTRACT_LOCAL _VARIABLE">EXTRACT_LOCAL_VARIABLE</a></li><li><a href="#refactoring_EXTRACT_METH OD">EXTRACT_METHOD</a></li><li><a href="#refactoring_INLINE_LOCAL_VARIABLE">INLI NE_LOCAL_VARIABLE</a></li><li><a href="#refactoring_INLINE_METHOD">INLINE_METHOD </a></li><li><a href="#refactoring_MOVE_FILE">MOVE_FILE</a></li><li><a href="#re factoring_RENAME">RENAME</a></li></ul></div></body></html>
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/domain_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698