ExprFactory.java revision 608:7e06bf1dcb09
144290Swollman/* 244290Swollman * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved. 344290Swollman * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 493151Sphk * 544290Swollman * This code is free software; you can redistribute it and/or modify it 644290Swollman * under the terms of the GNU General Public License version 2 only, as 744290Swollman * published by the Free Software Foundation. Oracle designates this 844290Swollman * particular file as subject to the "Classpath" exception as provided 944290Swollman * by Oracle in the LICENSE file that accompanied this code. 1050476Speter * 1144290Swollman * This code is distributed in the hope that it will be useful, but WITHOUT 12263955Sgjb * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1344301Swollman * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1479531Sru * version 2 for more details (a copy is included in the LICENSE file that 1544290Swollman * accompanied this code). 1644290Swollman * 1744290Swollman * You should have received a copy of the GNU General Public License version 1844290Swollman * 2 along with this work; if not, write to the Free Software Foundation, 1944290Swollman * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2044290Swollman * 2174385Sphk * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2244290Swollman * or visit www.oracle.com if you need additional information or have any 2344290Swollman * questions. 2444290Swollman */ 2544290Swollman/* 2644290Swollman * COMPONENT_NAME: idl.parser 2744290Swollman * 2874385Sphk * ORIGINS: 27 2944290Swollman * 3044290Swollman * Licensed Materials - Property of IBM 3159512Sphantom * 5639-D57 (C) COPYRIGHT International Business Machines Corp. 1997, 1999 3259512Sphantom * RMI-IIOP v1.0 3344290Swollman * 3484306Sru */ 3584306Sru 3644290Swollmanpackage com.sun.tools.corba.se.idl.constExpr; 3744290Swollman 3844290Swollman// NOTES: 39143326Scperciva 4044290Swollmanimport com.sun.tools.corba.se.idl.ConstEntry; 4144290Swollmanimport java.math.BigInteger; 4244290Swollman 4344290Swollmanpublic interface ExprFactory 4444290Swollman{ 4544290Swollman And and (Expression left, Expression right); 4644290Swollman BooleanAnd booleanAnd (Expression left, Expression right); 4774385Sphk BooleanNot booleanNot (Expression operand); 4874385Sphk BooleanOr booleanOr (Expression left, Expression right); 4944290Swollman Divide divide (Expression left, Expression right); 5044290Swollman Equal equal (Expression left, Expression right); 5144290Swollman GreaterEqual greaterEqual (Expression left, Expression right); 5244290Swollman GreaterThan greaterThan (Expression left, Expression right); 53143326Scperciva LessEqual lessEqual (Expression left, Expression right); 5444290Swollman LessThan lessThan (Expression left, Expression right); 5544290Swollman Minus minus (Expression left, Expression right); 5644290Swollman Modulo modulo (Expression left, Expression right); 5744290Swollman Negative negative (Expression operand); 5844290Swollman Not not (Expression operand); 5944290Swollman NotEqual notEqual (Expression left, Expression right); 6044290Swollman Or or (Expression left, Expression right); 6174385Sphk Plus plus (Expression left, Expression right); 6274385Sphk Positive positive (Expression operand); 6344290Swollman ShiftLeft shiftLeft (Expression left, Expression right); 6444290Swollman ShiftRight shiftRight (Expression left, Expression right); 6544290Swollman Terminal terminal (String representation, Character charValue, 6644290Swollman boolean isWide ); 6744290Swollman Terminal terminal (String representation, Boolean booleanValue); 6844290Swollman //daz Terminal terminal (String representation, Long longValue); 6944290Swollman Terminal terminal (String representation, Double doubleValue); 70120957Shmp Terminal terminal (String representation, BigInteger bigIntegerValue); 71120957Shmp Terminal terminal (String stringValue, boolean isWide ); 7244290Swollman Terminal terminal (ConstEntry constReference); 73120957Shmp Times times (Expression left, Expression right); 74120957Shmp Xor xor (Expression left, Expression right); 75120957Shmp} // interface ExprFactory 76120957Shmp