CodePrompt class abstract

Define code autocomplate prompt information.

See also CodeKeywordPrompt, CodeFieldPrompt and CodeFunctionPrompt.

Implementers

Constructors

CodePrompt({required String word})
const

Properties

autocomplete CodeAutocompleteResult
Get the final auto completion content. In most cases it is equal to word, but there are some exceptions. For example, for functions, auto completion of parameters may be required.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
word String
Content associated with user input.
final

Methods

match(String input) bool
Check whether the input meets this prompt condition.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited