src/completion.jsx

class CompletionRequest

new CompletionRequest(lineNumber : number, columnOffset : number)

function getLineNumber() : number

function getColumnOffset() : number

function isInRange(lineNumber : number, columnOffset : number, length : number) : number

function pushCandidates(candidates : CompletionCandidates) : void

function getCandidates() : Array.<Map.<variant>>

abstract class CompletionCandidates

new CompletionCandidates()

abstract function getCandidates(candidates : Array.<Map.<variant>>) : void

function getPrefix() : string

function setPrefix(prefix : string) : CompletionCandidates

static function makeClassCandidate(classDef : ClassDefinition) : Map.<variant>

class KeywordCompletionCandidate extends CompletionCandidates

new KeywordCompletionCandidate(expected : string)

override function getCandidates(candidates : Array.<Map.<variant>>) : void

class CompletionCandidatesOfTopLevel extends CompletionCandidates

new CompletionCandidatesOfTopLevel(parser : Parser, autoCompleteMatchCb : function (:ClassDefinition) : boolean)

override function getCandidates(candidates : Array.<Map.<variant>>) : void