From e02e25d8a92b0bcafab8769dc6b328ae677167eb Mon Sep 17 00:00:00 2001 From: Nate Nystrom Date: Tue, 21 Nov 2023 13:46:51 +0100 Subject: [PATCH 1/5] Add @cond directive --- src/Infiltrator.jl | 69 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 65 insertions(+), 4 deletions(-) diff --git a/src/Infiltrator.jl b/src/Infiltrator.jl index bf3f838..4ce1549 100644 --- a/src/Infiltrator.jl +++ b/src/Infiltrator.jl @@ -128,6 +128,7 @@ mutable struct Session store::Module exiting::Bool disabled::Set + conditions::Dict end function Base.show(io::IO, s::Session) n = length(get_store_names(s)) @@ -166,7 +167,7 @@ Also see [`clear_store!`](@ref), [`set_store!`](@ref), and [`@withstore`](@ref) safehouse-related functionality. """ @doc store_docstring -const store = Session(Module(), false, Set()) +const store = Session(Module(), false, Set(), Dict()) @doc store_docstring const safehouse = store @doc store_docstring @@ -202,6 +203,16 @@ function clear_disabled!(s = store) return nothing end +""" + clear_conditions!(s = safehouse) + +Clear all conditional infiltration points. +""" +function clear_conditions!(s = store) + empty!(getfield(s, :conditions)) + return nothing +end + """ end_session!(s = safehouse) @@ -240,7 +251,11 @@ function start_prompt(mod, locals, file, fileline; lock(INFILTRATION_LOCK[]) try getfield(store, :exiting) && return - (file, fileline) in getfield(store, :disabled) && return + spot = (file, fileline) + spot in getfield(store, :disabled) && return + cs = getfield(store, :conditions) + f = get(cs, spot, nothing) + isnothing(f) || f(locals) || return if terminal === nothing || repl === nothing active_repl_backend = nothing @@ -339,6 +354,7 @@ The following commands are special cased: - `@exfiltrate`: Save all local variables into the store. `@exfiltrate x y` saves `x` and `y`; this variant can also exfiltrate variables defined in the `infil>` REPL. - `@toggle`: Toggle infiltrating at this `@infiltrate` spot (clear all with `Infiltrator.clear_disabled!()`). + - `@cond expr`: Infiltrate at this `@infiltrate` spot only if evaluates to true (clear all with `Infiltrator.clear_conditions!()`). - `@continue`: Continue to the next infiltration point or exit (shortcut: Ctrl-D). - `@doc symbol`: Get help for `symbol` (same as in the normal Julia REPL). - `@exit`: Stop infiltrating for the remainder of this session and exit (on Julia versions prior to @@ -500,15 +516,61 @@ function debugprompt(mod, locals, trace, terminal, repl, nostack = false; file, elseif sline == "@toggle" spot = (file, fileline) ds = getfield(store, :disabled) + cs = getfield(store, :conditions) if spot in ds delete!(ds, spot) - println(io, "Enabled infiltration at this infiltration point.\n") + if haskey(cs, spot) + println(io, "Conditionally enabled infiltration at this infiltration point.\n") + else + println(io, "Enabled infiltration at this infiltration point.\n") + end else push!(ds, spot) println(io, "Disabled infiltration at this infiltration point.\n") end LineEdit.reset_state(s) return true + elseif startswith(sline, "@cond") + spot = (file, fileline) + ds = getfield(store, :disabled) + cs = getfield(store, :conditions) + rest = lstrip(sline[6:end]) + + try + expr = Base.parse_input_line(rest) + @assert expr.head == :toplevel + # Unwrap the :toplevel node and replace with a :block + expr = Expr(:block, expr.args...) + # Rename all variables to use the locals dict. + # Otherwise, we'll capture the values of the locals here rather than at the next + # infiltration point. + locals_name = gensym(:locals) + subst(x) = x + subst(x::Symbol) = haskey(locals, x) ? Expr(:ref, locals_name, Expr(:call, Symbol, string(x))) : x + subst(e::Expr) = Expr(e.head, map(subst, e.args)...) + expr = subst(expr) + # Wrap the expr in a closure. + # We need to gensym a new name to avoid this error: + # cannot declare #1#2 constant; it already has a value + fname = gensym(:cond) + expr = quote + function $(fname)($locals_name) + $(expr) + end + $fname + end + # Eval and save in the dict. + result = Core.eval(evalmod, expr) + cs[spot] = result + # Remove the spot from the disabled set. + delete!(ds, spot) + println(io, "Conditionally enabled infiltration at this infiltration point.\n") + LineEdit.reset_state(s) + return true + catch err + # If we get an error, just punt to the eval code to handle the error. + line = rest + end elseif sline == "@exit" setfield!(store, :exiting, true) if !REPL_HOOKED[] @@ -716,7 +778,6 @@ end function interpret(expr, evalmod) out = Core.eval(evalmod, :(ans = $(expr))) - return out end From ecda7ec0f9fd4f70aa7fdb23156e7f8b7514574c Mon Sep 17 00:00:00 2001 From: Nate Nystrom Date: Wed, 22 Nov 2023 17:25:35 +0100 Subject: [PATCH 2/5] change @cond function generation to not use substitution --- src/Infiltrator.jl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Infiltrator.jl b/src/Infiltrator.jl index 4ce1549..62dd7e5 100644 --- a/src/Infiltrator.jl +++ b/src/Infiltrator.jl @@ -541,20 +541,20 @@ function debugprompt(mod, locals, trace, terminal, repl, nostack = false; file, @assert expr.head == :toplevel # Unwrap the :toplevel node and replace with a :block expr = Expr(:block, expr.args...) - # Rename all variables to use the locals dict. - # Otherwise, we'll capture the values of the locals here rather than at the next - # infiltration point. - locals_name = gensym(:locals) - subst(x) = x - subst(x::Symbol) = haskey(locals, x) ? Expr(:ref, locals_name, Expr(:call, Symbol, string(x))) : x - subst(e::Expr) = Expr(e.head, map(subst, e.args)...) - expr = subst(expr) # Wrap the expr in a closure. # We need to gensym a new name to avoid this error: # cannot declare #1#2 constant; it already has a value + # Pass a locals dict into the function so we access the locals at the + # next infiltration point rather than capturing the locals here. fname = gensym(:cond) + locals_dict = gensym(:locals) expr = quote - function $(fname)($locals_name) + function $(fname)($locals_dict) + $( + ( Expr(:(=), x, Expr(:ref, locals_dict, Expr(:call, Symbol, string(x)))) + for x in keys(locals) + )... + ) $(expr) end $fname From da524ea8a66c177c4e0e00eb2612fc0af98d02c8 Mon Sep 17 00:00:00 2001 From: Nate Nystrom Date: Wed, 22 Nov 2023 17:33:51 +0100 Subject: [PATCH 3/5] bug fixes --- README.md | 20 ++++++++++++++++---- src/Infiltrator.jl | 3 ++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index adeff00..03940bb 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,9 @@ infil> ? • @toggle: Toggle infiltrating at this @infiltrate spot (clear all with Infiltrator.clear_disabled!()). + • @cond expr: Infiltrate at this @infiltrate spot only if evaluates to true (clear all with + Infiltrator.clear_conditions!()). + • @continue: Continue to the next infiltration point or exit (shortcut: Ctrl-D). • @doc symbol: Get help for symbol (same as in the normal Julia REPL). @@ -183,15 +186,22 @@ Disabled infiltration at this infiltration point. infil> @toggle Enabled infiltration at this infiltration point. +infil> @cond i == 3 +Conditionally enabled infiltration at this infiltration point. + infil> @continue Infiltrating f(x::Vector{Int64}) at REPL[10]:5 +infil> i +3 + infil> intermediate = copy(out) -2-element Vector{Any}: +3-element Vector{Any}: 2 4 + 6 infil> @exfiltrate intermediate x Exfiltrating 2 local variables into the safehouse. @@ -204,17 +214,19 @@ infil> @exit 6 julia> safehouse.intermediate -2-element Vector{Any}: +3-element Vector{Any}: 2 4 + 6 julia> @withstore begin x = 23 x .* intermediate end 2-element Vector{Int64}: - 46 - 92 + 46 + 92 + 138 ``` ## Related projects diff --git a/src/Infiltrator.jl b/src/Infiltrator.jl index 62dd7e5..eeeb9ec 100644 --- a/src/Infiltrator.jl +++ b/src/Infiltrator.jl @@ -255,7 +255,8 @@ function start_prompt(mod, locals, file, fileline; spot in getfield(store, :disabled) && return cs = getfield(store, :conditions) f = get(cs, spot, nothing) - isnothing(f) || f(locals) || return + # Use invokelatest because we may have added f before returning to the REPL. + isnothing(f) || Base.invokelatest(f, locals) || return if terminal === nothing || repl === nothing active_repl_backend = nothing From 830368e0e3624a9d4769a2216d05e136ca4bc561 Mon Sep 17 00:00:00 2001 From: Nate Nystrom Date: Wed, 22 Nov 2023 17:38:49 +0100 Subject: [PATCH 4/5] update readme --- README.md | 51 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 03940bb..c01460b 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ julia> function f(x) end f (generic function with 1 method) -julia> f([1,2,3]) +julia> f([1,2,3,4,5,6,7,8,9,10]) Infiltrating f(x::Vector{Int64}) at REPL[10]:5 @@ -164,7 +164,7 @@ infil> ? infil> @locals - out::Vector{Any} = Any[2] - i::Int64 = 1 -- x::Vector{Int64} = [1, 2, 3] +- x::Vector{Int64} = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] infil> 0//0 ERROR: ArgumentError: invalid rational: zero(Int64)//zero(Int64) @@ -186,7 +186,7 @@ Disabled infiltration at this infiltration point. infil> @toggle Enabled infiltration at this infiltration point. -infil> @cond i == 3 +infil> @cond i > 5 Conditionally enabled infiltration at this infiltration point. infil> @continue @@ -195,38 +195,55 @@ Infiltrating f(x::Vector{Int64}) at REPL[10]:5 infil> i -3 +6 infil> intermediate = copy(out) -3-element Vector{Any}: - 2 - 4 - 6 +6-element Vector{Any}: + 2 + 4 + 6 + 8 + 10 + 12 infil> @exfiltrate intermediate x Exfiltrating 2 local variables into the safehouse. infil> @exit -3-element Vector{Any}: - 2 - 4 - 6 +10-element Vector{Any}: + 2 + 4 + 6 + 8 + 10 + 12 + 14 + 16 + 18 + 20 + julia> safehouse.intermediate -3-element Vector{Any}: - 2 - 4 - 6 +6-element Vector{Any}: + 2 + 4 + 6 + 8 + 10 + 12 julia> @withstore begin x = 23 x .* intermediate end -2-element Vector{Int64}: +6-element Vector{Int64}: 46 92 138 + 184 + 230 + 276 ``` ## Related projects From 9b3b4132da64d21a2137782bc71e1106a5b60bff Mon Sep 17 00:00:00 2001 From: Sebastian Pfitzner Date: Mon, 12 Feb 2024 18:49:58 +0100 Subject: [PATCH 5/5] add test --- src/Infiltrator.jl | 2 +- test/fixtures/toplevel-fixture.jl | 4 +- test/generate.jl | 4 + test/outputs/Julia_cond_1.1.multiout | 194 ++++++++++++++++++++ test/outputs/Julia_cond_1.10.multiout | 206 ++++++++++++++++++++++ test/outputs/Julia_cond_1.6.multiout | 206 ++++++++++++++++++++++ test/outputs/Julia_cond_1.7.multiout | 206 ++++++++++++++++++++++ test/outputs/Julia_cond_1.8.multiout | 206 ++++++++++++++++++++++ test/outputs/Julia_cond_1.9.multiout | 206 ++++++++++++++++++++++ test/outputs/Julia_f_1.1.multiout | 110 ++++++++++++ test/outputs/Julia_f_1.10.multiout | 110 ++++++++++++ test/outputs/Julia_f_1.6.multiout | 110 ++++++++++++ test/outputs/Julia_f_1.7.multiout | 110 ++++++++++++ test/outputs/Julia_f_1.8.multiout | 110 ++++++++++++ test/outputs/Julia_f_1.9.multiout | 110 ++++++++++++ test/outputs/Julia_g_1.1.multiout | 40 +++++ test/outputs/Julia_g_1.10.multiout | 40 +++++ test/outputs/Julia_g_1.6.multiout | 40 +++++ test/outputs/Julia_g_1.7.multiout | 40 +++++ test/outputs/Julia_g_1.8.multiout | 40 +++++ test/outputs/Julia_g_1.9.multiout | 40 +++++ test/outputs/Julia_toplevel_1.10.multiout | 2 + test/outputs/Julia_toplevel_1.7.multiout | 2 + test/outputs/Julia_toplevel_1.8.multiout | 2 + test/outputs/Julia_toplevel_1.9.multiout | 2 + test/runtests.jl | 56 ++++-- 26 files changed, 2178 insertions(+), 20 deletions(-) create mode 100644 test/generate.jl create mode 100644 test/outputs/Julia_cond_1.1.multiout create mode 100644 test/outputs/Julia_cond_1.10.multiout create mode 100644 test/outputs/Julia_cond_1.6.multiout create mode 100644 test/outputs/Julia_cond_1.7.multiout create mode 100644 test/outputs/Julia_cond_1.8.multiout create mode 100644 test/outputs/Julia_cond_1.9.multiout diff --git a/src/Infiltrator.jl b/src/Infiltrator.jl index 2bbd323..3510fae 100644 --- a/src/Infiltrator.jl +++ b/src/Infiltrator.jl @@ -355,7 +355,7 @@ The following commands are special cased: - `@exfiltrate`: Save all local variables into the store. `@exfiltrate x y` saves `x` and `y`; this variant can also exfiltrate variables defined in the `infil>` REPL. - `@toggle`: Toggle infiltrating at this `@infiltrate` spot (clear all with `Infiltrator.clear_disabled!()`). - - `@cond expr`: Infiltrate at this `@infiltrate` spot only if evaluates to true (clear all with `Infiltrator.clear_conditions!()`). + - `@cond expr`: Infiltrate at this `@infiltrate` spot only if `expr` evaluates to true (clear all with `Infiltrator.clear_conditions!()`). Only local variables can be accessed here. - `@continue`: Continue to the next infiltration point or exit (shortcut: Ctrl-D). - `@doc symbol`: Get help for `symbol` (same as in the normal Julia REPL). - `@exit`: Stop infiltrating for the remainder of this session and exit (on Julia versions prior to diff --git a/test/fixtures/toplevel-fixture.jl b/test/fixtures/toplevel-fixture.jl index da1a06b..fd8ac00 100644 --- a/test/fixtures/toplevel-fixture.jl +++ b/test/fixtures/toplevel-fixture.jl @@ -1,5 +1,7 @@ using Infiltrator -println(2+2) +if VERSION > v"1.7" + println(2+2) +end @infiltrate "success" \ No newline at end of file diff --git a/test/generate.jl b/test/generate.jl new file mode 100644 index 0000000..4a92764 --- /dev/null +++ b/test/generate.jl @@ -0,0 +1,4 @@ +for version in ["1.1", "1.6", "1.7", "1.8", "1.9", "1.10"] + println("Generating outputs with Julia v$version") + run(addenv(`julia +$version --project=$(dirname(@__DIR__)) -e 'using Pkg; Pkg.test()'`, "INFILTRATOR_CREATE_TEST" => 1)) +end \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.1.multiout b/test/outputs/Julia_cond_1.1.multiout new file mode 100644 index 0000000..335be1d --- /dev/null +++ b/test/outputs/Julia_cond_1.1.multiout @@ -0,0 +1,194 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|false +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|false +| +|infil> @continue +| +|4 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|false +| +|infil> @continue +| +|4 +|Infiltrating +| +|infil> i +|4 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.10.multiout b/test/outputs/Julia_cond_1.10.multiout new file mode 100644 index 0000000..d09df84 --- /dev/null +++ b/test/outputs/Julia_cond_1.10.multiout @@ -0,0 +1,206 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> i +|7 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.6.multiout b/test/outputs/Julia_cond_1.6.multiout new file mode 100644 index 0000000..d09df84 --- /dev/null +++ b/test/outputs/Julia_cond_1.6.multiout @@ -0,0 +1,206 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> i +|7 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.7.multiout b/test/outputs/Julia_cond_1.7.multiout new file mode 100644 index 0000000..d09df84 --- /dev/null +++ b/test/outputs/Julia_cond_1.7.multiout @@ -0,0 +1,206 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> i +|7 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.8.multiout b/test/outputs/Julia_cond_1.8.multiout new file mode 100644 index 0000000..d09df84 --- /dev/null +++ b/test/outputs/Julia_cond_1.8.multiout @@ -0,0 +1,206 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> i +|7 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_cond_1.9.multiout b/test/outputs/Julia_cond_1.9.multiout new file mode 100644 index 0000000..d09df84 --- /dev/null +++ b/test/outputs/Julia_cond_1.9.multiout @@ -0,0 +1,206 @@ +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBB +++++++++++++++++++++++++++++++++++++++++++++++++++ +|1 +|Infiltrating +| +|infil> @continue +| +|2 +|Infiltrating +| +|infil> @continue +| +|3 +|Infiltrating +| +|infil> @cond i > 6 +|Conditionally enabled infiltration at this infiltration point. +| +|infil> @continue +| +|4 +|5 +|6 +|7 +|Infiltrating +| +|infil> i +|7 +| +|infil> +-------------------------------------------------- +|A +|AAAAAAAAAAAAAAAAAAAAAA +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBCCCCCCCCC +| +|C +|C +|C +|C +|CCCCCCCCCCCCCCCCCCCCCC +| +|BBBBBBBC +|C +| +|BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_f_1.1.multiout b/test/outputs/Julia_f_1.1.multiout index b73938d..8a7af27 100644 --- a/test/outputs/Julia_f_1.1.multiout +++ b/test/outputs/Julia_f_1.1.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -757,6 +832,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -819,6 +899,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -884,6 +969,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -949,6 +1039,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1017,6 +1112,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1085,6 +1185,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1156,6 +1261,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_f_1.10.multiout b/test/outputs/Julia_f_1.10.multiout index 59a9312..fd5c1ec 100644 --- a/test/outputs/Julia_f_1.10.multiout +++ b/test/outputs/Julia_f_1.10.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -768,6 +843,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -841,6 +921,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -917,6 +1002,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -993,6 +1083,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1072,6 +1167,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1151,6 +1251,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1233,6 +1338,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_f_1.6.multiout b/test/outputs/Julia_f_1.6.multiout index edc65ee..db009f3 100644 --- a/test/outputs/Julia_f_1.6.multiout +++ b/test/outputs/Julia_f_1.6.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -757,6 +832,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -819,6 +899,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -884,6 +969,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -949,6 +1039,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1017,6 +1112,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1085,6 +1185,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1156,6 +1261,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_f_1.7.multiout b/test/outputs/Julia_f_1.7.multiout index edc65ee..db009f3 100644 --- a/test/outputs/Julia_f_1.7.multiout +++ b/test/outputs/Julia_f_1.7.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -757,6 +832,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -819,6 +899,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -884,6 +969,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -949,6 +1039,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1017,6 +1112,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1085,6 +1185,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1156,6 +1261,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_f_1.8.multiout b/test/outputs/Julia_f_1.8.multiout index 7887bc5..fa28291 100644 --- a/test/outputs/Julia_f_1.8.multiout +++ b/test/outputs/Julia_f_1.8.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -768,6 +843,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -841,6 +921,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -917,6 +1002,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -993,6 +1083,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1072,6 +1167,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1151,6 +1251,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1233,6 +1338,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_f_1.9.multiout b/test/outputs/Julia_f_1.9.multiout index 7887bc5..fa28291 100644 --- a/test/outputs/Julia_f_1.9.multiout +++ b/test/outputs/Julia_f_1.9.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -221,6 +246,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -263,6 +293,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -311,6 +346,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -359,6 +399,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -412,6 +457,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -465,6 +515,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -521,6 +576,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -577,6 +637,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -636,6 +701,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -695,6 +765,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -768,6 +843,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -841,6 +921,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -917,6 +1002,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -993,6 +1083,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1072,6 +1167,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -1151,6 +1251,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -1233,6 +1338,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.1.multiout b/test/outputs/Julia_g_1.1.multiout index 80295b6..d69e9ed 100644 --- a/test/outputs/Julia_g_1.1.multiout +++ b/test/outputs/Julia_g_1.1.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC | +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.10.multiout b/test/outputs/Julia_g_1.10.multiout index 8c21b65..384945a 100644 --- a/test/outputs/Julia_g_1.10.multiout +++ b/test/outputs/Julia_g_1.10.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.6.multiout b/test/outputs/Julia_g_1.6.multiout index 8c21b65..384945a 100644 --- a/test/outputs/Julia_g_1.6.multiout +++ b/test/outputs/Julia_g_1.6.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.7.multiout b/test/outputs/Julia_g_1.7.multiout index 8c21b65..384945a 100644 --- a/test/outputs/Julia_g_1.7.multiout +++ b/test/outputs/Julia_g_1.7.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.8.multiout b/test/outputs/Julia_g_1.8.multiout index 8c21b65..384945a 100644 --- a/test/outputs/Julia_g_1.8.multiout +++ b/test/outputs/Julia_g_1.8.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_g_1.9.multiout b/test/outputs/Julia_g_1.9.multiout index 8c21b65..384945a 100644 --- a/test/outputs/Julia_g_1.9.multiout +++ b/test/outputs/Julia_g_1.9.multiout @@ -31,6 +31,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -67,6 +72,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -103,6 +113,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -141,6 +156,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -179,6 +199,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -220,6 +245,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | @@ -261,6 +291,11 @@ | • @toggle: Toggle infiltrating at this @infiltrate spot (clear all | with Infiltrator.clear_disabled!()). | +| • @cond expr: Infiltrate at this @infiltrate spot only if expr +| evaluates to true (clear all with +| Infiltrator.clear_conditions!()). Only local variables can be +| accessed here. +| | • @continue: Continue to the next infiltration point or exit | (shortcut: Ctrl-D). | @@ -305,6 +340,11 @@ |CCCCCCCDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCCC |CCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCC | +|CCCCCCCDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDCCCCCCCCCCCCCCDDDD +|CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC +|CCCCCCCCCCCCCCCCCCCCC +| |CCCCCCCDDDDDDDDDCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC |CCCCCCCCCCCCCCCCCCCCCCCCCC | diff --git a/test/outputs/Julia_toplevel_1.10.multiout b/test/outputs/Julia_toplevel_1.10.multiout index a7f624f..a25a055 100644 --- a/test/outputs/Julia_toplevel_1.10.multiout +++ b/test/outputs/Julia_toplevel_1.10.multiout @@ -1,8 +1,10 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++ +|4 |Infiltrating | |infil> -------------------------------------------------- +|A |AAAAAAAAAAAAAAAAAAAAAA | |BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_toplevel_1.7.multiout b/test/outputs/Julia_toplevel_1.7.multiout index 107d560..f7042e1 100644 --- a/test/outputs/Julia_toplevel_1.7.multiout +++ b/test/outputs/Julia_toplevel_1.7.multiout @@ -1,8 +1,10 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++ +|4 |Infiltrating top-level frame | |infil> -------------------------------------------------- +|A |AAAAAAAAAAAAAAAAAAAAAAAAAAAA | |BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_toplevel_1.8.multiout b/test/outputs/Julia_toplevel_1.8.multiout index 107d560..f7042e1 100644 --- a/test/outputs/Julia_toplevel_1.8.multiout +++ b/test/outputs/Julia_toplevel_1.8.multiout @@ -1,8 +1,10 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++ +|4 |Infiltrating top-level frame | |infil> -------------------------------------------------- +|A |AAAAAAAAAAAAAAAAAAAAAAAAAAAA | |BBBBBBB \ No newline at end of file diff --git a/test/outputs/Julia_toplevel_1.9.multiout b/test/outputs/Julia_toplevel_1.9.multiout index 107d560..f7042e1 100644 --- a/test/outputs/Julia_toplevel_1.9.multiout +++ b/test/outputs/Julia_toplevel_1.9.multiout @@ -1,8 +1,10 @@ ++++++++++++++++++++++++++++++++++++++++++++++++++ +|4 |Infiltrating top-level frame | |infil> -------------------------------------------------- +|A |AAAAAAAAAAAAAAAAAAAAAAAAAAAA | |BBBBBBB \ No newline at end of file diff --git a/test/runtests.jl b/test/runtests.jl index 6abfc92..cce955a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -67,6 +67,13 @@ function anon() end end +function cond(t) + for i in 1:10 + println(t, i) + @infiltrate + end +end + @testset "infiltration tests" begin if Sys.isunix() && VERSION >= v"1.1.0" using TerminalRegressionTests @@ -88,7 +95,7 @@ end Infiltrator.TEST_REPL_REF[] = repl; Infiltrator.CHECK_TASK[] = false - @test func() == result + @test func(repl.t) == result Infiltrator.TEST_TERMINAL_REF[] = nothing Infiltrator.TEST_NOSTACK[] = false @@ -98,7 +105,7 @@ end end end end - run_terminal_test(() -> f(3), [3, 4, 5], + run_terminal_test((t) -> f(3), [3, 4, 5], ["?\n", "@trace\n", "@locals\n", "x.*y\n", "3+\n4\n", "ans\n", "baz\n", "0//0\n", "@toggle\n", "@toggle\n", "@toggle\n", "\x4"], "Julia_f_$(VERSION.major).$(VERSION.minor).multiout") @@ -106,30 +113,30 @@ end Infiltrator.clear_disabled!() - run_terminal_test(() -> f(3), [3, 4, 5], + run_terminal_test((t) -> f(3), [3, 4, 5], ["@locals\n", "\x4"], "Julia_f2_$(VERSION.major).$(VERSION.minor).multiout") - run_terminal_test(() -> f(3), [3, 4, 5], + run_terminal_test((t) -> f(3), [3, 4, 5], ["@locals x\n", "\x4"], "Julia_f2_filter_$(VERSION.major).$(VERSION.minor).multiout") @test g(1) == 12 # conditional @infiltrate should not open a prompt - run_terminal_test(() -> g(2), 24, + run_terminal_test((t) -> g(2), 24, ["?\n", "@trace\n", "@locals\n", "x\n", "\x4"], "Julia_g_$(VERSION.major).$(VERSION.minor).multiout") - run_terminal_test(() -> h([1,2,3]), [[3,4,5], [3,4,5], [3,4,5]], + run_terminal_test((t) -> h([1,2,3]), [[3,4,5], [3,4,5], [3,4,5]], ["\x4", "@locals\n", "@exit\n"], "Julia_h_$(VERSION.major).$(VERSION.minor).multiout") - run_terminal_test(() -> i(1000), i(1000), + run_terminal_test((t) -> i(1000), i(1000), ["2+2\n", "@locals\n", "\x4"], "Julia_i_$(VERSION.major).$(VERSION.minor).multiout") # scratch pad test - run_terminal_test(() -> g(2), 24, + run_terminal_test((t) -> g(2), 24, ["@locals\n", "xxxxx = 12\n", "aa, bb = ('a', 'b')\n","foo(x) = x\n", "function bar(x); 2x; end\n", "x = 2\n", "@exfiltrate xxxxx aa bb foo bar\n", "\x4"], "Julia_exfil_$(VERSION.major).$(VERSION.minor).multiout") @@ -141,58 +148,71 @@ end @test !isdefined(getfield(Infiltrator.store, :store), :x) # proper scoping of scratch pad - run_terminal_test(() -> j(2), 8, + run_terminal_test((t) -> j(2), 8, ["@locals\n", "@exfiltrate\n", "\x4"], "Julia_scoping_$(VERSION.major).$(VERSION.minor).multiout") @test Infiltrator.store.xxxxx == 4 # persistent history - run_terminal_test(() -> h([1,2,3]), [[3,4,5], [3,4,5], [3,4,5]], + run_terminal_test((t) -> h([1,2,3]), [[3,4,5], [3,4,5], [3,4,5]], ["y\n", "\e[A\n", "\x4", "\e[A\n", "@exit\n"], "Julia_hist_$(VERSION.major).$(VERSION.minor).multiout") # top-level test - run_terminal_test(() -> include(joinpath(@__DIR__, "fixtures", "toplevel-fixture.jl")), "success", + run_terminal_test((t) -> begin + if VERSION > v"1.7" + redirect_stdout(t) do + include(joinpath(@__DIR__, "fixtures", "toplevel-fixture.jl")) + end + else + include(joinpath(@__DIR__, "fixtures", "toplevel-fixture.jl")) + end + end, "success", ["@exit\n"], "Julia_toplevel_$(VERSION.major).$(VERSION.minor).multiout") - # completions test - run_terminal_test(k, Bar(333, 333), + # completions test + run_terminal_test((t) -> k(), Bar(333, 333), ["struct Foo\n xxx\n yyy\nend\n", "foo = Foo(1, 2)\n", "fo\t\t\x3", "foo.xx\t\t\n", "zz\t\t\x3", "aa\t\t\x3", "aaaa.xx\t\t\n", "@exfiltrate foo nope\n", "@exit\n"], "Julia_completions_$(VERSION.major).$(VERSION.minor).multiout") @test Infiltrator.store.foo.xxx == 1 # imported globals - run_terminal_test(Jmod.jfunc, nothing, + run_terminal_test((t) -> Jmod.jfunc(), nothing, ["x\n", "randstring\n", "@exit\n"], "Julia_imported_globals_$(VERSION.major).$(VERSION.minor).multiout") # safehouse should not shadow local variables - run_terminal_test(multiexfiltrate, nothing, + run_terminal_test((t) -> multiexfiltrate(), nothing, ["i\n", "@continue\n", "i\n", "@exfiltrate\n", "@continue\n", "i\n", "safehouse.i\n", "@continue\n", "@exit\n"], "Julia_multi_exfiltrate_$(VERSION.major).$(VERSION.minor).multiout") @test Infiltrator.store.i == 2 # function-form infiltration - run_terminal_test(() -> function_form_infiltration(2), nothing, + run_terminal_test((t) -> function_form_infiltration(2), nothing, ["x\n", "@exit\n"], "Julia_function_inf_$(VERSION.major).$(VERSION.minor).multiout") # test Core.Compiler @static if VERSION >= v"1.8" @eval Core.Compiler __foo(x) = Main.Infiltrator.@infiltrate - run_terminal_test(() -> Core.Compiler.__foo(Core.SSAValue(3)), nothing, + run_terminal_test((t) -> Core.Compiler.__foo(Core.SSAValue(3)), nothing, ["x\n", "@exfiltrate\n", "@exit\n"], "Julia_compiler_$(VERSION.major).$(VERSION.minor).multiout") @test Infiltrator.store.x == Core.SSAValue(3) end # anonymous modules - run_terminal_test(() -> anon(), nothing, + run_terminal_test((t) -> anon(), nothing, ["aas\t\t\n", "@exfiltrate aasdf\n", "@exit\n"], "Julia_anon_$(VERSION.major).$(VERSION.minor).multiout") @test Infiltrator.store.aasdf == 3 + + # anonymous modules + run_terminal_test((t) -> cond(t), nothing, + ["@continue\n", "@continue\n", "@cond i > 6\n", "@continue\n", "i\n", "@exit\n"], + "Julia_cond_$(VERSION.major).$(VERSION.minor).multiout") else @warn "Skipping UI tests on non unix systems" end