Interface ICPPASTNaryTypeIdExpression
- All Superinterfaces:
IASTExpression, IASTImplicitDestructorNameOwner, IASTInitializerClause, IASTNode, ICPPASTExpression, ICPPASTInitializerClause
A type-id expression with any number of arguments.
Example: __is_trivially_constructible(MyClass, int, float)
- Since:
- 6.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface IASTExpression
IASTExpression.ValueCategoryNested classes/interfaces inherited from interface IASTNode
IASTNode.CopyStyle -
Field Summary
FieldsFields inherited from interface IASTExpression
EMPTY_EXPRESSION_ARRAYFields inherited from interface IASTImplicitDestructorNameOwner
IMPLICIT_DESTRUCTOR_NAMEFields inherited from interface IASTNode
EMPTY_NODE_ARRAY -
Method Summary
Modifier and TypeMethodDescriptioncopy()Returns a mutable copy of the tree rooted at this node.copy(IASTNode.CopyStyle style) Returns a mutable copy of the tree rooted at this node.Returns the operands of the expression.Returns the operator of the expression.Methods inherited from interface IASTExpression
getExpressionType, getValueCategory, isLValueMethods inherited from interface IASTImplicitDestructorNameOwner
getImplicitDestructorNamesMethods inherited from interface IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentMethods inherited from interface ICPPASTInitializerClause
getEvaluation
-
Field Details
-
OPERAND
-
-
Method Details
-
getOperator
ICPPASTNaryTypeIdExpression.Operator getOperator()Returns the operator of the expression. -
getOperands
ICPPASTTypeId[] getOperands()Returns the operands of the expression. -
copy
ICPPASTNaryTypeIdExpression copy()Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold:copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == false
Preprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.Calling this method is equivalent to
copy(CopyStyle.withoutLocations).- Specified by:
copyin interfaceIASTExpression- Specified by:
copyin interfaceIASTInitializerClause- Specified by:
copyin interfaceIASTNode
-
copy
Description copied from interface:IASTNodeReturns a mutable copy of the tree rooted at this node. The following postconditions hold:copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == false
Preprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.- Specified by:
copyin interfaceIASTExpression- Specified by:
copyin interfaceIASTInitializerClause- Specified by:
copyin interfaceIASTNode- Parameters:
style-IASTNode.CopyStylecreate a copy with or without locations. Please seeIASTNode.CopyStylefor restrictions on copies with Locations.
-