MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeText-parser / Car

Class Car

tests/test_parser/test_sample/javascript_test_sample.js:79–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79class Car {
80 constructor(brand) {
81 this.carname = brand;
82 }
83
84 /**
85 * Dispatched when loading the repositories fails
86 *
87 * @param {object} error The error
88 *
89 * @return {object} An action object with a type of LOAD_REPOS_ERROR passing the error
90 */
91 present() {
92 return 'I have a ' + this.carname;
93 }
94}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected