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. * Rapperswil, University of applied sciences.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * 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. * This interface represents a C++ alias declaration.
* e.g. struct Type {}; using Alias = Type; * e.g. struct Type {}; using Alias = Type;
* *
* Experimental API. May change without notice.
* @noextend This interface is not intended to be extended by clients. * @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients. * @noimplement This interface is not intended to be implemented by clients.
*/ */
public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner { 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 * <code>ALIAS_NAME</code> is the name that is brought into local
* scope. * scope.
*/ */
public static final ASTNodeProperty ALIAS_NAME = new ASTNodeProperty( 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 * <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( public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty(
"ICPPASTAliasDeclaration.TARGET_TYPEID - Pre-existing type ID the new symbol aliases"); //$NON-NLS-1$ "ICPPASTAliasDeclaration.TARGET_TYPEID - Pre-existing type ID the new symbol aliases"); //$NON-NLS-1$
/** /**
* Get the alias name. * Get the alias name.
* *
* @return <code>IASTName</code> * @return <code>IASTName</code>
*/ */
public IASTName getAlias(); public IASTName getAlias();
/** /**
* Set the alias name. * Set the alias name.
* *
* @param aliasName * @param aliasName <code>IASTName</code>
* <code>IASTName</code>
*/ */
public void setAlias(IASTName aliasName); public void setAlias(IASTName aliasName);
/** /**
* Get the mapping type id. * Get the mapping type id.
* *
* @return <code>ICPPASTTypeId</code> * @return <code>ICPPASTTypeId</code>
*/ */
public ICPPASTTypeId getMappingTypeId(); public ICPPASTTypeId getMappingTypeId();
/** /**
* Set the mapping type id. * Set the mapping type id.
* *
* @param mappingTypeId * @param mappingTypeId <code>ICPPASTTypeId</code>
* <code>ICPPASTTypeId</code>
*/ */
public void setMappingTypeId(ICPPASTTypeId mappingTypeId); public void setMappingTypeId(ICPPASTTypeId mappingTypeId);
@Override @Override
public ICPPASTAliasDeclaration copy(); public ICPPASTAliasDeclaration copy();