issues
search
tonini
/
alchemist-server
Editor/IDE independent background server to inform about Elixir mix projects
193
stars
12
forks
source link
Alchemist-Server API Refactoring
#3
Open
tonini
opened
9 years ago
tonini
commented
9 years ago
\
Alchemist-Server API Refactoring
Cases
COMP (Completion)
DOCL (Documentation Lookup)
EVAL (Evaluate/Quote)
DEFL (Definition Lookup)
Alchemist-Server API
COMP
{ "def" [ context: Elixir, imports: [], aliases: [] ] }
DOCL
{ nil, { :defmodule, nil }, [ context: nil, imports: [], aliases: [] ] }
{ List, { :flatten, nil }, [ context: nil, imports: [], aliases: [] ] }
{ List, { :flatten, 2 }, [ context: nil, imports: [], aliases: [] ] }
{ nil, { :create_file, nil }, [ context: nil, imports: [Mix.Generator], aliases: [] ] }
INFO
{ type: :modules }
{ type: :mixtasks }
EVAL
{ type: :eval, file: "path/to/file.tmp" }
{ type: :quote, file: "path/to/file.tmp" }
DEFL
{ List, { :flatten, 1 }, [ context: nil, imports: [], aliases: [] ] }
{ nil, { :flatten, 1 }, [ context: nil, imports: [], aliases: [] ] }
\ Alchemist-Server API Refactoring