<commit_before>package net.zero918nobita.Xemime.resolver;

import net.zero918nobita.Xemime.ast.X_Code;
import net.zero918nobita.Xemime.ast.X_Symbol;
import net.zero918nobita.Xemime.entity.Scope;

import java.util.ArrayList;
import java.util.Stack;

/**
 * 変数の参照の解決を行います。
 * @author <NAME>
 */

public class Resolver {
    private Stack<Scope> scope = new Stack<>();

    public Resolver() {
        scope.add(new Scope(null));
    }

    public void resolve(ArrayList<X_Code> c) {
        for (X_Code elm : c) resolve(elm);
    }

    public void resolve(X_Code c) {
    }

    public void declareVar(X_Symbol sym) {
        scope.peek().defVar(sym);
    }
<commit_msg>使われていないメソッドの定義を削除した<commit_after>package net.zero918nobita.Xemime.resolver;

import net.zero918nobita.Xemime.ast.X_Code;
import net.zero918nobita.Xemime.ast.X_Symbol;
import net.zero918nobita.Xemime.entity.Scope;

import java.util.Stack;

/**
 * 変数の参照の解決を行います。
 * @author <NAME>
 */

public class Resolver {
    private Stack<Scope> scope = new Stack<>();

    public Resolver() {
        scope.add(new Scope(null));
    }

    public void declareVar(X_Symbol sym) {
        scope.peek().defVar(sym);
    }

{'fraction_non_alphanumeric': 0.1284013605442177, 'fraction_numerical': 0.02040816326530612, 'mean_word_length': 3.4752851711026618, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '3314125', 'n_tokens_mistral': 472, 'n_tokens_neox': 461, 'n_words': 75}