public ScanState(string input)
 {
     _input = input;
     nesting = new Nesting(this);
 }