public class SamigoExpressionParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
INFINITY |
static String |
NaN |
static String[] |
newSamigoParserVars |
static String[] |
oldSamigoParserVars |
| Constructor and Description |
|---|
SamigoExpressionParser()
finalructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
parse(String new_expr)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
String |
parse(String new_expr,
int decimals)
parses and evaluates the given expression
On error, an error of type Error is thrown
|
public static String INFINITY
public static String NaN
public static String[] oldSamigoParserVars
public static String[] newSamigoParserVars
public SamigoExpressionParser()
public String parse(String new_expr) throws SamigoExpressionError
SamigoExpressionErrorpublic String parse(String new_expr, int decimals) throws SamigoExpressionError
SamigoExpressionErrorCopyright © 2003–2021 Sakai Project. All rights reserved.