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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Support for GNU extension "Restricting Pointer Aliasing".Additional variants of context-sensitive keywords.Provide additional built-in bindings.boolean
Support for GNU extension "Inquiring on Alignment of Types or Variables".boolean
See http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.boolean
Support for GNU extension "Data types for complex numbers".boolean
Win32 compiler extensions also supported by GCC on Win32boolean
Support additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'boolean
Support for GNU extension "Extended Syntax for Template Instantiation".boolean
Support function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'boolean
boolean
Support for GNU extension "Designated Initializers".boolean
Support for Kernighan and Richie (K&R) C.boolean
Support for GNU long long types.boolean
boolean
Skips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);boolean
boolean
Support for GNU extension "Statements and Declarations in Expressions".boolean
Support for GNU extension "Referring to a Type with typeof".boolean
Support 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:ICPPParserExtensionConfiguration
Support for GNU extension "Restricting Pointer Aliasing".- Specified by:
allowRestrictPointerOperators
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html"
-
supportAlignOfUnaryExpression
public boolean supportAlignOfUnaryExpression()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Inquiring on Alignment of Types or Variables".- Specified by:
supportAlignOfUnaryExpression
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Alignment.html"
-
supportAttributeSpecifiers
public boolean supportAttributeSpecifiers()Description copied from interface:ICPPParserExtensionConfiguration
See http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.- Specified by:
supportAttributeSpecifiers
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled
-
supportComplexNumbers
public boolean supportComplexNumbers()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Data types for complex numbers".- Specified by:
supportComplexNumbers
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex"
-
supportDeclspecSpecifiers
public boolean supportDeclspecSpecifiers()Description copied from interface:ICPPParserExtensionConfiguration
Win32 compiler extensions also supported by GCC on Win32- Specified by:
supportDeclspecSpecifiers
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled
-
supportExtendedTemplateSyntax
public boolean supportExtendedTemplateSyntax()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Extended Syntax for Template Instantiation".- Specified by:
supportExtendedTemplateSyntax
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html"
-
supportGCCOtherBuiltinSymbols
public boolean supportGCCOtherBuiltinSymbols()- Specified by:
supportGCCOtherBuiltinSymbols
in interfaceICPPParserExtensionConfiguration
-
supportGCCStyleDesignators
public boolean supportGCCStyleDesignators()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Designated Initializers".- Specified by:
supportGCCStyleDesignators
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- Since:
- 6.0
- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html"
-
supportKnRC
public boolean supportKnRC()Description copied from interface:ICPPParserExtensionConfiguration
Support for Kernighan and Richie (K&R) C.- Specified by:
supportKnRC
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for K&R C should be enabled
-
supportLongLongs
public boolean supportLongLongs()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU long long types.- Specified by:
supportLongLongs
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Long-Long.html"
-
supportMinAndMaxOperators
public boolean supportMinAndMaxOperators()- Specified by:
supportMinAndMaxOperators
in interfaceICPPParserExtensionConfiguration
-
supportRestrictKeyword
public boolean supportRestrictKeyword()- Specified by:
supportRestrictKeyword
in interfaceICPPParserExtensionConfiguration
-
supportStatementsInExpressions
public boolean supportStatementsInExpressions()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Statements and Declarations in Expressions".- Specified by:
supportStatementsInExpressions
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html"
-
supportTypeofUnaryExpressions
public boolean supportTypeofUnaryExpressions()Description copied from interface:ICPPParserExtensionConfiguration
Support for GNU extension "Referring to a Type with typeof".- Specified by:
supportTypeofUnaryExpressions
in interfaceICPPParserExtensionConfiguration
- Returns:
true
if support for the extension should be enabled- See Also:
-
- "http://gcc.gnu.org/onlinedocs/gcc/Typeof.html"
-
supportParameterInfoBlock
public boolean supportParameterInfoBlock()Description copied from interface:ICPPParserExtensionConfiguration
Skips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);- Specified by:
supportParameterInfoBlock
in interfaceICPPParserExtensionConfiguration
- Since:
- 5.1
-
supportExtendedSizeofOperator
public boolean supportExtendedSizeofOperator()Description copied from interface:ICPPParserExtensionConfiguration
Support additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'- Specified by:
supportExtendedSizeofOperator
in interfaceICPPParserExtensionConfiguration
- Since:
- 5.1
-
supportFunctionStyleAssembler
public boolean supportFunctionStyleAssembler()Description copied from interface:ICPPParserExtensionConfiguration
Support function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'- Specified by:
supportFunctionStyleAssembler
in interfaceICPPParserExtensionConfiguration
- Since:
- 5.1
-
supportUserDefinedLiterals
public boolean supportUserDefinedLiterals()Description copied from interface:ICPPParserExtensionConfiguration
Support user-defined literal expressions: (char_expr | string_expr | int_expr | float_expr) ud-suffix- Specified by:
supportUserDefinedLiterals
in interfaceICPPParserExtensionConfiguration
- Since:
- 5.11
-
getBuiltinBindingsProvider
Description copied from interface:ICPPParserExtensionConfiguration
Provide additional built-in bindings.- Specified by:
getBuiltinBindingsProvider
in interfaceICPPParserExtensionConfiguration
- Returns:
- an instance of
IBuiltinBindingsProvider
ornull
-
getAdditionalContextSensitiveKeywords
Description copied from interface:ICPPParserExtensionConfiguration
Additional variants of context-sensitive keywords.- Specified by:
getAdditionalContextSensitiveKeywords
in interfaceICPPParserExtensionConfiguration
- Since:
- 5.9
-