public class PreOperator extends AbstractConverter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
fOperator |
protected int |
fPrecedence |
fFactory
Constructor and Description |
---|
PreOperator(int precedence,
java.lang.String oper) |
PreOperator(TeXFormFactory factory,
int precedence,
java.lang.String oper) |
Modifier and Type | Method and Description |
---|---|
boolean |
convert(java.lang.StringBuffer buf,
IAST f,
int precedence)
Converts a given function into the corresponding TeX output
|
void |
precedenceClose(java.lang.StringBuffer buf,
int precedence) |
void |
precedenceOpen(java.lang.StringBuffer buf,
int precedence) |
getFactory, setFactory
public PreOperator(int precedence, java.lang.String oper)
public PreOperator(TeXFormFactory factory, int precedence, java.lang.String oper)
public void precedenceOpen(java.lang.StringBuffer buf, int precedence)
public void precedenceClose(java.lang.StringBuffer buf, int precedence)
public boolean convert(java.lang.StringBuffer buf, IAST f, int precedence)
buf
- StringBuffer for TeX outputf
- the math function which should be converted to TeX