Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3a56a42a1a885ce8f637388c75a316b7212c22b0 (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
41
42
43
44
45
46
47
48
49
50
51
/*******************************************************************************
 * Copyright (c) 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v0.5 
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *     IBM Corp. - Rational Software - initial implementation
 ******************************************************************************/
/*
 * Created on May 9, 2003
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.eclipse.cdt.internal.core.parser.pst;

import java.util.List;
import java.util.Map;


/**
 * @author aniefer
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public interface IParameterizedSymbol extends IContainerSymbol {
	
	public void addParameter( ISymbol param );
	public void addParameter( TypeInfo.eType type, int info, TypeInfo.PtrOp ptrOp, boolean hasDefault );
	public void addParameter( ISymbol typeSymbol, TypeInfo.PtrOp ptrOp, boolean hasDefault );
	
	public void addArgument( ISymbol arg );
	public List getArgumentList();
	public void setArgumentList( List list );
	
	public Map getParameterMap();
	public List getParameterList();
	public void setParameterList( List list );

	public boolean hasSameParameters(IParameterizedSymbol newDecl);
	
	public void setReturnType( ISymbol type );
	public ISymbol getReturnType();
	
	public boolean	hasSpecializations();
	public void 	addSpecialization( IParameterizedSymbol spec );
	public List 	getSpecializations();	
}

Back to the top