Interface ICPPParserExtensionConfiguration
-
- All Known Implementing Classes:
AbstractCPPParserExtensionConfiguration,ANSICPPParserExtensionConfiguration,GPPParserExtensionConfiguration,POPCPPParserExtensionConfiguration
public interface ICPPParserExtensionConfigurationC++ parser extension configuration interface.- Since:
- 4.0
- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html", "http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Extensions.html"
- 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanallowRestrictPointerOperators()Support for GNU extension "Restricting Pointer Aliasing".Map<String,IToken.ContextSensitiveTokenType>getAdditionalContextSensitiveKeywords()Additional variants of context-sensitive keywords.IBuiltinBindingsProvidergetBuiltinBindingsProvider()Provide additional built-in bindings.booleansupportAlignOfUnaryExpression()Support for GNU extension "Inquiring on Alignment of Types or Variables".booleansupportAttributeSpecifiers()See http://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html for more information on GCC's Attribute Specifiers.booleansupportComplexNumbers()Support for GNU extension "Data types for complex numbers".booleansupportDeclspecSpecifiers()Win32 compiler extensions also supported by GCC on Win32booleansupportExtendedSizeofOperator()Support additional parameters for the sizeof operator: 'sizeof' '(' typeid ',' expression-list ')'booleansupportExtendedTemplateSyntax()Support for GNU extension "Extended Syntax for Template Instantiation".booleansupportFunctionStyleAssembler()Support function style assembler definitions: 'asm' ['volatile'] [return-type] name '(' parameter-list ')' '{' assembler-code '}'booleansupportGCCOtherBuiltinSymbols()Deprecated.usegetBuiltinBindingsProvider()instead.booleansupportGCCStyleDesignators()Support for GNU extension "Designated Initializers".booleansupportKnRC()Support for Kernighan and Richie (K&R) C.booleansupportLongLongs()Support for GNU long long types.booleansupportMinAndMaxOperators()Deprecated.booleansupportParameterInfoBlock()Skips information in brackets provided at the beginning of a parameter declaration:
void accelerate([proc=marsh] const Speed &data);booleansupportRestrictKeyword()Deprecated.configure extra keywords, viaIScannerExtensionConfiguration.getAdditionalKeywords()booleansupportStatementsInExpressions()Support for GNU extension "Statements and Declarations in Expressions".booleansupportTypeofUnaryExpressions()Support for GNU extension "Referring to a Type with typeof".booleansupportUserDefinedLiterals()Support user-defined literal expressions: (char_expr | string_expr | int_expr | float_expr) ud-suffix
-
-
-
Method Detail
-
allowRestrictPointerOperators
boolean allowRestrictPointerOperators()
Support for GNU extension "Restricting Pointer Aliasing".- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Restricted-Pointers.html"
-
supportExtendedTemplateSyntax
boolean supportExtendedTemplateSyntax()
Support for GNU extension "Extended Syntax for Template Instantiation".- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html"
-
supportComplexNumbers
boolean supportComplexNumbers()
Support for GNU extension "Data types for complex numbers".- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Complex.html#Complex"
-
supportLongLongs
boolean supportLongLongs()
Support for GNU long long types.- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Long-Long.html"
-
supportStatementsInExpressions
boolean supportStatementsInExpressions()
Support for GNU extension "Statements and Declarations in Expressions".- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html"
-
supportTypeofUnaryExpressions
boolean supportTypeofUnaryExpressions()
Support for GNU extension "Referring to a Type with typeof".- Returns:
trueif support for the extension should be enabled- See Also:
- "http://gcc.gnu.org/onlinedocs/gcc/Typeof.html"
-
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:
- "http://gcc.gnu.org/onlinedocs/gcc/Alignment.html"
-
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:
- "http://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html"
-
supportGCCOtherBuiltinSymbols
@Deprecated boolean supportGCCOtherBuiltinSymbols()
Deprecated.usegetBuiltinBindingsProvider()instead.- Restriction:
- This method is not intended to be referenced by clients.
-
supportMinAndMaxOperators
@Deprecated boolean supportMinAndMaxOperators()
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
supportRestrictKeyword
@Deprecated boolean supportRestrictKeyword()
Deprecated.configure extra keywords, viaIScannerExtensionConfiguration.getAdditionalKeywords()- Restriction:
- This method is not intended to be referenced by clients.
-
-