Calculator Namespace

Classes

public class DivisionByZeroException
public class EndToken
public class LogicErrorException
public class NumberToken
public class OperatorToken
public class ParsingException
public class PrintToken
public class Scanner
public class SymbolTable
public abstract class Token
public class VariableNameToken
public class VariableNotFoundException

Functions

internal double Expr(Scanner& scanner)
internal double Factor(Scanner& scanner)
public inline bool IsNumberChar(uchar c)
public void Parse(const String<uchar>& input)
internal double Primary(Scanner& scanner)
internal double Term(Scanner& scanner)

Function Details

Expr Function

internal double Expr(Scanner& scanner)

Definition
Line 54 of Calculator/Parser.cm


Factor Function

internal double Factor(Scanner& scanner)

Definition
Line 114 of Calculator/Parser.cm


IsNumberChar Function

public inline bool IsNumberChar(uchar c)

Definition
Line 5 of Calculator/Scanner.cm


Parse Function

public void Parse(const String<uchar>& input)

Definition
Line 5 of Calculator/Parser.cm


Primary Function

internal double Primary(Scanner& scanner)

Definition
Line 135 of Calculator/Parser.cm


Term Function

internal double Term(Scanner& scanner)

Definition
Line 82 of Calculator/Parser.cm