Created
June 15, 2009 16:41
-
-
Save simonask/130207 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func parse_function(input) | |
{ | |
return_type = parse_type(input) | |
name = parse_name_token(input) | |
parameters = parse_parameter_list(input) | |
body = parse_scope(input) | |
return new Function(return_type, name, parameters, body) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment