Add parsing for conditionals (cont.)
Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
parent
974086a877
commit
8afc2d1bde
29 changed files with 994 additions and 746 deletions
|
|
@ -5,7 +5,7 @@ input_file: tests/cases/identifiers.nomo
|
|||
---
|
||||
[
|
||||
LoadFromContextToSlot {
|
||||
name: "_name",
|
||||
name: "_name" (4..9),
|
||||
slot: VariableSlot {
|
||||
index: 0,
|
||||
},
|
||||
|
|
@ -16,11 +16,10 @@ input_file: tests/cases/identifiers.nomo
|
|||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
content: "\n" (12..13),
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "a_name",
|
||||
name: "a_name" (17..23),
|
||||
slot: VariableSlot {
|
||||
index: 1,
|
||||
},
|
||||
|
|
@ -31,11 +30,10 @@ input_file: tests/cases/identifiers.nomo
|
|||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
content: "\n" (26..27),
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "1name",
|
||||
name: "1name" (31..36),
|
||||
slot: VariableSlot {
|
||||
index: 2,
|
||||
},
|
||||
|
|
@ -46,11 +44,10 @@ input_file: tests/cases/identifiers.nomo
|
|||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
content: "\n" (39..40),
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "_name1",
|
||||
name: "_name1" (44..50),
|
||||
slot: VariableSlot {
|
||||
index: 3,
|
||||
},
|
||||
|
|
@ -61,11 +58,10 @@ input_file: tests/cases/identifiers.nomo
|
|||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
content: "\n" (53..54),
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "_namE",
|
||||
name: "_namE" (58..63),
|
||||
slot: VariableSlot {
|
||||
index: 4,
|
||||
},
|
||||
|
|
@ -76,11 +72,10 @@ input_file: tests/cases/identifiers.nomo
|
|||
},
|
||||
},
|
||||
AppendContent {
|
||||
content: "
|
||||
",
|
||||
content: "\n" (66..67),
|
||||
},
|
||||
LoadFromContextToSlot {
|
||||
name: "name1",
|
||||
name: "name1" (71..76),
|
||||
slot: VariableSlot {
|
||||
index: 5,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue