polyglot.ast
Class Binary.Operator

java.lang.Object
  extended by polyglot.util.Enum
      extended by polyglot.ast.Binary.Operator
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
Binary

public static class Binary.Operator
extends Enum

Binary expression operator.

See Also:
Serialized Form

Constructor Summary
Binary.Operator(java.lang.String name, Precedence prec)
           
 
Method Summary
 Precedence precedence()
          Returns the precedence of the operator.
 
Methods inherited from class polyglot.util.Enum
equals, hashCode, intern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binary.Operator

public Binary.Operator(java.lang.String name,
                       Precedence prec)
Method Detail

precedence

public Precedence precedence()
Returns the precedence of the operator.