elvish/eval
Qi Xiao a8a6c71fbd Eval: fix a lot of lint errors.
Also fixed the name of a test file, which was probably accidentally renamed.
2019-04-18 22:14:53 +01:00
..
bundled Replace re:replace with replaces in epm (#756) 2018-09-24 00:09:40 +01:00
daemon eval/vars: Cleanups. 2018-11-18 15:23:31 +01:00
re golint fixes. 2018-10-13 17:52:54 +01:00
store Support deleting command history with store:del-cmd. 2018-05-14 23:26:36 +01:00
str eval: Rehaul helper methods of Ns. 2018-02-06 11:39:40 -08:00
vals eval/vals: Implement ToString for float64, and add tests against ToString. 2019-04-17 21:09:27 +00:00
vars eval/vars: Cleanups. 2018-11-18 15:23:31 +01:00
args_walker.go parse: Remove Begin() and End() from Node. 2018-10-13 14:07:54 +01:00
boilerplate.go parse: Remove Begin() and End() from Node. 2018-10-13 14:07:54 +01:00
boilerplate.py eval: Update boilerplate.py 2019-03-10 15:24:04 +00:00
builtin_fn_cmd_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
builtin_fn_cmd_unix.go eval/types -> eval/vals. 2018-02-15 09:14:05 +00:00
builtin_fn_cmd_windows.go eval: Move Value interfaces to eval/types. 2017-12-31 20:31:45 +00:00
builtin_fn_cmd.go eval: ec *Frame -> fm *Frame 2018-02-28 21:17:56 -05:00
builtin_fn_container_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
builtin_fn_container.go eval/vars: Always guard variable access with mutexes. 2018-11-18 15:13:50 +01:00
builtin_fn_debug.go eval: ec *Frame -> fm *Frame 2018-02-28 21:17:56 -05:00
builtin_fn_env_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
builtin_fn_env.go eval: Fix build... 2018-03-03 00:00:42 -05:00
builtin_fn_flow_test.go eval: Reformat some test cases. 2018-07-06 01:32:42 +01:00
builtin_fn_flow.go eval: Add a Cause function to safely extract the cause of exceptions. 2018-10-09 21:21:26 +08:00
builtin_fn_fs_test.go util: Change the API of WithTempDir and InTempDir. 2018-10-13 14:04:13 +01:00
builtin_fn_fs.go eval: Remove all runtime throws. 2018-09-27 22:19:47 +01:00
builtin_fn_io_test.go Basic support for float64 as an Elvish type. This addresses #816. 2019-04-09 23:46:04 +01:00
builtin_fn_io.go Add builtins only-{bytes,values}. 2018-12-16 10:40:10 +00:00
builtin_fn_misc_test.go util: Change the API of WithTempDir and InTempDir. 2018-10-13 14:04:13 +01:00
builtin_fn_misc.go parse: Cleanups. 2018-10-13 17:27:39 +01:00
builtin_fn_num_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
builtin_fn_num.go eval: chdir hooks: $before-chdir and $after-chdir. 2018-03-21 21:17:37 +00:00
builtin_fn_pred_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
builtin_fn_pred.go eval/types -> eval/vals. 2018-02-15 09:14:05 +00:00
builtin_fn_str_test.go Implement a "chr" builtin command. 2018-08-08 01:16:24 +01:00
builtin_fn_str.go eval: Add a Cause function to safely extract the cause of exceptions. 2018-10-09 21:21:26 +08:00
builtin_fn_styled_test.go styled: Clean up representation of Segment and Text. 2018-07-15 14:50:06 +01:00
builtin_fn_styled.go styled: Clean up representation of Segment and Text. 2018-07-15 14:50:06 +01:00
builtin_fn_test.go eval: Support declaring options using structs in native functions. 2018-09-27 17:55:37 +01:00
builtin_fn.go eval: Add TODO comments for improving the public API. 2018-10-08 23:32:48 +08:00
builtin_ns.go Introduce $nil as a valid value. 2019-04-07 22:54:51 +01:00
builtin_special_test.go util: Change the API of WithTempDir and InTempDir. 2018-10-13 14:04:13 +01:00
builtin_special.go eval: opBody -> effectOpBody, for consistency. 2019-03-10 15:23:43 +00:00
chdir_test.go Fix tests that leave behind test directories on Windows. 2019-03-18 22:25:24 +00:00
chdir.go edit/location: Record dir history in an after-chdir hook. 2018-03-21 21:34:58 +00:00
closure_test.go eval: Reformat some test cases. 2018-07-06 01:32:42 +01:00
closure.go eval/vars: Always guard variable access with mutexes. 2018-11-18 15:13:50 +01:00
compilation_error.go Implement Ranger for *diag.SourceRange and *eval.CompilationError. 2018-11-20 23:22:51 +00:00
compile_effect_test.go eval: Unexport all the *Op types. 2018-09-28 20:50:11 +01:00
compile_effect.go eval: Don't turn nil variables into ''. 2019-04-09 22:50:35 +01:00
compile_lvalue_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
compile_lvalue.go eval/vars: Always guard variable access with mutexes. 2018-11-18 15:13:50 +01:00
compile_value_test.go util: Change the API of WithTempDir and InTempDir. 2018-10-13 14:04:13 +01:00
compile_value.go parse: Remove Begin() and End() from Node. 2018-10-13 14:07:54 +01:00
compiler.go parse: Remove Begin() and End() from Node. 2018-10-13 14:07:54 +01:00
editor.go edit: (*Editor).Notify now also works when editor is inactive. 2018-02-06 17:07:02 -08:00
env_list.go eval/vars: Renames. 2018-03-08 13:20:31 +00:00
eval_test.go Fix the type of $num-bg-jobs, and add a test. 2018-10-10 00:39:24 +08:00
eval.go eval/vars: Cleanups. 2018-11-18 15:23:31 +01:00
exception_test.go eval: Add a Cause function to safely extract the cause of exceptions. 2018-10-09 21:21:26 +08:00
exception.go s/Pprint/PPrint/ everywhere. 2018-10-13 16:51:00 +01:00
external_cmd.go eval: chdir hooks: $before-chdir and $after-chdir. 2018-03-21 21:17:37 +00:00
frame.go eval: Rename *Frame's method EvalOp -> Eval -> eval. 2018-10-13 14:04:13 +01:00
glob.go eval: Remove use of throws from globbing code. 2018-09-27 20:45:05 +01:00
interrupts.go eval: Refactor Evaler API. 2018-10-13 14:04:13 +01:00
must.go parse: Remove Begin() and End() from Node. 2018-10-13 14:07:54 +01:00
ns_test.go eval: Make Test and TestWithSetup accept variadic test cases. 2018-05-22 01:08:11 +01:00
ns.go eval/vars: Renames. 2018-03-08 13:20:31 +00:00
op.go eval: opBody -> effectOpBody, for consistency. 2019-03-10 15:23:43 +00:00
options_test.go Eval: fix a lot of lint errors. 2019-04-18 22:14:53 +01:00
options.go eval: Remove use of throw when scanning options. 2018-09-27 18:15:19 +01:00
port.go eval: Replace ClosePorts with (*Frame).Close. 2018-02-28 21:03:04 -05:00
process_unix.go eval: Make putSelfInFg a nop if stdin is not a TTY. 2018-11-17 17:53:42 +01:00
process_windows.go eval: Move the handling of TTOU into putSelfInFg. 2018-09-28 23:27:03 +01:00
purely_eval.go eval/types: Remove the Value type. 2018-01-29 17:39:41 +00:00
pwd.go eval: Remove more uses of throw. 2018-09-27 02:04:53 +01:00
resolve_test.go Resolve nested modules recursively. 2018-02-01 23:43:54 -08:00
resolve.go eval/vars: Cleanups. 2018-11-18 15:23:31 +01:00
source.go Move eval/vals.Feed to util, and add a test. 2018-10-11 00:25:24 +08:00
stacktrace.go Add a new package diag for diagnostic utils. 2018-10-11 00:20:32 +08:00
state.go eval: Make access to internal configs concurrency-safe. 2018-09-28 18:54:36 +01:00
std_ports_test.go eval: Remove default ports from Evaler. 2018-02-28 21:35:32 -05:00
std_ports.go eval: Remove default ports from Evaler. 2018-02-28 21:35:32 -05:00
testutils.go parse: Cleanups. 2018-10-13 17:27:39 +01:00
unwrap.go eval: Unexport all the *Op types. 2018-09-28 20:50:11 +01:00
value_test.go eval/types -> eval/vals. 2018-02-15 09:14:05 +00:00
value.go Basic support for float64 as an Elvish type. This addresses #816. 2019-04-09 23:46:04 +01:00
variable_ref.go Parse trailing ":" in variable as part of name. 2018-01-29 18:29:06 +00:00