mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics
This commit is contained in:
parent
0603a4dc4d
commit
05cbba85c6
11 changed files with 30 additions and 38 deletions
|
@ -16,9 +16,8 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
* @noimplement This interface is not intended to be implemented by clients.
|
||||
*/
|
||||
public interface IEnumeration extends IBinding, IType {
|
||||
|
||||
/**
|
||||
* returns an array of the IEnumerators declared in this enumeration
|
||||
* Returns an array of the IEnumerators declared in this enumeration
|
||||
* @throws DOMException
|
||||
*/
|
||||
IEnumerator[] getEnumerators() throws DOMException;
|
||||
|
|
|
@ -18,7 +18,7 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
*/
|
||||
public interface IEnumerator extends IBinding {
|
||||
/**
|
||||
* returns the type of this enumeration. The type of an enumerator
|
||||
* Returns the type of this enumeration. The type of an enumerator
|
||||
* is the enumeration in which it is declared.
|
||||
*
|
||||
* @return the type of the enumeration
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
* Contributors:
|
||||
* Markus Schorn - initial API and implementation
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.core.dom.ast;
|
||||
|
||||
import org.eclipse.cdt.core.index.IIndexFile;
|
||||
|
|
|
@ -15,14 +15,13 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
* @noimplement This interface is not intended to be implemented by clients.
|
||||
*/
|
||||
public interface IFunctionType extends IType {
|
||||
|
||||
/**
|
||||
* get the return type of this function type
|
||||
* Returns the return type of this function type
|
||||
*/
|
||||
public IType getReturnType();
|
||||
|
||||
/**
|
||||
* get the adjusted parameter types
|
||||
* Returns the adjusted parameter types
|
||||
* ISO C99 6.7.5.3, ISO C++98 8.3.4-3
|
||||
*/
|
||||
public IType[] getParameterTypes();
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
* @noimplement This interface is not intended to be implemented by clients.
|
||||
*/
|
||||
public interface IMacroBinding extends IBinding {
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> if this is a function-style macro.
|
||||
* @since 5.0
|
||||
|
|
|
@ -17,7 +17,7 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
*/
|
||||
public interface IPointerType extends IType {
|
||||
/**
|
||||
* get the type that this is a pointer to
|
||||
* Returns the type that this is a pointer to
|
||||
*/
|
||||
public IType getType();
|
||||
|
||||
|
@ -37,5 +37,4 @@ public interface IPointerType extends IType {
|
|||
* @since 5.3
|
||||
*/
|
||||
boolean isRestrict();
|
||||
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@ package org.eclipse.cdt.core.dom.ast;
|
|||
* @noextend This interface is not intended to be extended by clients.
|
||||
*/
|
||||
public interface IProblemBinding extends IBinding, IScope, IType, ISemanticProblem {
|
||||
|
||||
/**
|
||||
* Returns the AST node that this problem was created for
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@ public interface IQualifierType extends IType {
|
|||
public boolean isVolatile();
|
||||
|
||||
/**
|
||||
* get the type that this is qualifying
|
||||
* Returns the type that this is qualifying
|
||||
*/
|
||||
public IType getType();
|
||||
}
|
||||
|
|
|
@ -24,7 +24,6 @@ import org.eclipse.cdt.core.index.IIndexFileSet;
|
|||
* @noimplement This interface is not intended to be implemented by clients.
|
||||
*/
|
||||
public interface IScope {
|
||||
|
||||
/**
|
||||
* Classifies the scope.
|
||||
* @since 5.1
|
||||
|
@ -32,13 +31,13 @@ public interface IScope {
|
|||
EScopeKind getKind();
|
||||
|
||||
/**
|
||||
* Get the IName for this scope, may be null
|
||||
* Returns the IName for this scope, may be null
|
||||
* @return The name of this scope.
|
||||
*/
|
||||
public IName getScopeName();
|
||||
|
||||
/**
|
||||
* The method returns the first enclosing non-template scope, or <code>null</code> if this
|
||||
* Returns the first enclosing non-template scope, or <code>null</code> if this
|
||||
* is the global scope.
|
||||
* <p>
|
||||
* For scopes obtained from an index, <code>null</code> is returned to indicate that the
|
||||
|
@ -58,32 +57,32 @@ public interface IScope {
|
|||
public IBinding[] find(String name);
|
||||
|
||||
/**
|
||||
* Get the binding in this scope that the given name would resolve to. Could
|
||||
* Returns the binding in this scope that the given name would resolve to. Could
|
||||
* return null if there is no matching binding in this scope, if the binding has not
|
||||
* yet been cached in this scope, or if resolve == false and the appropriate binding
|
||||
* has not yet been resolved.
|
||||
*
|
||||
* @param name
|
||||
* @param resolve :
|
||||
* @param resolve
|
||||
* whether or not to resolve the matching binding if it has not
|
||||
* been so already.
|
||||
* @return : the binding in this scope that matches the name, or null
|
||||
* @return the binding in this scope that matches the name, or null
|
||||
*/
|
||||
public IBinding getBinding(IASTName name, boolean resolve);
|
||||
|
||||
/**
|
||||
* Get the binding in this scope that the given name would resolve to. Could
|
||||
* Returns the binding in this scope that the given name would resolve to. Could
|
||||
* return null if there is no matching binding in this scope, if the binding has not
|
||||
* yet been cached in this scope, or if resolve == false and the appropriate binding
|
||||
* has not yet been resolved. Accepts file local bindings from the index for the files
|
||||
* int the given set, only.
|
||||
* in the given set, only.
|
||||
*
|
||||
* @param name
|
||||
* @param resolve :
|
||||
* @param resolve
|
||||
* whether or not to resolve the matching binding if it has not
|
||||
* been so already.
|
||||
* @param acceptLocalBindings a set of files for which to accept local bindings.
|
||||
* @return : the binding in this scope that matches the name, or null
|
||||
* @return the binding in this scope that matches the name, or null
|
||||
*/
|
||||
public IBinding getBinding(IASTName name, boolean resolve, IIndexFileSet acceptLocalBindings);
|
||||
|
||||
|
@ -189,5 +188,4 @@ public interface IScope {
|
|||
* @since 5.5
|
||||
*/
|
||||
public IBinding[] getBindings(ScopeLookupData lookup);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue