jltools.ast
Interface Unary
- All Superinterfaces:
- java.lang.Cloneable, Copy, Expr, Node, Prefix, Receiver, java.io.Serializable, Typed
- All Known Implementing Classes:
- Unary_c
- public interface Unary
- extends Expr
A Unary
represents a Java unary expression, an
immutable pair of an expression and an an operator.
Inner Class Summary |
static class |
Unary.Operator
Unary expression operator. |
Methods inherited from interface jltools.ast.Node |
buildTypes_, buildTypesOverride_, copy, disambiguate_, disambiguateOverride_, disambiguateTypes_, disambiguateTypesOverride_, dump, enterScope, exceptionCheck_, exceptionCheckOverride_, ext, ext, foldConstants_, foldConstantsOverride_, leaveScope, position, position, reconstructTypes_, translate_, typeCheck_, typeCheckOverride_, visit, visitChildren |
Methods inherited from interface jltools.ast.Typed |
type |
BIT_NOT
public static final Unary.Operator BIT_NOT
NEG
public static final Unary.Operator NEG
POST_INC
public static final Unary.Operator POST_INC
POST_DEC
public static final Unary.Operator POST_DEC
PRE_INC
public static final Unary.Operator PRE_INC
PRE_DEC
public static final Unary.Operator PRE_DEC
POS
public static final Unary.Operator POS
NOT
public static final Unary.Operator NOT
expr
public Expr expr()
expr
public Unary expr(Expr e)
operator
public Unary.Operator operator()
operator
public Unary operator(Unary.Operator o)