Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IASTParameterDeclaration

All Superinterfaces:
IASTNode
All Known Subinterfaces:
ICPPASTParameterDeclaration

public interface IASTParameterDeclaration
extends IASTNode

This class represents a parameter declaration


Field Summary
static ASTNodeProperty DECL_SPECIFIER
          DECL_SPECIFIER represents the relationship between an IASTParameterDeclaration and its nested IASTDeclSpecifier.
static ASTNodeProperty DECLARATOR
          DECLARATOR represents the relationship between an IASTParameterDeclaration and its nested IASTDeclarator.
static IASTParameterDeclaration[] EMPTY_PARAMETERDECLARATION_ARRAY
          Constant/sentinel.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 IASTDeclarator getDeclarator()
          Get the declarator.
 IASTDeclSpecifier getDeclSpecifier()
          Get the decl specifier.
 void setDeclarator(IASTDeclarator declarator)
          Set the declarator.
 void setDeclSpecifier(IASTDeclSpecifier declSpec)
          Set the decl specifier.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

EMPTY_PARAMETERDECLARATION_ARRAY

static final IASTParameterDeclaration[] EMPTY_PARAMETERDECLARATION_ARRAY
Constant/sentinel.


DECL_SPECIFIER

static final ASTNodeProperty DECL_SPECIFIER
DECL_SPECIFIER represents the relationship between an IASTParameterDeclaration and its nested IASTDeclSpecifier.


DECLARATOR

static final ASTNodeProperty DECLARATOR
DECLARATOR represents the relationship between an IASTParameterDeclaration and its nested IASTDeclarator.

Method Detail

getDeclSpecifier

IASTDeclSpecifier getDeclSpecifier()
Get the decl specifier.

Returns:
IASTDeclSpecifier

getDeclarator

IASTDeclarator getDeclarator()
Get the declarator.

Returns:
IASTDeclarator

setDeclSpecifier

void setDeclSpecifier(IASTDeclSpecifier declSpec)
Set the decl specifier.

Parameters:
declSpec - IASTDeclSpecifier.

setDeclarator

void setDeclarator(IASTDeclarator declarator)
Set the declarator.

Parameters:
declarator - IASTDeclarator

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.