org.grinvin.expr

Interface Operator

Known Implementing Classes:
StandardOperator

public interface Operator

An operator which is part of a compound expression.

Method Summary

int
getNumberOfArguments()
Return the number of arguments for this operator.
int
getStrength()
Return the strength of this operator (used when producing output).
String
getSymbol()
Return the name of this operator.

Method Details

getNumberOfArguments

public int getNumberOfArguments()
Return the number of arguments for this operator.

getStrength

public int getStrength()
Return the strength of this operator (used when producing output).

getSymbol

public String getSymbol()
Return the name of this operator.