Package | Description |
---|---|
tk.pratanumandal.expr4j |
The
tk.pratanumandal.expr4j package is the root package of expr4j library. |
tk.pratanumandal.expr4j.token |
The
tk.pratanumandal.expr4j.token package contains all the tokens that form an expression. |
Modifier and Type | Method and Description |
---|---|
static void |
OperatorRepository.addFunction(String fName,
Function function)
Utility method to add user defined function with variable number of parameters to the environment.
Method names can consist of lowercase letters, uppercase letters, and digits. |
static void |
OperatorRepository.addFunction(String fName,
int params,
Function function)
Utility method to add user defined function to the environment.
Method names can consist of lowercase letters, uppercase letters, and digits. |
Modifier and Type | Field and Description |
---|---|
Function |
Operator.Properties.function
Function implementation if this operator is a function.
Otherwise null. |
Constructor and Description |
---|
Properties(int params,
int precedence,
Function function)
Parameterized constructor taking number of parameters, precedence, and function.
If function is not null, associativity is set to NO, otherwise LEFT. |
Properties(int params,
int precedence,
Operator.Properties.Associativity associativity,
Function function)
Parameterized constructor taking number of parameters, precedence, associativity, and function.
It is recommended not to use this constructor, instead using one of the preset constructors if possible. |
Copyright © 2019 Pratanu Mandal. All rights reserved.