/**
  *
  *                      OOAS Compiler
  *
  *       Copyright 2015, AIT Austrian Institute of Technology.
  * This code is based on the C# Version of the OOAS Compiler, which is
  * copyright 2015 by the Institute of Software Technology, Graz University
  * of Technology with portions copyright by the AIT Austrian Institute of
  * Technology. All rights reserved.
  *
  * SEE THE "LICENSE" FILE FOR THE TERMS UNDER WHICH THIS FILE IS PROVIDED.
  *
  * If you modify the file please update the list of contributors below to in-
  * clude your name. Please also stick to the coding convention of using TABs
  * to do the basic (block-level) indentation and spaces for anything after
  * that. (Enable the display of special chars and it should be pretty obvious
  * what this means.) Also, remove all trailing whitespace.
  *
  * Contributors:
  *               Willibald Krenn (AIT)
  *               Stephan Zimmerer (AIT)
  *               Markus Demetz (AIT)
  *               Christoph Czurda (AIT)
  *
  */


package org.momut.ooas.ast.expressions;

public enum ExpressionKind
{
	/*tern.*/
	conditional(0),
	/*map binary*/
	domresby(1), domresto(2), rngresby(3), rngresto(4), munion(5),
	/*set/list binary*/
	conc(6), diff(7), inter(8), elemin(9), notelemin(10), subset(11), union(12),
	/*numeric binary*/
	div(13), greater(14), greaterequal(15), idiv(16), less(17), lessequal(18),
	minus(19), mod(20), pow(21), prod(22), sum(23),
	/*bool binary*/
	and(24), biimplies(25), implies(26), or(27),
	/*other binary*/
	equal(28), notequal(29), seqmod_mapoverride(30),
	/*map unary*/
	dom(31), range(32), merge(33),
	/*set/list unary*/
	card(34), dconc(35), dinter(36), dunion(37), elems(38), head(39),
	inds(40), len(41), tail(42),
	/*unary numberic*/
	unminus(43), unplus(44), not(45), abs(46),
	/*unary quantors*/
	forall(47), exists(48),
	/*Constructors*/
	ListConstr(49), SetConstr(50), MapConstr(51), TupleConstr(52), ObjectConstr(53),
	// QValConstr(54), -- no longer supported
	/* identifier */
	Identifier(55), UnresolvedIdentifier(56), Type(57),
	/* tuple access and method call */
	TupleMapAccess(58), Call(59),
	/* point operator */
	Access(60),
	/* primed */
	Primed(61),
	/* cast */
	Cast(62),
	/* fold */
	foldLR(63), foldRL(64),
	/* constant values */
	Value(65);

	public final int integerValue; // do not change, this is needed by the backends! i.e. public API

	private ExpressionKind(int val) {
		integerValue = val;
	}
}
