You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
441 B
22 lines
441 B
package net.mightypork.rcalc.tokens;
|
|
|
|
|
|
import net.mightypork.rcalc.TokenList;
|
|
import net.mightypork.rcalc.operations.Operation;
|
|
|
|
|
|
/**
|
|
* Abstract operator token with one operand on right
|
|
*
|
|
* @author Ondrej Hruska
|
|
*/
|
|
public abstract class TokenUnaryOperatorRight extends TokenOperator {
|
|
|
|
/**
|
|
* Convert to operation
|
|
*
|
|
* @param operand operand
|
|
* @return operation
|
|
*/
|
|
public abstract Operation toOperation(TokenList operand);
|
|
}
|
|
|