RP35part2.init() RP35part2.program RP35part2.ast RP35part2.answer

Consider the following program:

program

Write down the full data structure that represents the AST for this SLang 3 program.

$('#answer').val()
return RP35part2.validateAnswer(guess);

The second element in the AST is an array of classes.

Recall that the body of each method, including main's, is an array of one or more expressions or statements.

Be aware that, in SLang 3, the name given to the two types of primitive applications are Prim1AppExp and Prim2AppExp.

While extra white space characters do not matter in the correct answer, correctness does depend on proper letter case for each and every string in the AST.