Unified symbol-to-docblock server command
[hiphop-php.git] / hphp / hack / src / server / serverSymbolDefinition.mli
blob6059495b6ec3f40b96e0c83f5e298791be255117
1 (**
2 * Copyright (c) 2015, Facebook, Inc.
3 * All rights reserved.
5 * This source code is licensed under the MIT license found in the
6 * LICENSE file in the "hack" directory of this source tree.
8 *)
10 val go :
11 Ast.program ->
12 Relative_path.t SymbolOccurrence.t ->
13 Relative_path.t SymbolDefinition.t option
15 val get_definition_cst_node_from_pos :
16 SymbolDefinition.kind ->
17 Full_fidelity_source_text.t ->
18 'a Pos.pos ->
19 Full_fidelity_positioned_syntax.t option
21 val get_definition_cst_node :
22 ServerCommandTypes.file_input ->
23 Relative_path.t SymbolDefinition.t ->
24 Full_fidelity_positioned_syntax.t option