mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-18 22:45:23 +02:00
Cosmetics
This commit is contained in:
parent
d8a3896101
commit
e8213acedf
2 changed files with 10 additions and 14 deletions
|
@ -19,7 +19,6 @@ import org.eclipse.cdt.core.model.ITranslationUnit;
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
*/
|
*/
|
||||||
public interface IASTDeclarationListOwner extends IASTNode {
|
public interface IASTDeclarationListOwner extends IASTNode {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a declaration to the owner. May only be called as long as the ast is not frozen.
|
* Adds a declaration to the owner. May only be called as long as the ast is not frozen.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,36 +28,33 @@ import org.eclipse.cdt.core.dom.ast.IScope;
|
||||||
public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwner, IASTDeclarationListOwner,
|
public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwner, IASTDeclarationListOwner,
|
||||||
IASTAttributeOwner {
|
IASTAttributeOwner {
|
||||||
/**
|
/**
|
||||||
* <code>OWNED_DECLARATION</code> is the role served by all the nested
|
* {@code OWNED_DECLARATION} is the role served by all the nested declarations.
|
||||||
* declarations.
|
|
||||||
*/
|
*/
|
||||||
public static final ASTNodeProperty OWNED_DECLARATION = new ASTNodeProperty(
|
public static final ASTNodeProperty OWNED_DECLARATION = new ASTNodeProperty(
|
||||||
"ICPPASTNamespaceDefinition.OWNED_DECLARATION - Role served by nested declarations"); //$NON-NLS-1$
|
"ICPPASTNamespaceDefinition.OWNED_DECLARATION - Role served by nested declarations"); //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>NAMESPACE_NAME</code> is the role served by the name in this
|
* {@code NAMESPACE_NAME} is the role served by the name in this interface.
|
||||||
* interface.
|
|
||||||
*/
|
*/
|
||||||
public static final ASTNodeProperty NAMESPACE_NAME = new ASTNodeProperty(
|
public static final ASTNodeProperty NAMESPACE_NAME = new ASTNodeProperty(
|
||||||
"ICPPASTNamespaceDefinition.NAMESPACE_NAME - Role served by name"); //$NON-NLS-1$
|
"ICPPASTNamespaceDefinition.NAMESPACE_NAME - Role served by name"); //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the name.
|
* Returns the name of the namespace.
|
||||||
*
|
*
|
||||||
* @return <code>IASTName</code>
|
* @return {@code IASTName}
|
||||||
*/
|
*/
|
||||||
public IASTName getName();
|
public IASTName getName();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the name.
|
* Sets the name.
|
||||||
*
|
*
|
||||||
* @param name
|
* @param name the name to be set
|
||||||
* <code>IASTName</code>
|
|
||||||
*/
|
*/
|
||||||
public void setName(IASTName name);
|
public void setName(IASTName name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specify whether the namespace definition is inline.
|
* Specifies whether the namespace definition is inline.
|
||||||
* @since 5.3
|
* @since 5.3
|
||||||
*/
|
*/
|
||||||
public void setIsInline(boolean isInline);
|
public void setIsInline(boolean isInline);
|
||||||
|
@ -78,7 +75,7 @@ public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwn
|
||||||
/**
|
/**
|
||||||
* Adds a declaration to the namespace.
|
* Adds a declaration to the namespace.
|
||||||
*
|
*
|
||||||
* @param declaration <code>IASTDeclaration</code>
|
* @param declaration {@code IASTDeclaration}
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void addDeclaration(IASTDeclaration declaration);
|
public void addDeclaration(IASTDeclaration declaration);
|
||||||
|
@ -86,7 +83,7 @@ public interface ICPPASTNamespaceDefinition extends IASTDeclaration, IASTNameOwn
|
||||||
/**
|
/**
|
||||||
* Returns the scope object represented by this construct.
|
* Returns the scope object represented by this construct.
|
||||||
*
|
*
|
||||||
* @return <code>IScope</code>
|
* @return {@code IScope}
|
||||||
*/
|
*/
|
||||||
public IScope getScope();
|
public IScope getScope();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue