blob: 46a07d33f85a12474dd3e54783a668098beb8f78 (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
/*******************************************************************************
* Copyright (c) 2005, 2010 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:
* John Camelon (IBM Rational Software) - Initial API and implementation
* Markus Schorn (Wind River Systems)
*******************************************************************************/
package org.eclipse.cdt.core.dom.ast;
/**
* This interface represents a function call expression. f( x ) : f is the
* function name expression, x is the parameter expression.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface IASTFunctionCallExpression extends IASTExpression {
public static final ASTNodeProperty FUNCTION_NAME = new ASTNodeProperty(
"IASTFunctionCallExpression.FUNCTION_NAME [IASTExpression]"); //$NON-NLS-1$
/**
* @since 5.2
*/
public static final ASTNodeProperty ARGUMENT = new ASTNodeProperty(
"IASTFunctionCallExpression.ARGUMENT [IASTInitializerClause]"); //$NON-NLS-1$
/**
* Get the function name expression.
*/
public IASTExpression getFunctionNameExpression();
/**
* Returns the arguments for this function call, never <code>null</code>.
* @since 5.2
*/
public IASTInitializerClause[] getArguments();
/**
* @since 5.1
*/
public IASTFunctionCallExpression copy();
/**
* Not allowed on frozen ast.
*/
public void setFunctionNameExpression(IASTExpression expression);
/**
* Not allowed on frozen ast.
* @since 5.2
*/
public void setArguments(IASTInitializerClause[] args);
@Deprecated
public static final ASTNodeProperty PARAMETERS = ARGUMENT;
/**
* @deprecated Replaced by {@link #setArguments(IASTInitializerClause[])}.
*/
@Deprecated
public void setParameterExpression(IASTExpression expression);
/**
* @deprecated Replaced by {@link #getArguments()}.
*/
@Deprecated
public IASTExpression getParameterExpression();
}
|