mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Fix usage or reserved symbols (<>&) in javadoc
Contributed by STMicroelectronics Change-Id: Ifdf90e316d7537848bea8253973864f070b19b1c Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
This commit is contained in:
parent
71ad45b382
commit
7a237aaa0e
51 changed files with 124 additions and 124 deletions
|
@ -60,10 +60,10 @@ public abstract class WindowsRegistry {
|
||||||
public abstract String getLocalMachineValue(String subkey, String name);
|
public abstract String getLocalMachineValue(String subkey, String name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Given a subkey of HKEY_LOCAL_MACHINE, return the map of valueName => value.
|
* Given a subkey of HKEY_LOCAL_MACHINE, return the map of valueName =gt; value.
|
||||||
* The return value is an empty map on error or when the subkey does not exist.
|
* The return value is an empty map on error or when the subkey does not exist.
|
||||||
* @param subkey subkey of HKEY_LOCAL_MACHINE
|
* @param subkey subkey of HKEY_LOCAL_MACHINE
|
||||||
* @return valueName => value map of the entries in subkey
|
* @return valueName => value map of the entries in subkey
|
||||||
* @since 6.1
|
* @since 6.1
|
||||||
*/
|
*/
|
||||||
public abstract Map<String, Object> getLocalMachineValues(String subkey);
|
public abstract Map<String, Object> getLocalMachineValues(String subkey);
|
||||||
|
@ -103,10 +103,10 @@ public abstract class WindowsRegistry {
|
||||||
public abstract String getCurrentUserValue(String subkey, String name);
|
public abstract String getCurrentUserValue(String subkey, String name);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Given a subkey of HKEY_CURRENT_USER, return the map of valueName => value.
|
* Given a subkey of HKEY_CURRENT_USER, return the map of valueName => value.
|
||||||
* The return value is an empty map on error or when the subkey does not exist.
|
* The return value is an empty map on error or when the subkey does not exist.
|
||||||
* @param subkey subkey of HKEY_CURRENT_USER
|
* @param subkey subkey of HKEY_CURRENT_USER
|
||||||
* @return valueName => value map of the entries in subkey
|
* @return valueName => value map of the entries in subkey
|
||||||
* @since 6.1
|
* @since 6.1
|
||||||
*/
|
*/
|
||||||
public abstract Map<String, Object> getCurrentUserValues(String subkey);
|
public abstract Map<String, Object> getCurrentUserValues(String subkey);
|
||||||
|
|
|
@ -194,7 +194,7 @@ public class ConPTY {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements the contract of {@link Process#waitFor()}. This is used by {@link PTY#waitFor(org.eclipse.cdt.utils.spawner.Spawner, int),
|
* Implements the contract of {@link Process#waitFor()}. This is used by {@link PTY#waitFor(org.eclipse.cdt.utils.spawner.Spawner, int)},
|
||||||
* but in the Spawner case the PID is passed around unnecessarily. This method therefore waits for the process it created only,
|
* but in the Spawner case the PID is passed around unnecessarily. This method therefore waits for the process it created only,
|
||||||
* like how Process#waitFor() behaves.
|
* like how Process#waitFor() behaves.
|
||||||
*
|
*
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class PTY {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create PTY for use with Eclipse console.
|
* Create PTY for use with Eclipse console.
|
||||||
* Identical to {@link PTY#PTY(Mode.CONSOLE)}.
|
* Identical to <code>PTY(Mode.CONSOLE)</code>.
|
||||||
*/
|
*/
|
||||||
public PTY() throws IOException {
|
public PTY() throws IOException {
|
||||||
this(Mode.CONSOLE);
|
this(Mode.CONSOLE);
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class LanguageSettingsManager {
|
||||||
* for the given configuration description, resource and language. This is a
|
* for the given configuration description, resource and language. This is a
|
||||||
* combined list for all providers taking into account settings of parent folder
|
* combined list for all providers taking into account settings of parent folder
|
||||||
* if settings for the given resource are not defined. For include paths both
|
* if settings for the given resource are not defined. For include paths both
|
||||||
* local (#include "...") and system (#include <...>) entries are returned.
|
* local (#include "...") and system (#include <...>) entries are returned.
|
||||||
*
|
*
|
||||||
* @param cfgDescription - configuration description.
|
* @param cfgDescription - configuration description.
|
||||||
* @param rc - resource such as file or folder.
|
* @param rc - resource such as file or folder.
|
||||||
|
|
|
@ -165,7 +165,7 @@ public class LanguageSettingsSerializableProvider extends LanguageSettingsBasePr
|
||||||
* {@link #setSettingEntries(ICConfigurationDescription, IResource, String, List)}.
|
* {@link #setSettingEntries(ICConfigurationDescription, IResource, String, List)}.
|
||||||
* <br><br>
|
* <br><br>
|
||||||
* Note also that <b>you can compare these lists with simple equality operator ==</b>,
|
* Note also that <b>you can compare these lists with simple equality operator ==</b>,
|
||||||
* as the lists themselves are backed by WeakHashSet<List<ICLanguageSettingEntry>> where
|
* as the lists themselves are backed by WeakHashSet<List<ICLanguageSettingEntry>> where
|
||||||
* identical copies (deep comparison is used) are replaced with the same one instance.
|
* identical copies (deep comparison is used) are replaced with the same one instance.
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -1424,10 +1424,10 @@ public class CoreModel {
|
||||||
*
|
*
|
||||||
* Each getProjectDescription(project, true) returns a new copy of the project description
|
* Each getProjectDescription(project, true) returns a new copy of the project description
|
||||||
*
|
*
|
||||||
* The writable description uses the cached data untill the first set call
|
* The writable description uses the cached data until the first set call
|
||||||
* after that the description communicates directly to the Build System
|
* after that the description communicates directly to the Build System
|
||||||
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
|
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
|
||||||
* This ensures the Core<->Build System settings integrity
|
* This ensures the Core<->Build System settings integrity
|
||||||
*
|
*
|
||||||
* @return {@link ICProjectDescription} or null if the project does not contain the
|
* @return {@link ICProjectDescription} or null if the project does not contain the
|
||||||
* CDT data associated with it.
|
* CDT data associated with it.
|
||||||
|
|
|
@ -234,7 +234,7 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin
|
||||||
* If the current configuration does not reference any other configurations,
|
* If the current configuration does not reference any other configurations,
|
||||||
* an empty map is returned.
|
* an empty map is returned.
|
||||||
*
|
*
|
||||||
* @return Map<String,String> of referenced Project -> Configuration ID
|
* @return Map<String,String> of referenced Project -> Configuration ID
|
||||||
* @see #setReferenceInfo(Map)
|
* @see #setReferenceInfo(Map)
|
||||||
* @see #getExternalSettings()
|
* @see #getExternalSettings()
|
||||||
* @see #createExternalSetting(String[], String[], String[], ICSettingEntry[])
|
* @see #createExternalSetting(String[], String[], String[], ICSettingEntry[])
|
||||||
|
@ -250,7 +250,7 @@ public interface ICConfigurationDescription extends ICSettingContainer, ICSettin
|
||||||
* The empty string is a special configuration value which indicates the reference
|
* The empty string is a special configuration value which indicates the reference
|
||||||
* tracks the Active configuration in the referenced Project.
|
* tracks the Active configuration in the referenced Project.
|
||||||
*
|
*
|
||||||
* @param refs Map of project name -> configuration ID of referenced configurations
|
* @param refs Map of project name -> configuration ID of referenced configurations
|
||||||
* @throws WriteAccessException when the configuration description is read-only
|
* @throws WriteAccessException when the configuration description is read-only
|
||||||
* see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)}
|
* see {@link CoreModel#getProjectDescription(org.eclipse.core.resources.IProject, boolean)}
|
||||||
* @see {@link #getReferenceInfo()} <br/>
|
* @see {@link #getReferenceInfo()} <br/>
|
||||||
|
|
|
@ -176,7 +176,7 @@ public interface ICProjectDescriptionManager {
|
||||||
* The writable description uses the cached data until the first set call
|
* The writable description uses the cached data until the first set call
|
||||||
* after that the description communicates directly to the Build System
|
* after that the description communicates directly to the Build System
|
||||||
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
|
* i.e. the implementer of the org.eclipse.cdt.core.CConfigurationDataProvider extension
|
||||||
* This ensures the Core<->Build System settings integrity
|
* This ensures the Core<->Build System settings integrity
|
||||||
*
|
*
|
||||||
* @return {@link ICProjectDescription} or null if the project does not contain the
|
* @return {@link ICProjectDescription} or null if the project does not contain the
|
||||||
* CDT data associated with it.
|
* CDT data associated with it.
|
||||||
|
|
|
@ -47,7 +47,7 @@ public interface ICSettingEntry {
|
||||||
/**
|
/**
|
||||||
* Flag {@code LOCAL} is used during creation of {@link IIncludeEntry}
|
* Flag {@code LOCAL} is used during creation of {@link IIncludeEntry}
|
||||||
* to indicate that an include path is not a system path.
|
* to indicate that an include path is not a system path.
|
||||||
* "System" path is denoted by angle brackets as in #include <x.h>
|
* "System" path is denoted by angle brackets as in #include <x.h>
|
||||||
* "Local" path is denoted by quotes as in #include "x.h"
|
* "Local" path is denoted by quotes as in #include "x.h"
|
||||||
*/
|
*/
|
||||||
int LOCAL = 1 << 2;
|
int LOCAL = 1 << 2;
|
||||||
|
|
|
@ -37,7 +37,7 @@ public abstract class CConfigurationDataProvider {
|
||||||
* The method can be called in following cases:
|
* The method can be called in following cases:
|
||||||
* <br>
|
* <br>
|
||||||
* 1. Loading configuration from external data source such as .cproject.<br>
|
* 1. Loading configuration from external data source such as .cproject.<br>
|
||||||
* 2. Loading preference configuration defined in Preferences -> C/C++ -> New project Wizard -> Makefile Project.
|
* 2. Loading preference configuration defined in Preferences -> C/C++ -> New project Wizard -> Makefile Project.
|
||||||
*
|
*
|
||||||
* @param cfgDescription - configuration description being loaded.
|
* @param cfgDescription - configuration description being loaded.
|
||||||
* @param monitor - progress monitor.
|
* @param monitor - progress monitor.
|
||||||
|
|
|
@ -20,11 +20,11 @@ package org.eclipse.cdt.core.dom.ast;
|
||||||
*
|
*
|
||||||
* Possible forms are:
|
* Possible forms are:
|
||||||
* C++:
|
* C++:
|
||||||
* alignas(<type-id>)
|
* alignas(<type-id>)
|
||||||
* alignas(<expression>)
|
* alignas(<expression>)
|
||||||
* C:
|
* C:
|
||||||
* _Alignas(<type-id>)
|
* _Alignas(<type-id>)
|
||||||
* _Alignas(<expression>)
|
* _Alignas(<expression>)
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
* @noextend This interface is not intended to be extended by clients.
|
* @noextend This interface is not intended to be extended by clients.
|
||||||
* @since 5.10
|
* @since 5.10
|
||||||
|
@ -39,13 +39,13 @@ public interface IASTAlignmentSpecifier extends IASTNode {
|
||||||
"IASTAlignmentSpecifier.ALIGNMENT_TYPEID - Type-id in alignment specifier"); //$NON-NLS-1$
|
"IASTAlignmentSpecifier.ALIGNMENT_TYPEID - Type-id in alignment specifier"); //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the specifier is of the form 'alignas(<expression>)' or '_Alignas(<expression>)',
|
* If the specifier is of the form 'alignas(<expression>)' or '_Alignas(<expression>)',
|
||||||
* returns the enclosed expression. Otherwise, returns null.
|
* returns the enclosed expression. Otherwise, returns null.
|
||||||
*/
|
*/
|
||||||
IASTExpression getExpression();
|
IASTExpression getExpression();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the specifier is of the form 'alignas(<type-id>)' or '_Alignas(<type-id>)',
|
* If the specifier is of the form 'alignas(<type-id>)' or '_Alignas(<type-id>)',
|
||||||
* returns the enclosed type-id. Otherwise, returns null.
|
* returns the enclosed type-id. Otherwise, returns null.
|
||||||
*/
|
*/
|
||||||
IASTTypeId getTypeId();
|
IASTTypeId getTypeId();
|
||||||
|
|
|
@ -77,37 +77,37 @@ public interface IASTBinaryExpression extends IASTExpression {
|
||||||
public static final int op_minus = 5;
|
public static final int op_minus = 5;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shift left <<
|
* shift left <<
|
||||||
*/
|
*/
|
||||||
public static final int op_shiftLeft = 6;
|
public static final int op_shiftLeft = 6;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shift right >>
|
* shift right >>
|
||||||
*/
|
*/
|
||||||
public static final int op_shiftRight = 7;
|
public static final int op_shiftRight = 7;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* less than <
|
* less than <
|
||||||
*/
|
*/
|
||||||
public static final int op_lessThan = 8;
|
public static final int op_lessThan = 8;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* greater than >
|
* greater than >
|
||||||
*/
|
*/
|
||||||
public static final int op_greaterThan = 9;
|
public static final int op_greaterThan = 9;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* less than or equals <=
|
* less than or equals <=
|
||||||
*/
|
*/
|
||||||
public static final int op_lessEqual = 10;
|
public static final int op_lessEqual = 10;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* greater than or equals >=
|
* greater than or equals >=
|
||||||
*/
|
*/
|
||||||
public static final int op_greaterEqual = 11;
|
public static final int op_greaterEqual = 11;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* binary and &
|
* binary and &
|
||||||
*/
|
*/
|
||||||
public static final int op_binaryAnd = 12;
|
public static final int op_binaryAnd = 12;
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ public interface IASTBinaryExpression extends IASTExpression {
|
||||||
public static final int op_binaryOr = 14;
|
public static final int op_binaryOr = 14;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* logical and &&
|
* logical and &&
|
||||||
*/
|
*/
|
||||||
public static final int op_logicalAnd = 15;
|
public static final int op_logicalAnd = 15;
|
||||||
|
|
||||||
|
@ -162,17 +162,17 @@ public interface IASTBinaryExpression extends IASTExpression {
|
||||||
public static final int op_minusAssign = 22;
|
public static final int op_minusAssign = 22;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shift left assignment <<=
|
* shift left assignment <<=
|
||||||
*/
|
*/
|
||||||
public static final int op_shiftLeftAssign = 23;
|
public static final int op_shiftLeftAssign = 23;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shift right assign >>=
|
* shift right assign >>=
|
||||||
*/
|
*/
|
||||||
public static final int op_shiftRightAssign = 24;
|
public static final int op_shiftRightAssign = 24;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* binary and assign &=
|
* binary and assign &=
|
||||||
*/
|
*/
|
||||||
public static final int op_binaryAndAssign = 25;
|
public static final int op_binaryAndAssign = 25;
|
||||||
|
|
||||||
|
@ -210,13 +210,13 @@ public interface IASTBinaryExpression extends IASTExpression {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For g++, only.
|
* For g++, only.
|
||||||
* <code>op_max</code> represents >?
|
* <code>op_max</code> represents >?
|
||||||
*/
|
*/
|
||||||
public static final int op_max = 32;
|
public static final int op_max = 32;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For g++, only.
|
* For g++, only.
|
||||||
* <code>op_min</code> represents <?
|
* <code>op_min</code> represents <?
|
||||||
*/
|
*/
|
||||||
public static final int op_min = 33;
|
public static final int op_min = 33;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
package org.eclipse.cdt.core.dom.ast;
|
package org.eclipse.cdt.core.dom.ast;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This represents an elaborated type specifier in the C & C++ language grammar.
|
* This represents an elaborated type specifier in the C & C++ language grammar.
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
package org.eclipse.cdt.core.dom.ast;
|
package org.eclipse.cdt.core.dom.ast;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This interface represents expressions that access a field reference. e.g. a.b => a
|
* This interface represents expressions that access a field reference. e.g. a.b => a
|
||||||
* is the expression, b is the field name. e.g. a()->def => a() is the
|
* is the expression, b is the field name. e.g. a()->def => a() is the
|
||||||
* expression, def is the field name.
|
* expression, def is the field name.
|
||||||
*
|
*
|
||||||
* @noextend This interface is not intended to be extended by clients.
|
* @noextend This interface is not intended to be extended by clients.
|
||||||
|
|
|
@ -63,7 +63,7 @@ public interface IASTNode {
|
||||||
* <p>
|
* <p>
|
||||||
* Nodes that span file context into a macro expansion (and potentially out
|
* Nodes that span file context into a macro expansion (and potentially out
|
||||||
* of the macro expansion again) result in an IASTNodeLocation[] result
|
* of the macro expansion again) result in an IASTNodeLocation[] result
|
||||||
* that is of length > 1.
|
* that is of length > 1.
|
||||||
* <p>
|
* <p>
|
||||||
* We do not provide meaningful node locations for nested macro references
|
* We do not provide meaningful node locations for nested macro references
|
||||||
* (see {@link IASTPreprocessorMacroExpansion#getNestedMacroReferences()}).
|
* (see {@link IASTPreprocessorMacroExpansion#getNestedMacroReferences()}).
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
package org.eclipse.cdt.core.dom.ast;
|
package org.eclipse.cdt.core.dom.ast;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a declarator for a non K&R C function.
|
* This is a declarator for a non K&R C function.
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -53,7 +53,7 @@ public interface IASTUnaryExpression extends IASTExpression {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Operator ampersand.
|
* Operator ampersand.
|
||||||
* {@code op_amper}: &exp
|
* {@code op_amper}: &exp
|
||||||
*/
|
*/
|
||||||
public static final int op_amper = 5;
|
public static final int op_amper = 5;
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ public interface IASTUnaryExpression extends IASTExpression {
|
||||||
public static final int op_noexcept = 17;
|
public static final int op_noexcept = 17;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* For GCC parsers, only. {@code op_labelReference} is used for &&label type expressions.
|
* For GCC parsers, only. {@code op_labelReference} is used for &&label type expressions.
|
||||||
* @since 5.8
|
* @since 5.8
|
||||||
*/
|
*/
|
||||||
public static final int op_labelReference = 18;
|
public static final int op_labelReference = 18;
|
||||||
|
|
|
@ -38,7 +38,7 @@ public interface ICPPASTAliasDeclaration extends IASTDeclaration, IASTNameOwner,
|
||||||
"ICPPASTAliasDeclaration.ALIAS_NAME - Introduced alias name"); //$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_TYPEID</code> represents the pre-existing type id which
|
||||||
* the new symbol aliases.
|
* the new symbol aliases.
|
||||||
*/
|
*/
|
||||||
public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty(
|
public static final ASTNodeProperty TARGET_TYPEID = new ASTNodeProperty(
|
||||||
|
|
|
@ -23,22 +23,22 @@ import org.eclipse.cdt.core.dom.ast.IASTCastExpression;
|
||||||
*/
|
*/
|
||||||
public interface ICPPASTCastExpression extends IASTCastExpression, ICPPASTExpression {
|
public interface ICPPASTCastExpression extends IASTCastExpression, ICPPASTExpression {
|
||||||
/**
|
/**
|
||||||
* <code>op_dynamic_cast</code> is used for dynamic_cast<>'s.
|
* <code>op_dynamic_cast</code> is used for dynamic_cast<>'s.
|
||||||
*/
|
*/
|
||||||
public static final int op_dynamic_cast = IASTCastExpression.op_last + 1;
|
public static final int op_dynamic_cast = IASTCastExpression.op_last + 1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>op_static_cast</code> is used for static_cast<>'s.
|
* <code>op_static_cast</code> is used for static_cast<>'s.
|
||||||
*/
|
*/
|
||||||
public static final int op_static_cast = IASTCastExpression.op_last + 2;
|
public static final int op_static_cast = IASTCastExpression.op_last + 2;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <oode>op_reinterpret_cast</code> is used for reinterpret_cast<>'s.
|
* <oode>op_reinterpret_cast</code> is used for reinterpret_cast<>'s.
|
||||||
*/
|
*/
|
||||||
public static final int op_reinterpret_cast = IASTCastExpression.op_last + 3;
|
public static final int op_reinterpret_cast = IASTCastExpression.op_last + 3;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>op_const_cast</code> is used for const_cast<>'s.
|
* <code>op_const_cast</code> is used for const_cast<>'s.
|
||||||
*/
|
*/
|
||||||
public static final int op_const_cast = IASTCastExpression.op_last + 4;
|
public static final int op_const_cast = IASTCastExpression.op_last + 4;
|
||||||
|
|
||||||
|
|
|
@ -182,13 +182,13 @@ public interface ICPPASTFunctionDeclarator extends IASTStandardFunctionDeclarato
|
||||||
public void setNoexceptExpression(ICPPASTExpression expression);
|
public void setNoexceptExpression(ICPPASTExpression expression);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the trailing return type as in <code> auto f() -> int </code>, or <code>null</code>.
|
* Returns the trailing return type as in <code> auto f() -gt; int </code>, or <code>null</code>.
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public IASTTypeId getTrailingReturnType();
|
public IASTTypeId getTrailingReturnType();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trailing return type as in <code> auto f() -> int </code>.
|
* Trailing return type as in <code> auto f() -> int </code>.
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public void setTrailingReturnType(IASTTypeId typeId);
|
public void setTrailingReturnType(IASTTypeId typeId);
|
||||||
|
|
|
@ -17,14 +17,14 @@ package org.eclipse.cdt.core.dom.ast.cpp;
|
||||||
import org.eclipse.cdt.core.dom.ast.IASTPointerOperator;
|
import org.eclipse.cdt.core.dom.ast.IASTPointerOperator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is C++'s reference operator, i.e. &, used in a declarator.
|
* This is C++'s reference operator, i.e. &, used in a declarator.
|
||||||
*
|
*
|
||||||
* @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 ICPPASTReferenceOperator extends IASTPointerOperator {
|
public interface ICPPASTReferenceOperator extends IASTPointerOperator {
|
||||||
/**
|
/**
|
||||||
* Returns whether the operator denotes a rvalue reference (e.g. <code>int &&</code>).
|
* Returns whether the operator denotes a rvalue reference (e.g. <code>int &&</code>).
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public boolean isRValueReference();
|
public boolean isRValueReference();
|
||||||
|
|
|
@ -32,8 +32,8 @@ import org.eclipse.jdt.annotation.Nullable;
|
||||||
* Examples:
|
* Examples:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li><code>auto [x, y]{coordinate};</code></li>
|
* <li><code>auto [x, y]{coordinate};</code></li>
|
||||||
* <li><code>auto & [x, y](coordinate);</code></li>
|
* <li><code>auto & [x, y](coordinate);</code></li>
|
||||||
* <li><code>auto && [x, y] = createCoordinte();</code></li>
|
* <li><code>auto && [x, y] = createCoordinte();</code></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @since 6.9
|
* @since 6.9
|
||||||
|
@ -64,8 +64,8 @@ public interface ICPPASTStructuredBindingDeclaration
|
||||||
* Examples:
|
* Examples:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>For <code>auto [x, y] = coordinate;</code> it returns the empty <code>Optional</code></li>
|
* <li>For <code>auto [x, y] = coordinate;</code> it returns the empty <code>Optional</code></li>
|
||||||
* <li>For <code>auto & [x, y] = coordinate;</code> it returns <code>Optional.of(RefQualifier.LVALUE)</code></li>
|
* <li>For <code>auto & [x, y] = coordinate;</code> it returns <code>Optional.of(RefQualifier.LVALUE)</code></li>
|
||||||
* <li>For <code>auto && [x, y] = createCoordinte();</code> it returns <code>Optional.of(RefQualifier.RVALUE)</code></li>
|
* <li>For <code>auto && [x, y] = createCoordinte();</code> it returns <code>Optional.of(RefQualifier.RVALUE)</code></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @return The returned <code>RefQualifier</code> of the C++ declaration or <code>null</code> if there is no reference qualifier.
|
* @return The returned <code>RefQualifier</code> of the C++ declaration or <code>null</code> if there is no reference qualifier.
|
||||||
|
@ -78,7 +78,7 @@ public interface ICPPASTStructuredBindingDeclaration
|
||||||
/**
|
/**
|
||||||
* Returns the list of names declared by this structured binding declaration.
|
* Returns the list of names declared by this structured binding declaration.
|
||||||
* <p>
|
* <p>
|
||||||
* Example: For <code>auto & [x, y] = coordinate;</code> it returns the names <code>x</code> and <code>y</code>.
|
* Example: For <code>auto & [x, y] = coordinate;</code> it returns the names <code>x</code> and <code>y</code>.
|
||||||
*
|
*
|
||||||
* @return All declared names of the structured binding as<code>IASTName[]</code>
|
* @return All declared names of the structured binding as<code>IASTName[]</code>
|
||||||
* @see IASTName
|
* @see IASTName
|
||||||
|
@ -93,8 +93,8 @@ public interface ICPPASTStructuredBindingDeclaration
|
||||||
* * Examples:
|
* * Examples:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>For <code>auto [x, y]{coordinate};</code> it returns an <code>ICPPASTInitializerList</code></li>
|
* <li>For <code>auto [x, y]{coordinate};</code> it returns an <code>ICPPASTInitializerList</code></li>
|
||||||
* <li>For <code>auto & [x, y](coordinate);</code> it returns an <code>ICPPASTConstructorInitializer</code></li>
|
* <li>For <code>auto & [x, y](coordinate);</code> it returns an <code>ICPPASTConstructorInitializer</code></li>
|
||||||
* <li>For <code>auto && [x, y] = createCoordinte();</code> it returns an <code>IASTEqualsInitializer</code></li>
|
* <li>For <code>auto && [x, y] = createCoordinte();</code> it returns an <code>IASTEqualsInitializer</code></li>
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
* @return The <code>IASTInitializer</code> of this structured binding. It can be <code>null</code> if the C++ declaration is lacking an initializer.
|
* @return The <code>IASTInitializer</code> of this structured binding. It can be <code>null</code> if the C++ declaration is lacking an initializer.
|
||||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.cdt.core.dom.ast.IASTNameOwner;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is a template template parameter as <code> V </code> in
|
* This is a template template parameter as <code> V </code> in
|
||||||
* <code>template<template<typename T> class V> class CT;</code>
|
* <code>template<template<typename T> class V> class CT;</code>
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -19,8 +19,8 @@ package org.eclipse.cdt.core.dom.ast.cpp;
|
||||||
* a class template in its own right.
|
* a class template in its own right.
|
||||||
*
|
*
|
||||||
* E.g.:
|
* E.g.:
|
||||||
* template <class T> class A {}; // the primary class template
|
* template <class T> class A {}; // the primary class template
|
||||||
* template <class T> class A<T*> {}; // a partial specialization of the primary class template
|
* template <class T> class A<T*> {}; // a partial specialization of the primary class template
|
||||||
*
|
*
|
||||||
* @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.
|
||||||
|
|
|
@ -27,7 +27,7 @@ public interface ICPPReferenceType extends IType {
|
||||||
public IType getType();
|
public IType getType();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns whether this is an rvalue reference (e.g: int&&)
|
* Returns whether this is an rvalue reference (e.g: int&&)
|
||||||
* @since 5.2
|
* @since 5.2
|
||||||
*/
|
*/
|
||||||
public boolean isRValueReference();
|
public boolean isRValueReference();
|
||||||
|
|
|
@ -23,7 +23,7 @@ import org.eclipse.cdt.core.dom.ast.IASTStatement;
|
||||||
*
|
*
|
||||||
* <code>
|
* <code>
|
||||||
* foo:
|
* foo:
|
||||||
* void *labelPtr = &&foo;
|
* void *labelPtr = &&foo;
|
||||||
* goto *labelPtr;
|
* goto *labelPtr;
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
|
|
|
@ -20,14 +20,14 @@ import org.eclipse.cdt.core.dom.ast.IASTFunctionDeclarator;
|
||||||
import org.eclipse.cdt.core.dom.ast.IASTName;
|
import org.eclipse.cdt.core.dom.ast.IASTName;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the declarator for a K&R C Function.
|
* This is the declarator for a K&R C Function.
|
||||||
*
|
*
|
||||||
* @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 ICASTKnRFunctionDeclarator extends IASTFunctionDeclarator {
|
public interface ICASTKnRFunctionDeclarator extends IASTFunctionDeclarator {
|
||||||
/**
|
/**
|
||||||
* <code>PARAMETER_NAME</code> refers to the names qualified in a K&R C
|
* <code>PARAMETER_NAME</code> refers to the names qualified in a K&R C
|
||||||
* function definition.
|
* function definition.
|
||||||
*/
|
*/
|
||||||
public static final ASTNodeProperty PARAMETER_NAME = new ASTNodeProperty(
|
public static final ASTNodeProperty PARAMETER_NAME = new ASTNodeProperty(
|
||||||
|
@ -35,7 +35,7 @@ public interface ICASTKnRFunctionDeclarator extends IASTFunctionDeclarator {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>FUNCTION_PARAMETER</code> represents the relationship between an
|
* <code>FUNCTION_PARAMETER</code> represents the relationship between an
|
||||||
* K&R function declarator and the full parameter declarations.
|
* K&R function declarator and the full parameter declarations.
|
||||||
*/
|
*/
|
||||||
public static final ASTNodeProperty FUNCTION_PARAMETER = new ASTNodeProperty(
|
public static final ASTNodeProperty FUNCTION_PARAMETER = new ASTNodeProperty(
|
||||||
"ICASTKnRFunctionDeclarator.FUNCTION_PARAMETER - Full K&R Parameter Declaration"); //$NON-NLS-1$
|
"ICASTKnRFunctionDeclarator.FUNCTION_PARAMETER - Full K&R Parameter Declaration"); //$NON-NLS-1$
|
||||||
|
|
|
@ -24,12 +24,12 @@ import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTBinaryExpression;
|
||||||
*/
|
*/
|
||||||
public interface IGPPASTBinaryExpression extends ICPPASTBinaryExpression {
|
public interface IGPPASTBinaryExpression extends ICPPASTBinaryExpression {
|
||||||
/**
|
/**
|
||||||
* <code>op_max</code> represents >?
|
* <code>op_max</code> represents >?
|
||||||
*/
|
*/
|
||||||
public static final int op_max = IASTBinaryExpression.op_max;
|
public static final int op_max = IASTBinaryExpression.op_max;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <code>op_min</code> represents <?
|
* <code>op_min</code> represents <?
|
||||||
*/
|
*/
|
||||||
public static final int op_min = IASTBinaryExpression.op_min;
|
public static final int op_min = IASTBinaryExpression.op_min;
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ public abstract class AbstractScannerExtensionConfiguration implements IScannerE
|
||||||
* The macro can either be of object- or of function-style.
|
* The macro can either be of object- or of function-style.
|
||||||
* <pre>
|
* <pre>
|
||||||
* Example:
|
* Example:
|
||||||
* addMacro("max(a,b)", "(((a)>(b) ? (a) : (b))");
|
* addMacro("max(a,b)", "(((a)>(b) ? (a) : (b))");
|
||||||
* </pre>
|
* </pre>
|
||||||
* @param signature the signature of the macro, see {@link IMacro#getSignature()}.
|
* @param signature the signature of the macro, see {@link IMacro#getSignature()}.
|
||||||
* @param value the macro value
|
* @param value the macro value
|
||||||
|
|
|
@ -67,9 +67,9 @@ public interface ICParserExtensionConfiguration {
|
||||||
public boolean supportAlignOfUnaryExpression();
|
public boolean supportAlignOfUnaryExpression();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Support for Kernighan and Richie (K&R) C.
|
* Support for Kernighan and Richie (K&R) C.
|
||||||
*
|
*
|
||||||
* @return <code>true</code> if support for K&R C should be enabled
|
* @return <code>true</code> if support for K&R C should be enabled
|
||||||
*/
|
*/
|
||||||
public boolean supportKnRC();
|
public boolean supportKnRC();
|
||||||
|
|
||||||
|
@ -101,7 +101,7 @@ public interface ICParserExtensionConfiguration {
|
||||||
/**
|
/**
|
||||||
* Skips information in brackets provided at the beginning of a parameter declaration:
|
* Skips information in brackets provided at the beginning of a parameter declaration:
|
||||||
* <br>
|
* <br>
|
||||||
* void accelerate([proc=marsh] const Speed &data);
|
* void accelerate([proc=marsh] const Speed &data);
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
public boolean supportParameterInfoBlock();
|
public boolean supportParameterInfoBlock();
|
||||||
|
|
|
@ -92,9 +92,9 @@ public interface ICPPParserExtensionConfiguration {
|
||||||
public boolean supportAlignOfUnaryExpression();
|
public boolean supportAlignOfUnaryExpression();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Support for Kernighan and Richie (K&R) C.
|
* Support for Kernighan and Richie (K&R) C.
|
||||||
*
|
*
|
||||||
* @return {@code true} if support for K&R C should be enabled
|
* @return {@code true} if support for K&R C should be enabled
|
||||||
*/
|
*/
|
||||||
public boolean supportKnRC();
|
public boolean supportKnRC();
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ public interface ICPPParserExtensionConfiguration {
|
||||||
/**
|
/**
|
||||||
* Skips information in brackets provided at the beginning of a parameter declaration:
|
* Skips information in brackets provided at the beginning of a parameter declaration:
|
||||||
* <br>
|
* <br>
|
||||||
* void accelerate([proc=marsh] const Speed &data);
|
* void accelerate([proc=marsh] const Speed &data);
|
||||||
* @since 5.1
|
* @since 5.1
|
||||||
*/
|
*/
|
||||||
public boolean supportParameterInfoBlock();
|
public boolean supportParameterInfoBlock();
|
||||||
|
|
|
@ -88,7 +88,7 @@ public abstract class MacroExpansionExplorer {
|
||||||
/**
|
/**
|
||||||
* Returns a description for the requested step within the expansion of the region of this
|
* Returns a description for the requested step within the expansion of the region of this
|
||||||
* expansion explorer.
|
* expansion explorer.
|
||||||
* @throws IndexOutOfBoundsException if step < 0 or step >= getExpansionStepCount().
|
* @throws IndexOutOfBoundsException if step < 0 or step >= getExpansionStepCount().
|
||||||
*/
|
*/
|
||||||
public abstract IMacroExpansionStep getExpansionStep(int step) throws IndexOutOfBoundsException;
|
public abstract IMacroExpansionStep getExpansionStep(int step) throws IndexOutOfBoundsException;
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,7 +61,7 @@ public abstract class AbstractExportProjectProvider implements IExportProjectPro
|
||||||
* Returns a mapping from string option to parameter string list
|
* Returns a mapping from string option to parameter string list
|
||||||
* <br>
|
* <br>
|
||||||
* For example, if -option p1 p2 p3 appears on the command line, then
|
* For example, if -option p1 p2 p3 appears on the command line, then
|
||||||
* the mapping option=>[p1,p2,p3] will be present in the map
|
* the mapping option=>[p1,p2,p3] will be present in the map
|
||||||
* @return a mapping from string option to parameter string list
|
* @return a mapping from string option to parameter string list
|
||||||
*/
|
*/
|
||||||
protected Map<String, List<String>> getParsedArgs() {
|
protected Map<String, List<String>> getParsedArgs() {
|
||||||
|
|
|
@ -123,7 +123,7 @@ public interface IProblem {
|
||||||
* types of problems.
|
* types of problems.
|
||||||
*
|
*
|
||||||
* @param bitmask
|
* @param bitmask
|
||||||
* @return true if ( (id & bit-mask ) != 0 )
|
* @return true if ( (id & bit-mask ) != 0 )
|
||||||
*/
|
*/
|
||||||
public boolean checkCategory(int bitmask);
|
public boolean checkCategory(int bitmask);
|
||||||
|
|
||||||
|
|
|
@ -124,7 +124,7 @@ public interface IScanner {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of additional (compiler specific) suffixes which can
|
* Returns a list of additional (compiler specific) suffixes which can
|
||||||
* be placed on numbers. e.g. 'u' 'l' -> 1l or 1u.
|
* be placed on numbers. e.g. 'u' 'l' -> 1l or 1u.
|
||||||
*
|
*
|
||||||
* @noreference This method is not intended to be referenced by clients.
|
* @noreference This method is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -352,7 +352,7 @@ public abstract class ArrayUtil {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds all elements of an array to a collection. For an {@link ArrayList} this method is
|
* Adds all elements of an array to a collection. For an {@link ArrayList} this method is
|
||||||
* slightly more efficient than {@link java.util.Collections#addAll(Collection, T...)}.
|
* slightly more efficient than {@link java.util.Collections#addAll(Collection, Object...)}.
|
||||||
* @since 5.4
|
* @since 5.4
|
||||||
*/
|
*/
|
||||||
@SafeVarargs
|
@SafeVarargs
|
||||||
|
|
|
@ -145,7 +145,7 @@ public final class CollectionUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a List<U> corresponding to a T in a Map<T, List<U>>. If the mapping doesn't exist,
|
* Returns a List<U> corresponding to a T in a Map<T, List<U>>. If the mapping doesn't exist,
|
||||||
* creates it with an empty list as the initial value.
|
* creates it with an empty list as the initial value.
|
||||||
* @since 5.6
|
* @since 5.6
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1009,8 +1009,8 @@ public class CCorePlugin extends Plugin {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method convertProjectFromCtoCC converts a C Project to a C++ Project The
|
* Method convertProjectFromCtoCC converts a C Project to a C++ Project The
|
||||||
* newProject MUST, not be null, already have a C Nature && must NOT already
|
* newProject MUST, not be null, already have a C Nature && must
|
||||||
* have a C++ Nature
|
* NOT already have a C++ Nature
|
||||||
*
|
*
|
||||||
* @param projectHandle
|
* @param projectHandle
|
||||||
* @param monitor
|
* @param monitor
|
||||||
|
@ -1455,7 +1455,7 @@ public class CCorePlugin extends Plugin {
|
||||||
* set call after that the description communicates directly to
|
* set call after that the description communicates directly to
|
||||||
* the Build System i.e. the implementer of the
|
* the Build System i.e. the implementer of the
|
||||||
* org.eclipse.cdt.core.CConfigurationDataProvider extension This
|
* org.eclipse.cdt.core.CConfigurationDataProvider extension This
|
||||||
* ensures the Core<->Build System settings integrity.
|
* ensures the Core<->Build System settings integrity.
|
||||||
*
|
*
|
||||||
* @return {@link ICProjectDescription} or null if the project does not
|
* @return {@link ICProjectDescription} or null if the project does not
|
||||||
* contain the CDT data associated with it.
|
* contain the CDT data associated with it.
|
||||||
|
|
|
@ -21,7 +21,7 @@ import org.eclipse.core.runtime.CoreException;
|
||||||
import org.eclipse.core.runtime.IProgressMonitor;
|
import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated replace with {@link ICProjectDescriptionManager} & {@link ICProjectDescription}
|
* @deprecated replace with {@link ICProjectDescriptionManager} & {@link ICProjectDescription}
|
||||||
* @noreference This interface is not intended to be referenced by clients.
|
* @noreference This interface is not intended to be referenced by clients.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
|
|
|
@ -98,8 +98,8 @@ public interface ICExtensionReference {
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* <view>
|
* <view>
|
||||||
*     <verticalHint>top</verticalHint>
|
* <verticalHint>top</verticalHint>
|
||||||
*     <horizontalHint>left</horizontalHint>
|
* <horizontalHint>left</horizontalHint>
|
||||||
* </view>
|
* </view>
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,8 +30,8 @@ import org.eclipse.core.runtime.IAdaptable;
|
||||||
* <p>
|
* <p>
|
||||||
* CDT has:
|
* CDT has:
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>A global (common) source locator. Its containers are defined via Window > Preferences > C/C++ > Debug >
|
* <li>A global (common) source locator. Its containers are defined via Window > Preferences >
|
||||||
* Source Lookup Path
|
* C/C++ > Debug > Source Lookup Path
|
||||||
* <li>Launch configuration source locators. The containers of such a locator are defined via the 'Source' tab
|
* <li>Launch configuration source locators. The containers of such a locator are defined via the 'Source' tab
|
||||||
* in a CDT launch configuration. The common source containers are automatically added to this locator.
|
* in a CDT launch configuration. The common source containers are automatically added to this locator.
|
||||||
* <li>Launch source locators. Typically, a launch's locator is the one defined in the launch configuration
|
* <li>Launch source locators. Typically, a launch's locator is the one defined in the launch configuration
|
||||||
|
|
|
@ -58,7 +58,7 @@ public interface ICdtVariableManager {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* converts StringList value into String of the following format:
|
* converts StringList value into String of the following format:
|
||||||
* "<value_1>< listDelimiter ><value_2>< listDelimiter > ... <value_n>"
|
* "<value_1>< listDelimiter ><value_2>< listDelimiter > ... <value_n>"
|
||||||
*/
|
*/
|
||||||
public String convertStringListToString(String value[], String listDelimiter);
|
public String convertStringListToString(String value[], String listDelimiter);
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ public interface ICdtVariableManager {
|
||||||
* expanded to. If null the BuildMacroException is thrown in case the string to be resolved
|
* expanded to. If null the BuildMacroException is thrown in case the string to be resolved
|
||||||
* references inexistent macros
|
* references inexistent macros
|
||||||
* @param listDelimiter if not null, StringList macros are expanded as
|
* @param listDelimiter if not null, StringList macros are expanded as
|
||||||
* "<value_1>< listDelimiter ><value_2>< listDelimiter > ... <value_n>"
|
* "<value_1>< listDelimiter ><value_2>< listDelimiter > ... <value_n>"
|
||||||
* otherwise the BuildMacroException is thrown in case the string to be resolved references
|
* otherwise the BuildMacroException is thrown in case the string to be resolved references
|
||||||
* string-list macros
|
* string-list macros
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -50,9 +50,9 @@ public interface IEnvironmentVariable {
|
||||||
* If the variable already exists and contains some value the new
|
* If the variable already exists and contains some value the new
|
||||||
* value will be calculated in the following way:
|
* value will be calculated in the following way:
|
||||||
* For the "prepend" operation:
|
* For the "prepend" operation:
|
||||||
* <New value> = <the value from the getValue() method><delimiter><Old value>
|
* <New value> = <the value from the getValue() method><delimiter><Old value>
|
||||||
* For the "append" operation:
|
* For the "append" operation:
|
||||||
* <New value> = <Old value><delimiter><the value from the getValue() method>
|
* <New value> = <Old value><delimiter><the value from the getValue() method>
|
||||||
*
|
*
|
||||||
* The Environment Variable Provider will also remove the duplicates of "sub-values"
|
* The Environment Variable Provider will also remove the duplicates of "sub-values"
|
||||||
* in the resulting value.
|
* in the resulting value.
|
||||||
|
|
|
@ -2867,9 +2867,9 @@ public class DefaultCodeFormatterConstants {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the K&R formatter settings
|
* Returns the K&R formatter settings
|
||||||
*
|
*
|
||||||
* @return the K&R settings
|
* @return the K&R settings
|
||||||
*/
|
*/
|
||||||
public static Map<String, String> getKandRSettings() {
|
public static Map<String, String> getKandRSettings() {
|
||||||
return DefaultCodeFormatterOptions.getKandRSettings().getMap();
|
return DefaultCodeFormatterOptions.getKandRSettings().getMap();
|
||||||
|
|
|
@ -2529,7 +2529,7 @@ public class DefaultCodeFormatterOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configure K&R style.
|
* Configure K&R style.
|
||||||
* <p>Example:</p>
|
* <p>Example:</p>
|
||||||
* <pre>
|
* <pre>
|
||||||
* namespace foospace {
|
* namespace foospace {
|
||||||
|
|
|
@ -176,7 +176,7 @@ public final class IndentManipulation {
|
||||||
/**
|
/**
|
||||||
* Removes the given number of indentation units from a given line. If the line
|
* Removes the given number of indentation units from a given line. If the line
|
||||||
* has less than the given indent, all the available indentation is removed.
|
* has less than the given indent, all the available indentation is removed.
|
||||||
* If <code>indentsToRemove <= 0</code> the line is returned.
|
* If <code>indentsToRemove <= 0</code> the line is returned.
|
||||||
*
|
*
|
||||||
* @param line the line to trim
|
* @param line the line to trim
|
||||||
* @param tabWidth the width of one tab in space equivalents
|
* @param tabWidth the width of one tab in space equivalents
|
||||||
|
|
|
@ -115,13 +115,13 @@ public interface IPathEntryVariableManager {
|
||||||
* <li>BACKUP = /tmp/backup</li>
|
* <li>BACKUP = /tmp/backup</li>
|
||||||
* </ul>
|
* </ul>
|
||||||
* <p>The following paths would be resolved as:
|
* <p>The following paths would be resolved as:
|
||||||
* <p>c:/bin => c:/bin</p>
|
* <p>c:/bin => c:/bin</p>
|
||||||
* <p>c:${TEMP} => c:/temp</p>
|
* <p>c:${TEMP} => c:/temp</p>
|
||||||
* <p>/TEMP => /TEMP</p>
|
* <p>/TEMP => /TEMP</p>
|
||||||
* <p>${TEMP}/foo => /temp/foo</p>
|
* <p>${TEMP}/foo => /temp/foo</p>
|
||||||
* <p>${BACKUP} => /tmp/backup</p>
|
* <p>${BACKUP} => /tmp/backup</p>
|
||||||
* <p>${BACKUP}/bar.txt => /tmp/backup/bar.txt</p>
|
* <p>${BACKUP}/bar.txt => /tmp/backup/bar.txt</p>
|
||||||
* <p>SOMEPATH/foo => SOMEPATH/foo</p></p>
|
* <p>SOMEPATH/foo => SOMEPATH/foo</p></p>
|
||||||
*
|
*
|
||||||
* @param path the path to be resolved
|
* @param path the path to be resolved
|
||||||
* @return the resolved path or <code>null</code>
|
* @return the resolved path or <code>null</code>
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
/**
|
/**
|
||||||
* Creates a template macro value that can be used as a pseudo-unique resource identifier.
|
* Creates a template macro value that can be used as a pseudo-unique resource identifier.
|
||||||
* It is based on the name of the application and is in the form of four capital letters.
|
* It is based on the name of the application and is in the form of four capital letters.
|
||||||
* e.g. Helloworld => HELL
|
* e.g. Helloworld => HELL
|
||||||
*/
|
*/
|
||||||
public class CreateResourceIdentifier extends ProcessRunner {
|
public class CreateResourceIdentifier extends ProcessRunner {
|
||||||
|
|
||||||
|
|
|
@ -36,15 +36,15 @@ import org.eclipse.core.runtime.IProgressMonitor;
|
||||||
* A template process for setting an environment variable in all of the new project's
|
* A template process for setting an environment variable in all of the new project's
|
||||||
* build configurations. E.g.,
|
* build configurations. E.g.,
|
||||||
* <pre>
|
* <pre>
|
||||||
* <process type="org.eclipse.cdt.core.SetEnvironmentVariable">
|
* <process type="org.eclipse.cdt.core.SetEnvironmentVariable">
|
||||||
* <simple name="projectName" value="$(projectName)"/>
|
* <simple name="projectName" value="$(projectName)"/>
|
||||||
* <complex-array name="variables">
|
* <complex-array name="variables">
|
||||||
* <element>
|
* <element>
|
||||||
* <simple name="name" value="QMAKE"/>
|
* <simple name="name" value="QMAKE"/>
|
||||||
* <simple name="value" value="$(qmake)"/>
|
* <simple name="value" value="$(qmake)"/>
|
||||||
* </element>
|
* </element>
|
||||||
* </complex-array>
|
* </complex-array>
|
||||||
* </process>
|
* </process>
|
||||||
* </pre>
|
* </pre>
|
||||||
* This will create an environment variable called "QMAKE" and will set the value to
|
* This will create an environment variable called "QMAKE" and will set the value to
|
||||||
* be the value entered in a field (called qmake) in the New Project wizard.
|
* be the value entered in a field (called qmake) in the New Project wizard.
|
||||||
|
|
|
@ -50,11 +50,11 @@ public class CommandLineUtil {
|
||||||
* Parsing arguments in a shell style. i.e.
|
* Parsing arguments in a shell style. i.e.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* ["a b c" d] -> [[a b c],[d]]
|
* ["a b c" d] -> [[a b c],[d]]
|
||||||
* [a d] -> [[a],[d]]
|
* [a d] -> [[a],[d]]
|
||||||
* ['"quoted"'] -> [["quoted"]]
|
* ['"quoted"'] -> [["quoted"]]
|
||||||
* [\\ \" \a] -> [[\],["],[a]]
|
* [\\ \" \a] -> [[\],["],[a]]
|
||||||
* ["str\\str\a"] -> [[str\str\a]]
|
* ["str\\str\a"] -> [[str\str\a]]
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param line
|
* @param line
|
||||||
|
@ -166,11 +166,11 @@ public class CommandLineUtil {
|
||||||
* Parsing arguments in a cmd style. i.e.
|
* Parsing arguments in a cmd style. i.e.
|
||||||
*
|
*
|
||||||
* <pre>
|
* <pre>
|
||||||
* ["a b c" d] -> [[a b c],[d]]
|
* ["a b c" d] -> [[a b c],[d]]
|
||||||
* [a d] -> [[a],[d]]
|
* [a d] -> [[a],[d]]
|
||||||
* ['"quoted"'] -> [['quoted']]
|
* ['"quoted"'] -> [['quoted']]
|
||||||
* [\\ \" \a] -> [[\\],["],[\a]]
|
* [\\ \" \a] -> [[\\],["],[\a]]
|
||||||
* ["str\\str\a"] -> [[str\\str\a]]
|
* ["str\\str\a"] -> [[str\\str\a]]
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @param line
|
* @param line
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class CdtVariableResolver {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts list of strings to one string using given string as delimiter,
|
* Converts list of strings to one string using given string as delimiter,
|
||||||
* i.e -> "string1:string2:string3"
|
* i.e -> "string1:string2:string3"
|
||||||
*
|
*
|
||||||
* @param value - list of strings to convert.
|
* @param value - list of strings to convert.
|
||||||
* @param listDelimiter - delimiter.
|
* @param listDelimiter - delimiter.
|
||||||
|
|
Loading…
Add table
Reference in a new issue