edu.toronto.cs.expr
Interface Operator

All Known Implementing Classes:
BiLatticeOp, BoolOp, CILAssignOp, CILBitwiseOp, CILBreakOp, CILDeclarationOp, CILDeclarationPointerOp, CILEmptyStmtOp, CILEnumOp, CILFunctionCallOp, CILFunctionDefOp, CILGotoOp, CILIfStmtOp, CILIndirectionOp, CILLabelledStmtOp, CILListOp, CILNDGotoOp, CILNullOp, CILProgramOp, CILRecordOp, CILReturnOp, CILScopeOp, CILTypeSpecifierOp, CILUnknownOp, CILWhileOp, ComparisonOp, CTLOp, JavaObjectOp, NamedOp, NullaryOperator, NumericOp, RationalOp, VariableOp

public interface Operator


Method Summary
 int arity()
          Arrity of this operator
 boolean isWellFormed(Expr[] args)
          true if this operator is well-formed with this arguments provided that the arguments are well formed themselves
 java.lang.String name()
          Name of this operator
 

Method Detail

arity

int arity()
Arrity of this operator

Returns:
an int value

isWellFormed

boolean isWellFormed(Expr[] args)
true if this operator is well-formed with this arguments provided that the arguments are well formed themselves

Parameters:
args - an Expr[] value
Returns:
a boolean value

name

java.lang.String name()
Name of this operator

Returns:
a String value