LspServer class

Constructors

LspServer(LspEndpoint _endpoint)
Creates a server over any LspEndpointStreamLspEndpoint for stdio, or MessageLspEndpoint for a web IDE / AI-agent host.

Properties

cleanExit bool
Set when exit is received; the entrypoint uses it to choose exit code.
getter/setter pair
done Future<void>
no setter
endpoint LspEndpoint
The underlying transport, e.g. to receive() messages on a MessageLspEndpoint host.
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
toString() String
A string representation of this object.
inherited

Operators

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