mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Adjusted Javadoc.
This commit is contained in:
parent
7678ada85c
commit
9f7c9bcce8
1 changed files with 5 additions and 6 deletions
|
@ -10,7 +10,6 @@
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.core.dom.ast;
|
package org.eclipse.cdt.core.dom.ast;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Interface for all composite types: classes, structs or unions.
|
* Interface for all composite types: classes, structs or unions.
|
||||||
*
|
*
|
||||||
|
@ -18,11 +17,12 @@ package org.eclipse.cdt.core.dom.ast;
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
*/
|
*/
|
||||||
public interface ICompositeType extends IBinding, IType {
|
public interface ICompositeType extends IBinding, IType {
|
||||||
|
|
||||||
public static final int k_struct = IASTCompositeTypeSpecifier.k_struct;
|
public static final int k_struct = IASTCompositeTypeSpecifier.k_struct;
|
||||||
public static final int k_union = IASTCompositeTypeSpecifier.k_union;
|
public static final int k_union = IASTCompositeTypeSpecifier.k_union;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* what kind of composite type is this?
|
* Returns the type of the composite, {@link #k_struct}, {@link #k_union}, or
|
||||||
|
* {@link org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType#k_class}.
|
||||||
*/
|
*/
|
||||||
public int getKey();
|
public int getKey();
|
||||||
|
|
||||||
|
@ -46,15 +46,14 @@ public interface ICompositeType extends IBinding, IType {
|
||||||
public IField[] getFields();
|
public IField[] getFields();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* returns the field that matches name,
|
* Returns the field that matches name, or <code>null</code> if there is no such field.
|
||||||
* or null if there is no such field.
|
|
||||||
*
|
*
|
||||||
* @param name
|
* @param name
|
||||||
*/
|
*/
|
||||||
public IField findField(String name);
|
public IField findField(String name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get the IScope object that is associated with this composite type
|
* Returns the IScope object that is associated with this composite type
|
||||||
*/
|
*/
|
||||||
public IScope getCompositeScope();
|
public IScope getCompositeScope();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue