<commit_before>import CheddarLexer from '../tok/lex';

import CheddarExpressionToken from '../parsers/expr';
import CheddarVariableToken from '../literals/var';
import CheddarTypedVariableToken from '../parsers/typed_var';

export default class StatementAssign extends CheddarLexer {
    exec() {
        this.open(false);

        let DEFS = ['var', 'const'];
        return this.grammar(true,
            [DEFS, this.jumpWhite, CheddarVariableToken, ':=', CheddarExpressionToken],
            [DEFS, this.jumpWhite, CheddarTypedVariableToken, '=', CheddarExpressionToken]
        );
    }
}<commit_msg>feature [assignment]: Changed `:=` to `=` in deleration<commit_after>import CheddarLexer from '../tok/lex';

import CheddarExpressionToken from '../parsers/expr';
import CheddarVariableToken from '../literals/var';
import CheddarTypedVariableToken from '../parsers/typed_var';

export default class StatementAssign extends CheddarLexer {
    exec() {
        this.open(false);

        let DEFS = ['var', 'const'];
        return this.grammar(true,
            [DEFS, this.jumpWhite, CheddarVariableToken, '=', CheddarExpressionToken],
            [DEFS, this.jumpWhite, CheddarTypedVariableToken, '=', CheddarExpressionToken]
        );
    }
}
{'fraction_non_alphanumeric': 0.13050440352281825, 'fraction_numerical': 0.0, 'mean_word_length': 3.5955882352941178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '904812', 'n_tokens_mistral': 384, 'n_tokens_neox': 372, 'n_words': 81}