git.schokokeks.org
Repositories
Help
Report an Issue
fs-workbench.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
c871fa6
Branches
Tags
master
fs-workbench.git
source
model
concept.js
foo
Fenris Wolf
commited
c871fa6
at 2017-04-17 12:01:43
concept.js
Blame
History
Raw
/** * @author fenris */ class Concept { /** * @param {string} type the type of the concept; can be 'verb','noun','attribute','other' * @param {string} description a text describing the concept; default: null * @param {Array<string>} tags a list of strings with which the concept is tagged; default: [] */ constructor(type, description, tags) { if (description == undefined) description = null; if (tags == undefined) tags = []; this.type = type; this.description = description; this.tags = tags; } }