Print other Rules to stdout
- Entire parsed file in readable form to stdout
This commit is contained in:
@@ -89,12 +89,15 @@ fn instruct(statement: Pair<Rule>, out: &mut Builder) {
|
||||
}
|
||||
}
|
||||
Rule::loopBlockStart => {
|
||||
println!("Start of loopBlock");
|
||||
out.append("loopBlockStart\n");
|
||||
}
|
||||
Rule::loopBlockEnd => {
|
||||
println!("End of loopBlock");
|
||||
out.append("loopBlockEnd\n");
|
||||
}
|
||||
Rule::EOI => {
|
||||
println!("End of Input");
|
||||
out.append("\n");
|
||||
}
|
||||
_ => unreachable!(),
|
||||
|
||||
Reference in New Issue
Block a user