diff options
Diffstat (limited to 'SCI2CTmpResultsReports/lengthfinder/lengthfinder.ast')
-rw-r--r-- | SCI2CTmpResultsReports/lengthfinder/lengthfinder.ast | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/SCI2CTmpResultsReports/lengthfinder/lengthfinder.ast b/SCI2CTmpResultsReports/lengthfinder/lengthfinder.ast new file mode 100644 index 0000000..b452681 --- /dev/null +++ b/SCI2CTmpResultsReports/lengthfinder/lengthfinder.ast @@ -0,0 +1,48 @@ +Program +Name : lengthfinder +Outputs: <empty> +Inputs : <empty> +Statements + <EOL> + Equal + Expression: + Operation + Operands: + Number_x: 1 + Number_x: 5 + Operator: : + EndOperation + Lhs : + Variable: x + EndEqual + <EOL> + Equal + Expression: + Funcall : length + #lhs : 1 + Rhs : + Variable: x + EndFuncall + Lhs : + Variable: y + EndEqual + <EOL> + Equal + Expression: + Funcall : disp + #lhs : 1 + Rhs : + Variable: y + EndFuncall + Lhs : + Variable: ans1 + EndEqual + <EOL> + <EOL> + Funcall : return + #lhs : 0 + Rhs : + <empty> + EndFuncall + <EOL> +EndProgram |