XenevaOS
Loading...
Searching...
No Matches
Classes | Functions
sheet_eval.cpp File Reference

High-performance recursive-descent formula parser and evaluator for XESheets. More...

#include "sheet_eval.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <math.h>
Include dependency graph for sheet_eval.cpp:

Classes

struct  EvalCtx
 

Functions

void SheetCoordToString (int col, int row, char *buf, int maxLen)
 
int SheetParseCellRef (const char *str, int *outCol, int *outRow)
 
int SheetParseRange (const char *str, SheetRange *outRange)
 
void SheetFormatNumber (double val, char *buf, int maxLen)
 
void SheetEvaluateCell (SheetTab *tab, int row, int col)
 
void SheetEvaluateAll (SheetTab *tab)
 
void SheetComputeStats (SheetTab *tab, const SheetRange *range, SheetStats *outStats)
 

Detailed Description

High-performance recursive-descent formula parser and evaluator for XESheets.

Function Documentation

◆ SheetComputeStats()

void SheetComputeStats ( SheetTab *  tab,
const SheetRange *  range,
SheetStats *  outStats 
)

◆ SheetCoordToString()

void SheetCoordToString ( int  col,
int  row,
char *  buf,
int  maxLen 
)

◆ SheetEvaluateAll()

void SheetEvaluateAll ( SheetTab *  tab)

◆ SheetEvaluateCell()

void SheetEvaluateCell ( SheetTab *  tab,
int  row,
int  col 
)

◆ SheetFormatNumber()

void SheetFormatNumber ( double  val,
char *  buf,
int  maxLen 
)

◆ SheetParseCellRef()

int SheetParseCellRef ( const char *  str,
int *  outCol,
int *  outRow 
)

◆ SheetParseRange()

int SheetParseRange ( const char *  str,
SheetRange *  outRange 
)