Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
org.dartlang.analysis.server.protocol.CompletionSuggestionKind Class Reference

Static Public Attributes

static final String ARGUMENT_LIST = "ARGUMENT_LIST"
 
static final String IMPORT = "IMPORT"
 
static final String IDENTIFIER = "IDENTIFIER"
 
static final String INVOCATION = "INVOCATION"
 
static final String KEYWORD = "KEYWORD"
 
static final String NAMED_ARGUMENT = "NAMED_ARGUMENT"
 
static final String OPTIONAL_ARGUMENT = "OPTIONAL_ARGUMENT"
 
static final String OVERRIDE = "OVERRIDE"
 
static final String PARAMETER = "PARAMETER"
 
static final String PACKAGE_NAME = "PACKAGE_NAME"
 

Detailed Description

An enumeration of the kinds of elements that can be included in a completion suggestion.

@coverage dart.server.generated.types

Definition at line 16 of file CompletionSuggestionKind.java.

Member Data Documentation

◆ ARGUMENT_LIST

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.ARGUMENT_LIST = "ARGUMENT_LIST"
static

A list of arguments for the method or function that is being invoked. For this suggestion kind, the completion field is a textual representation of the invocation and the parameterNames, parameterTypes, and requiredParameterCount attributes are defined.

Definition at line 23 of file CompletionSuggestionKind.java.

◆ IDENTIFIER

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.IDENTIFIER = "IDENTIFIER"
static

The element identifier should be inserted at the completion location. For example "someMethod" in import 'myLib.dart' show someMethod;. For suggestions of this kind, the element attribute is defined and the completion field is the element's identifier.

Definition at line 32 of file CompletionSuggestionKind.java.

◆ IMPORT

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.IMPORT = "IMPORT"
static

Definition at line 25 of file CompletionSuggestionKind.java.

◆ INVOCATION

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.INVOCATION = "INVOCATION"
static

The element is being invoked at the completion location. For example, 'someMethod' in x.someMethod();. For suggestions of this kind, the element attribute is defined and the completion field is the element's identifier.

Definition at line 39 of file CompletionSuggestionKind.java.

◆ KEYWORD

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.KEYWORD = "KEYWORD"
static

A keyword is being suggested. For suggestions of this kind, the completion is the keyword.

Definition at line 44 of file CompletionSuggestionKind.java.

◆ NAMED_ARGUMENT

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.NAMED_ARGUMENT = "NAMED_ARGUMENT"
static

A named argument for the current call site is being suggested. For suggestions of this kind, the completion is the named argument identifier including a trailing ':' and a space.

Definition at line 50 of file CompletionSuggestionKind.java.

◆ OPTIONAL_ARGUMENT

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.OPTIONAL_ARGUMENT = "OPTIONAL_ARGUMENT"
static

Definition at line 52 of file CompletionSuggestionKind.java.

◆ OVERRIDE

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.OVERRIDE = "OVERRIDE"
static

An overriding implementation of a class member is being suggested.

Definition at line 57 of file CompletionSuggestionKind.java.

◆ PACKAGE_NAME

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.PACKAGE_NAME = "PACKAGE_NAME"
static

The name of a pub package is being suggested.

Definition at line 64 of file CompletionSuggestionKind.java.

◆ PARAMETER

final String org.dartlang.analysis.server.protocol.CompletionSuggestionKind.PARAMETER = "PARAMETER"
static

Definition at line 59 of file CompletionSuggestionKind.java.


The documentation for this class was generated from the following file: