<commit_before>/*
 * Point class
 *
 * Usage:
 *  var p = new Point(10, 20);
 *  log p.getX(); // 10
 *  log p.getY(); // 20
 */
class Point {
    var _x;
    var _y;

    function initialize(x, y) {
        this._x = x;
        this._y = y;
    }

    // getters
    function getX() {
        return this._x;
    }
    function getY() {
        return this._y;
    }
    
    // setters
    function setX(value :number) {
        this._x = value;
    }
    function setY(value :number) {
        this._y = value;
    }
}
// vim: set ft=javascript:<commit_msg>fix syntax errors<commit_after>/*
 * Point class
 *
 * Usage:
 *  var p = new Point(10, 20);
 *  log p.getX(); // 10
 *  log p.getY(); // 20
 */
class Point {
    var _x : number;
    var _y : number;

    function initialize() {
    }

    function initialize(x:number, y:number) {
        this._x = x;
        this._y = y;
    }

    // getters
    function getX():number {
        return this._x;
    }
    function getY():number {
        return this._y;
    }
    
    // setters
    function setX(value :number):void {
        this._x = value;
    }
    function setY(value :number):void {
        this._y = value;
    }
}
// vim: set ft=javascript:
{'fraction_non_alphanumeric': 0.14650205761316873, 'fraction_numerical': 0.01316872427983539, 'mean_word_length': 1.6434782608695653, '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': '63532', 'n_tokens_mistral': 451, 'n_tokens_neox': 429, 'n_words': 107}