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.
23 lines
441 B
23 lines
441 B
11 years ago
|
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
|
||
|
*/
|
||
11 years ago
|
public abstract class TokenUnaryOperatorRight extends TokenOperator {
|
||
11 years ago
|
|
||
|
/**
|
||
|
* Convert to operation
|
||
|
*
|
||
|
* @param operand operand
|
||
|
* @return operation
|
||
|
*/
|
||
|
public abstract Operation toOperation(TokenList operand);
|
||
|
}
|