int myFunction(char myProperty) {
return 5;
}
AST:
FUNCTION:
name: myFunction
return_type: int
parameters:
- PARAMETER:
name: myProperty
return_type: char
BODY:
STATEMENTS:
- return 5
int myFunction(char myProperty) {
return 5;
}
AST:
FUNCTION:
name: myFunction
return_type: int
parameters:
- PARAMETER:
name: myProperty
return_type: char
BODY:
STATEMENTS:
- return 5