/*
 * Priorities.java
 *
 * Created on January 11, 2006, 12:46 AM
 *
 * To change this template, choose Tools | Options and locate the template under
 * the Source Creation and Management node. Right-click the template and choose
 * Open. You can then make changes to the template in the Source Editor.
 */

package cz.pcland.functions.nodes;

/**
 *
 * @author petr
 */
public class Priorities {
    public static final int LOWESTPRIORITY = 0;
    
    public static final int ADDITION = 10;
    public static final int ADDITIONR = 11;
    
    public static final int SUBSTRACTION = 10;
    public static final int SUBSTRACTIONR = 11;
    
    public static final int MULTIPLICATON = 20;
    public static final int MULTIPLICATONR = 21;
    
    public static final int DIVISION = 20;
    public static final int DIVISIONR = 21;
    
    public static final int POWER = 30;
    public static final int POWERR = 31;
    
    public static final int FUNCTION = 40;
    
    public static final int FACTORIAL = 50;
    
    public static final int UNARYMINUS = 60;
    
    public static final int UNARYPLUS = 60;
    
   
    
    
    /*private static final int value;
    
    Priorities(int _value){
        this.value = _value;
    }
    
    public int getPriotity(){
        return value;
    }
    
    public int getRightPriority(){
        return value+1;
    }*/
}
