OpravyPoAI

This commit is contained in:
kankys committed 2026-08-14 20:13:06 +02:00
1 parent 99aa797101
commit 24fd53c94c
4746 files changed
+700320 -12

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
'use strict';
// '/' | '*' | ',' | ':' | '+' | '-'
const name = 'Operator';
const structure = {
value: String
};
function parse() {
const start = this.tokenStart;
this.next();
return {
type: 'Operator',
loc: this.getLocation(start, this.tokenStart),
value: this.substrToCursor(start)
};
}
function generate(node) {
this.tokenize(node.value);
}
exports.generate = generate;
exports.name = name;
exports.parse = parse;
exports.structure = structure;