48 lines
919 B
Text
48 lines
919 B
Text
---
|
|
source: tests/file_tests.rs
|
|
expression: emit
|
|
input_file: tests/cases/condition.nomo
|
|
---
|
|
[
|
|
LoadFromContextToSlot {
|
|
name: "test" (6..10),
|
|
slot: VariableSlot {
|
|
index: 0,
|
|
},
|
|
},
|
|
JumpIfNotTrue {
|
|
emit_slot: VariableSlot {
|
|
index: 0,
|
|
},
|
|
jump: 9223372036854775807,
|
|
},
|
|
AppendContent {
|
|
content: "\n " (13..18),
|
|
},
|
|
AppendContent {
|
|
content: "Hello World!" (18..30),
|
|
},
|
|
Jump {
|
|
jump: 3,
|
|
},
|
|
AppendContent {
|
|
content: "\n " (13..18),
|
|
},
|
|
AppendContent {
|
|
content: "\n" (30..31),
|
|
},
|
|
AppendContent {
|
|
content: "\n\n" (40..42),
|
|
},
|
|
LoadFromContextToSlot {
|
|
name: "stuff" (46..51),
|
|
slot: VariableSlot {
|
|
index: 1,
|
|
},
|
|
},
|
|
EmitFromSlot {
|
|
slot: VariableSlot {
|
|
index: 1,
|
|
},
|
|
},
|
|
]
|