1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2012-11-25 15:41:43 -08:00
parent 469b2e8b58
commit 24fb4904b3

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2012 Institute for Software, HSR Hochschule fuer Technik
* Copyright (c) 2012 Institute for Software, HSR Hochschule fuer Technik
* Rapperswil, University of applied sciences.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@ -19,19 +19,20 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner;
/**
* This interface represents a C++ alias declaration.
* e.g. struct Type {}; using Alias = Type;
*
*
* Experimental API. May change without notice.
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner {
public static final ICPPASTAliasDeclaration[] EMPTY_USINGDIRECTIVE_ARRAY = new ICPPASTAliasDeclaration[0];
public static final ICPPASTAliasDeclaration[] EMPTY_USINGDIRECTIVE_ARRAY = {};
/**
* <code>ALIAS_NAME</code> is the name that is brought into local
* scope.
*/
public static final ASTNodeProperty ALIAS_NAME = new ASTNodeProperty(
"ICPPASTAliasDeclaration.ALIAS_NAME - New alias name introduced"); //$NON-NLS-1$
"ICPPASTAliasDeclaration.ALIAS_NAME - Introduced alias name"); //$NON-NLS-1$
/**
* <code>MAPPING_TYPE<ID/code> represents the pre-existing type id which
@ -39,37 +40,35 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner
*/
public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty(
"ICPPASTAliasDeclaration.TARGET_TYPEID - Pre-existing type ID the new symbol aliases"); //$NON-NLS-1$
/**
* Get the alias name.
*
*
* @return <code>IASTName</code>
*/
public IASTName getAlias();
/**
* Set the alias name.
*
* @param aliasName
* <code>IASTName</code>
*
* @param aliasName <code>IASTName</code>
*/
public void setAlias(IASTName aliasName);
/**
* Get the mapping type id.
*
*
* @return <code>ICPPASTTypeId</code>
*/
public ICPPASTTypeId getMappingTypeId();
/**
* Set the mapping type id.
*
* @param mappingTypeId
* <code>ICPPASTTypeId</code>
*
* @param mappingTypeId <code>ICPPASTTypeId</code>
*/
public void setMappingTypeId(ICPPASTTypeId mappingTypeId);
@Override
public ICPPASTAliasDeclaration copy();