This commit is contained in:
2026-03-24 23:31:13 +01:00
parent 8e5a4b08bb
commit 9b8dd103f9
1605 changed files with 885298 additions and 43 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;
}
}