Class AbstractCPPParserExtensionConfiguration
java.lang.Object
org.eclipse.cdt.core.dom.parser.cpp.AbstractCPPParserExtensionConfiguration
- All Implemented Interfaces:
ICPPParserExtensionConfiguration
- Direct Known Subclasses:
ANSICPPParserExtensionConfiguration,GPPParserExtensionConfiguration
public abstract class AbstractCPPParserExtensionConfiguration
extends Object
implements ICPPParserExtensionConfiguration
Abstract C++ parser extension configuration to help model C++ dialects.
- Since:
- 4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanSupport for GNU extension "Restricting Pointer Aliasing".Additional variants of context-sensitive keywords.Provide additional built-in bindings.booleanSupport for GNU extension "Inquiring on Alignment of Types or Variables".booleanSee http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.booleanSupport for GNU extension "Data types for complex numbers".booleanWin32 compiler extensions also supported by GCC on Win32booleanSupport additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'booleanSupport for GNU extension "Extended Syntax for Template Instantiation".booleanSupport function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'booleanbooleanSupport for GNU extension "Designated Initializers".booleanSupport for Kernighan and Richie (K&R) C.booleanSupport for GNU long long types.booleanbooleanSkips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);booleanbooleanSupport for GNU extension "Statements and Declarations in Expressions".booleanSupport for GNU extension "Referring to a Type with typeof".booleanSupport user-defined literal expressions: (char_expr | string_expr | int_expr | float_expr) ud-suffix
-
Constructor Details
-
AbstractCPPParserExtensionConfiguration
public AbstractCPPParserExtensionConfiguration()
-
-
Method Details
-
allowRestrictPointerOperators
public boolean allowRestrictPointerOperators()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Restricting Pointer Aliasing".- Specified by:
allowRestrictPointerOperatorsin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportAlignOfUnaryExpression
public boolean supportAlignOfUnaryExpression()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Inquiring on Alignment of Types or Variables".- Specified by:
supportAlignOfUnaryExpressionin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportAttributeSpecifiers
public boolean supportAttributeSpecifiers()Description copied from interface:ICPPParserExtensionConfigurationSee http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.- Specified by:
supportAttributeSpecifiersin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled
-
supportComplexNumbers
public boolean supportComplexNumbers()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Data types for complex numbers".- Specified by:
supportComplexNumbersin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportDeclspecSpecifiers
public boolean supportDeclspecSpecifiers()Description copied from interface:ICPPParserExtensionConfigurationWin32 compiler extensions also supported by GCC on Win32- Specified by:
supportDeclspecSpecifiersin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled
-
supportExtendedTemplateSyntax
public boolean supportExtendedTemplateSyntax()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Extended Syntax for Template Instantiation".- Specified by:
supportExtendedTemplateSyntaxin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportGCCOtherBuiltinSymbols
public boolean supportGCCOtherBuiltinSymbols()- Specified by:
supportGCCOtherBuiltinSymbolsin interfaceICPPParserExtensionConfiguration
-
supportGCCStyleDesignators
public boolean supportGCCStyleDesignators()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Designated Initializers".- Specified by:
supportGCCStyleDesignatorsin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- Since:
- 6.0
- See Also:
-
supportKnRC
public boolean supportKnRC()Description copied from interface:ICPPParserExtensionConfigurationSupport for Kernighan and Richie (K&R) C.- Specified by:
supportKnRCin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for K&R C should be enabled
-
supportLongLongs
public boolean supportLongLongs()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU long long types.- Specified by:
supportLongLongsin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportMinAndMaxOperators
public boolean supportMinAndMaxOperators()- Specified by:
supportMinAndMaxOperatorsin interfaceICPPParserExtensionConfiguration
-
supportRestrictKeyword
public boolean supportRestrictKeyword()- Specified by:
supportRestrictKeywordin interfaceICPPParserExtensionConfiguration
-
supportStatementsInExpressions
public boolean supportStatementsInExpressions()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Statements and Declarations in Expressions".- Specified by:
supportStatementsInExpressionsin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportTypeofUnaryExpressions
public boolean supportTypeofUnaryExpressions()Description copied from interface:ICPPParserExtensionConfigurationSupport for GNU extension "Referring to a Type with typeof".- Specified by:
supportTypeofUnaryExpressionsin interfaceICPPParserExtensionConfiguration- Returns:
trueif support for the extension should be enabled- See Also:
-
supportParameterInfoBlock
public boolean supportParameterInfoBlock()Description copied from interface:ICPPParserExtensionConfigurationSkips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);- Specified by:
supportParameterInfoBlockin interfaceICPPParserExtensionConfiguration- Since:
- 5.1
-
supportExtendedSizeofOperator
public boolean supportExtendedSizeofOperator()Description copied from interface:ICPPParserExtensionConfigurationSupport additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'- Specified by:
supportExtendedSizeofOperatorin interfaceICPPParserExtensionConfiguration- Since:
- 5.1
-
supportFunctionStyleAssembler
public boolean supportFunctionStyleAssembler()Description copied from interface:ICPPParserExtensionConfigurationSupport function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'- Specified by:
supportFunctionStyleAssemblerin interfaceICPPParserExtensionConfiguration- Since:
- 5.1
-
supportUserDefinedLiterals
public boolean supportUserDefinedLiterals()Description copied from interface:ICPPParserExtensionConfigurationSupport user-defined literal expressions: (char_expr | string_expr | int_expr | float_expr) ud-suffix- Specified by:
supportUserDefinedLiteralsin interfaceICPPParserExtensionConfiguration- Since:
- 5.11
-
getBuiltinBindingsProvider
Description copied from interface:ICPPParserExtensionConfigurationProvide additional built-in bindings.- Specified by:
getBuiltinBindingsProviderin interfaceICPPParserExtensionConfiguration- Returns:
- an instance of
IBuiltinBindingsProviderornull
-
getAdditionalContextSensitiveKeywords
Description copied from interface:ICPPParserExtensionConfigurationAdditional variants of context-sensitive keywords.- Specified by:
getAdditionalContextSensitiveKeywordsin interfaceICPPParserExtensionConfiguration- Since:
- 5.9
-