MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / isOperator

Method isOperator

src/MathExp.cpp:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <sstream>
4
5bool MathExp::isOperator(const char c)
6{
7 if(c == *"+" || c == *"-" || c == *"*" || c == *"/" || c == *"(")
8 return true;
9 else
10 return false;
11}
12
13bool MathExp::isRParen(const char c)
14{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected