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

Method constructor

Rewrite-Parser.beta.js:2909–2913  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

2907 // 分析器
2908 class Tokenizer {
2909 constructor(input) {
2910 this.input = input
2911 this.position = 0
2912 this.tokens = []
2913 }
2914
2915 isWhitespace(char) {
2916 return /\s/.test(char)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected