MCSN-project2014 / APproject

Project for the MCSN Advanced Programming Module A.Y. 2014/2015
http://mcsn-project2014.github.io/APproject/
MIT License
4 stars 0 forks source link

need a new label "Parameters" in the class Node.cs #15

Closed dido18 closed 9 years ago

dido18 commented 9 years ago

I need a label "Parametesr" in the class Node.cs. It will be the child for Function declaration Node.

lucarin91 commented 9 years ago

It's not necessary this label because the parameters of a function are expressions, so they can be every thighs (a Mul node, a functionCall node or a Term).

dido18 commented 9 years ago

The Parameters label is needed for the DECLARATION of the function:

fun add( a int, b int ){ .... }

funDecl node should have two children:

The parameters Node will include the list of parameters definition.