Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2c77d35e3b4de8e3ba501ff2681f0836cf83313d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*******************************************************************************
 * Copyright (c) 2005, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.core.dom.ast.cpp;

import org.eclipse.cdt.core.dom.ast.ASTNodeProperty;
import org.eclipse.cdt.core.dom.ast.IASTName;
import org.eclipse.cdt.core.dom.ast.IASTTypeId;

/**
 * This interface represents a C++ conversion member function.
 *  
 * @author dsteffle
 */
public interface ICPPASTConversionName extends IASTName {
	public static final ASTNodeProperty TYPE_ID=new ASTNodeProperty(
	"IASTArrayDeclarator.TYPE_ID - IASTTypeId for ICPPASTConversionName"); //$NON-NLS-1$
	
	/**
	 * Returns the IASTTypeId for the ICPPASTConversionName.
	 * 
	 * i.e. getTypeId() on operator int(); would return the IASTTypeId for "int" 
	 * 
	 */
	public IASTTypeId getTypeId();
	
	/**
	 * Sets the IASTTypeId for the ICPPASTConversionName.
	 * 
	 * @param typeId
	 */
	public void setTypeId(IASTTypeId typeId);
}

Back to the top