polyglot.ast
Class Binary.Operator

java.lang.Object
  extended bypolyglot.util.Enum
      extended bypolyglot.ast.Binary.Operator
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
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, intern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, 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.