first commit

This commit is contained in:
becarta
2025-05-16 00:17:42 +02:00
parent ea5c866137
commit bacf566ec9
6020 changed files with 1715262 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import Node from './shared/Node.js';
/** @extends Node<'Comment'> */
export default class Comment extends Node {
/** @type {string} */
data;
/** @type {string[]} */
ignores;
/**
* @param {import('../Component.js').default} component
* @param {import('./shared/Node.js').default} parent
* @param {import('./shared/TemplateScope.js').default} scope
* @param {import('../../interfaces.js').TemplateNode} info
*/
constructor(component, parent, scope, info) {
super(component, parent, scope, info);
this.data = info.data;
this.ignores = info.ignores;
}
}