<commit_before>import ASTNodes.Declarations.DeclarationNode;
import ASTNodes.Declarations.MethodDcl;
import ASTNodes.GeneralNodes.Node;

import java.util.ArrayList;

/**
 * Created by Gedesnegl on 14-04-2016.
 */
public class Func {
    Node.Type returnType;
    ArrayList<Symbol> parameters;

        public Func(MethodDcl methodNode){
            for (Node n :methodNode.parameters) {
                ;
            }
        }
}<commit_msg>Func :: Made Parameters a list of types<commit_after>import ASTNodes.Declarations.DeclarationNode;
import ASTNodes.Declarations.MethodDcl;
import ASTNodes.GeneralNodes.Node;
import ASTNodes.SyntaxNodes.BlockNode;

import java.util.ArrayList;

/**
 * Created by Gedesnegl on 14-04-2016.
 */
public class Func {
    Node.Type returnType;
    public ArrayList<Node.Type> parameters;

        public Func(MethodDcl methodNode){
            returnType = methodNode.type;
            for (Node n :methodNode.parameters) {
                DeclarationNode N = (DeclarationNode)n;
                parameters.add(N.type);
            }
            //Add the parameters to the beginning of the blockNode so they'll be recorded in the scope for checking.
            ((BlockNode)methodNode.GetLeftChild()).GetChildren().addAll(0,methodNode.parameters);
        }
}
{'fraction_non_alphanumeric': 0.09350850077279753, 'fraction_numerical': 0.01313755795981453, 'mean_word_length': 2.8088235294117645, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2325011', 'n_tokens_mistral': 385, 'n_tokens_neox': 357, 'n_words': 88}