public interface IGCCASTArrayRangeDesignator extends ICASTDesignator
IASTNode.CopyStyle
Modifier and Type | Field and Description |
---|---|
static ASTNodeProperty |
SUBSCRIPT_CEILING_EXPRESSION
SUSBCRIPT_CEILING_EXPRESSION represents the higher value
in the range of expressions. |
static ASTNodeProperty |
SUBSCRIPT_FLOOR_EXPRESSION
SUSBCRIPT_FLOOR_EXPRESSION represents the lower value in
the range of expressions. |
EMPTY_NODE_ARRAY
Modifier and Type | Method and Description |
---|---|
IGCCASTArrayRangeDesignator |
copy()
Returns a mutable copy of the tree rooted at this node.
|
IGCCASTArrayRangeDesignator |
copy(IASTNode.CopyStyle style)
Returns a mutable copy of the tree rooted at this node.
|
IASTExpression |
getRangeCeiling()
Get the range ceiling expression.
|
IASTExpression |
getRangeFloor()
Get the floor expression of the range.
|
void |
setRangeCeiling(IASTExpression expression)
Set the ceiling expression of the range.
|
void |
setRangeFloor(IASTExpression expression)
Set the floor expression of the range.
|
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static final ASTNodeProperty SUBSCRIPT_FLOOR_EXPRESSION
SUSBCRIPT_FLOOR_EXPRESSION
represents the lower value in
the range of expressions.static final ASTNodeProperty SUBSCRIPT_CEILING_EXPRESSION
SUSBCRIPT_CEILING_EXPRESSION
represents the higher value
in the range of expressions.IASTExpression getRangeFloor()
IASTExpression
void setRangeFloor(IASTExpression expression)
expression
- IASTExpression
IASTExpression getRangeCeiling()
IASTExpression
void setRangeCeiling(IASTExpression expression)
expression
- IASTExpression
IGCCASTArrayRangeDesignator copy()
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor 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)
.
copy
in interface IASTNode
copy
in interface ICASTDesignator
IGCCASTArrayRangeDesignator copy(IASTNode.CopyStyle style)
IASTNode
copy.getParent() == null copy.getPropertyInParent() == null copy.isFrozen() == falsePreprocessor nodes do not currently support being copied. Implicit name nodes are not copied, instead they can be regenerated if required.
copy
in interface IASTNode
copy
in interface ICASTDesignator
style
- IASTNode.CopyStyle
create a copy with or without locations. Please see
IASTNode.CopyStyle
for restrictions on copies with Locations.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.