@@ -59,21 +59,24 @@ defmodule Code do
5959
6060 Those options can be:
6161
62- * `:file` - the file to be considered in the evaluation
63- * `:line` - the line on which the script starts
64- * `:delegate_locals_to` - delegate local calls to the given module,
65- the default is to not delegate
62+ * `:file` - the file to be considered in the evaluation
63+ * `:line` - the line on which the script starts
64+ * `:delegate_locals_to` - delegate local calls to the given module,
65+ the default is to not delegate
6666
6767 Additionally, the following scope values can be configured:
6868
69- * `:aliases` - a list of tuples with the alias and its target
70- * `:requires` - a list of modules required
71- * `:functions` - a list of tuples where the first element is a module
72- and the second a list of imported function names and arity. The list
73- of function names and arity must be sorted
74- * `:macros` - a list of tuples where the first element is a module
75- and the second a list of imported macro names and arity. The list
76- of function names and arity must be sorted
69+ * `:aliases` - a list of tuples with the alias and its target
70+
71+ * `:requires` - a list of modules required
72+
73+ * `:functions` - a list of tuples where the first element is a module
74+ and the second a list of imported function names and arity; the list
75+ of function names and arity must be sorted
76+
77+ * `:macros` - a list of tuples where the first element is a module
78+ and the second a list of imported macro names and arity; the list
79+ of function names and arity must be sorted
7780
7881 Notice that setting any of the values above overrides Elixir's default
7982 values. For example, setting `:requires` to `[]`, will no longer
@@ -198,13 +201,13 @@ defmodule Code do
198201
199202 ## Options
200203
201- * `:file` - The filename to be used in stacktraces
202- and the file reported in the `__ENV__` variable.
204+ * `:file` - the filename to be used in stacktraces
205+ and the file reported in the `__ENV__` variable
203206
204- * `:line` - The line reported in the `__ENV__` variable.
207+ * `:line` - the line reported in the `__ENV__` variable
205208
206- * `:existing_atoms_only` - When `true`, raises an error
207- when non-existing atoms are found by the tokenizer.
209+ * `:existing_atoms_only` - when `true`, raises an error
210+ when non-existing atoms are found by the tokenizer
208211
209212 ## Macro.to_string/2
210213
@@ -324,17 +327,18 @@ defmodule Code do
324327
325328 Available options are:
326329
327- * `:docs` - when `true`, retain documentation in the compiled module,
328- `true` by default;
330+ * `:docs` - when `true`, retain documentation in the compiled module,
331+ `true` by default
329332
330- * `:debug_info` - when `true`, retain debug information in the compiled module.
331- This allows a developer to reconstruct the original source
332- code, `false` by default;
333+ * `:debug_info` - when `true`, retain debug information in the compiled
334+ module; this allows a developer to reconstruct the original source
335+ code, `false` by default
333336
334- * `:ignore_module_conflict` - when `true`, override modules that were already defined
335- without raising errors, `false` by default;
337+ * `:ignore_module_conflict` - when `true`, override modules that were
338+ already defined without raising errors, `false` by default
336339
337- * `:warnings_as_errors` - cause compilation to fail when warnings are generated;
340+ * `:warnings_as_errors` - cause compilation to fail when warnings are
341+ generated
338342
339343 """
340344 def compiler_options ( opts ) do
@@ -472,14 +476,14 @@ defmodule Code do
472476
473477 The return value depends on the `kind` value:
474478
475- * `:docs` - list of all docstrings attached to functions and macros
476- using the `@doc` attribute
479+ * `:docs` - list of all docstrings attached to functions and macros
480+ using the `@doc` attribute
477481
478- * `:moduledoc` - tuple `{<line>, <doc>}` where `line` is the line on
479- which module definition starts and `doc` is the string
480- attached to the module using the `@moduledoc` attribute
482+ * `:moduledoc` - tuple `{<line>, <doc>}` where `line` is the line on
483+ which module definition starts and `doc` is the string
484+ attached to the module using the `@moduledoc` attribute
481485
482- * `:all` - a keyword list with both `:docs` and `:moduledoc`
486+ * `:all` - a keyword list with both `:docs` and `:moduledoc`
483487
484488 """
485489 def get_docs ( module , kind ) when is_atom ( module ) do
0 commit comments