|
/* Generated By:JJTree: Do not edit this line. ASTop_dcl.java */
/* ASTop_dcl.java
*
* Project: IIOP.NET
* IDLToCLSCompiler
*
* WHEN RESPONSIBLE
* 14.02.03 Dominic Ullmann (DUL), dominic.ullmann -at- elca.ch
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package parser;
public class ASTop_dcl extends SimpleNodeWithIdent {
#region Constants
public final static int OP_Attr_NONE = 0;
public final static int OP_Attr_ONEWAY = 1;
#endregion Constants
#region IFields
private int m_opAttr = OP_Attr_NONE;
#endregion IFields
#region IConstructors
public ASTop_dcl(int id) {
super(id);
}
public ASTop_dcl(IDLParser p, int id) {
super(p, id);
}
#endregion IConstructors
#region IMethods
/** Accept the visitor. **/
public Object jjtAccept(IDLParserVisitor visitor, Object data) {
return visitor.visit(this, data);
}
public void setOpAttr(int opAttr) {
if ((opAttr < OP_Attr_NONE) || (opAttr > OP_Attr_ONEWAY)) {
throw new RuntimeException("invalid opAttr: " + opAttr);
}
m_opAttr = opAttr;
}
public int getOpAttr() {
return m_opAttr;
}
#endregion IMethods
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Patrik Reali was a senior software engineer for ELCA Informatique (
www.elca.ch) in Zurich, Switzerland; in January 2005, he joined Google. He is specialized in systems and programming languages, with a strong interest for the .NET and Java platforms.
He got a PhD in computer science at ETH-Zurich working on the research operating system and language
Oberon.
Together with Dominic Ullmann, he administers the open source project
IIOP.NET.