public StepReader(Stream stream) { _file = new StepFile(); var tokenizer = new StepTokenizer(stream); _lexer = new StepLexer(tokenizer.GetTokens()); }
public StepReader(Stream stream) { _file = new StepFile(); var tokenizer = new StepTokenizer(stream); _lexer = new StepLexer(tokenizer.GetTokens()); if (tokenizer.IsFailed) { throw new Exception($"Unexpected parse character"); } }