Interface ICPPParserExtensionConfiguration
- All Known Implementing Classes:
AbstractCPPParserExtensionConfiguration,ANSICPPParserExtensionConfiguration,GPPParserExtensionConfiguration,POPCPPParserExtensionConfiguration
public interface ICPPParserExtensionConfiguration
C++ parser extension configuration interface.
- Since:
- 4.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
Clients can subclass
AbstractCPPParserExtensionConfigurationinstead. - Restriction:
- This interface is not intended to be extended by clients.
-
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 '}'booleanDeprecated.booleanSupport for GNU extension "Designated Initializers".booleanSupport for Kernighan and Richie (K&R) C.booleanSupport for GNU long long types.booleanDeprecated.booleanSkips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);booleanDeprecated.configure extra keywords, viaIScannerExtensionConfiguration.getAdditionalKeywords()booleanSupport 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
-
Method Details
-
allowRestrictPointerOperators
boolean allowRestrictPointerOperators()Support for GNU extension "Restricting Pointer Aliasing".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportExtendedTemplateSyntax
boolean supportExtendedTemplateSyntax()Support for GNU extension "Extended Syntax for Template Instantiation".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportComplexNumbers
boolean supportComplexNumbers()Support for GNU extension "Data types for complex numbers".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportLongLongs
boolean supportLongLongs()Support for GNU long long types.- Returns:
trueif support for the extension should be enabled- See Also:
-
supportStatementsInExpressions
boolean supportStatementsInExpressions()Support for GNU extension "Statements and Declarations in Expressions".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportTypeofUnaryExpressions
boolean supportTypeofUnaryExpressions()Support for GNU extension "Referring to a Type with typeof".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportAlignOfUnaryExpression
boolean supportAlignOfUnaryExpression()Support for GNU extension "Inquiring on Alignment of Types or Variables".- Returns:
trueif support for the extension should be enabled- See Also:
-
supportKnRC
boolean supportKnRC()Support for Kernighan and Richie (K&R) C.- Returns:
trueif support for K&R C should be enabled
-
supportAttributeSpecifiers
boolean supportAttributeSpecifiers()See http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.- Returns:
trueif support for the extension should be enabled
-
supportDeclspecSpecifiers
boolean supportDeclspecSpecifiers()Win32 compiler extensions also supported by GCC on Win32- Returns:
trueif support for the extension should be enabled
-
getBuiltinBindingsProvider
IBuiltinBindingsProvider getBuiltinBindingsProvider()Provide additional built-in bindings.- Returns:
- an instance of
IBuiltinBindingsProviderornull
-
supportParameterInfoBlock
boolean supportParameterInfoBlock()Skips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);- Since:
- 5.1
-
supportExtendedSizeofOperator
boolean supportExtendedSizeofOperator()Support additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'- Since:
- 5.1
-
supportFunctionStyleAssembler
boolean supportFunctionStyleAssembler()Support function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'- Since:
- 5.1
-
supportUserDefinedLiterals
boolean supportUserDefinedLiterals()Support user-defined literal expressions: (char_expr | string_expr | int_expr | float_expr) ud-suffix- Since:
- 5.11
-
getAdditionalContextSensitiveKeywords
Map<String,IToken.ContextSensitiveTokenType> getAdditionalContextSensitiveKeywords()Additional variants of context-sensitive keywords.- Since:
- 5.9
-
supportGCCStyleDesignators
boolean supportGCCStyleDesignators()Support for GNU extension "Designated Initializers".- Returns:
trueif support for the extension should be enabled- Since:
- 6.0
- See Also:
-
supportGCCOtherBuiltinSymbols
Deprecated.usegetBuiltinBindingsProvider()instead.- Restriction:
- This method is not intended to be referenced by clients.
-
supportMinAndMaxOperators
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
supportRestrictKeyword
Deprecated.configure extra keywords, viaIScannerExtensionConfiguration.getAdditionalKeywords()- Restriction:
- This method is not intended to be referenced by clients.
-
getBuiltinBindingsProvider()instead.