/*--------------------------------------------------------------------------*/ public Parser(Scanner scanner) { this.scanner = scanner; errors = new Errors(); }
// Parse string to cell contents at (col, row) in given workbook public static Cell Parse(String text, Workbook workbook, int col, int row) { if (!String.IsNullOrWhiteSpace(text)) { Scanner scanner = new Scanner(IO.IOFormat.MakeStream(text)); Parser parser = new Parser(scanner); return parser.ParseCell(workbook, col, row); // May be null } else return null; }