| |
|
| java.lang.Object ro.infoiasi.donald.compiler.lexer.Operator
Operator | public class Operator implements Comparable(Code) | | An operator in a regular expression
|
get | public static Operator get(char symbol)(Code) | | Returns the operator corresponding to the given symbol.
If no such operator exists then null is returned.
|
getSymbol | public char getSymbol()(Code) | | Returns the symbol representing the operator
|
isBinary | public boolean isBinary()(Code) | | Returns true is the operator is binary
|
isUnaryLeft | public boolean isUnaryLeft()(Code) | | Returns true is the operator is unary and binds to the expression to its left
|
isUnaryRight | public boolean isUnaryRight()(Code) | | Returns true is the operator is unary and binds to the expression to its right
|
|
|
|