Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Abbott committed Oct 24, 2017
1 parent 7be0a89 commit 1df5ec7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/providers/parser.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { CompletionItem, CompletionItemKind } from "vscode";
import { find, MemberInfo } from "../grammar";

/**
* Build `CompletionItem`s from `TypeInfo` and `MethodInfo` lists.
*/
export async function completions(name:string):Promise<CompletionItem[]> {
const info = await find(name);
if (info && info.fields || info.methods) {
Expand Down

0 comments on commit 1df5ec7

Please sign in to comment.