MCPcopy Create free account
hub / github.com/Script-Hub-Org/Script-Hub / constructor

Method constructor

Rewrite-Parser.js:2497–2501  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

2495 // 分析器
2496 class Tokenizer {
2497 constructor(input) {
2498 this.input = input
2499 this.position = 0
2500 this.tokens = []
2501 }
2502
2503 isWhitespace(char) {
2504 return /\s/.test(char)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected