41 lines
905 B
Text
41 lines
905 B
Text
---
|
|
source: tests/file_tests.rs
|
|
expression: emit
|
|
input_file: tests/cases/multiple.nomo
|
|
---
|
|
VMInstructions {
|
|
labels: {},
|
|
instructions: [
|
|
AppendContent {
|
|
content: "Hi there! My name is" (0..20),
|
|
},
|
|
AppendContent {
|
|
content: " " (20..21),
|
|
},
|
|
LoadFromContextToSlot {
|
|
name: "name" (25..29),
|
|
slot: VariableSlot {
|
|
index: 0,
|
|
},
|
|
},
|
|
EmitFromSlot {
|
|
slot: VariableSlot {
|
|
index: 0,
|
|
},
|
|
},
|
|
AppendContent {
|
|
content: " " (32..33),
|
|
},
|
|
LoadFromContextToSlot {
|
|
name: "lastname" (37..45),
|
|
slot: VariableSlot {
|
|
index: 1,
|
|
},
|
|
},
|
|
EmitFromSlot {
|
|
slot: VariableSlot {
|
|
index: 1,
|
|
},
|
|
},
|
|
],
|
|
}
|