public ParserImpl(StreamReader reader) { this.scanner = new ScannerImpl(reader); currentEvent = null; directives = new VersionTagsTuple(null, new HashMap<String, String>(DEFAULT_TAGS)); states = new ArrayStack<Production>(100); marks = new ArrayStack<Mark>(10); state = new ParseStreamStart(); }
public ParserImpl(final StreamReader reader) { this.scanner = new ScannerImpl(reader); currentEvent = null; directives = new VersionTagsTuple(null, new HashMap<String, String>(DEFAULT_TAGS)); states = new ArrayStack<Production>(100); marks = new ArrayStack<Mark>(10); state = new ParseStreamStart(); }
public ParserImpl(StreamReader reader) { this(new ScannerImpl(reader)); }
public ErrorSkippingScanner(Reader reader) { streamReader = new StreamReader(reader); scanner = new ScannerImpl(streamReader); }