Modifier and Type | Interface and Description |
---|---|
interface |
IASTArraySubscriptExpression
This interface represents a postfix array subscript expression. x[10]
y.z()[t * t]
|
interface |
IASTBinaryExpression
This interface represents a binary expression.
|
interface |
IASTBinaryTypeIdExpression |
interface |
IASTCastExpression
This interface represents a cast expression of the form (TypeId)operand.
|
interface |
IASTConditionalExpression
Conditional Expression of the format X ?
|
interface |
IASTExpressionList
Expression list (comma separated list of expressions).
|
interface |
IASTFieldReference
This interface represents expressions that access a field reference. e.g. a.b => a
is the expression, b is the field name. e.g. a()->def => a() is the
expression, def is the field name.
|
interface |
IASTFunctionCallExpression
Represents a function call expression, f(x), where f is the function name expression
and x is the parameter expression.
|
interface |
IASTIdExpression
This is a name used in an expression.
|
interface |
IASTLiteralExpression
This expression represents a literal in the program.
|
interface |
IASTProblemExpression
This interface represents a parse problem where we tried to match against
an expression.
|
interface |
IASTTypeIdExpression |
interface |
IASTTypeIdInitializerExpression
Compound literal: type-id { initializer }
|
interface |
IASTUnaryExpression
This interface is used to represent a unary expression in the AST.
|
Modifier and Type | Field and Description |
---|---|
static IASTExpression[] |
IASTExpression.EMPTY_EXPRESSION_ARRAY
Empty expression array.
|
Modifier and Type | Method and Description |
---|---|
IASTExpression |
IASTExpression.copy() |
IASTExpression |
IASTExpression.copy(IASTNode.CopyStyle style) |
IASTExpression |
IASTArraySubscriptExpression.getArrayExpression()
Get the expression that represents the array
|
IASTExpression |
IArrayType.getArraySizeExpression()
Deprecated.
Replaced by
IArrayType.getSize() . |
IASTExpression |
IASTFieldDeclarator.getBitFieldSize()
Returns the number of bits if this is a bit field, otherwise
null . |
IASTExpression |
IASTWhileStatement.getCondition()
Returns the condition on the while loop
|
IASTExpression |
IASTDoStatement.getCondition()
The condition on the loop.
|
IASTExpression |
IASTIfStatement.getConditionExpression()
Returns the condition in the if statement.
|
IASTExpression |
IASTForStatement.getConditionExpression()
Returns the condition expression for the loop.
|
IASTExpression |
IASTArrayModifier.getConstantExpression()
Get the constant expression that represents the size of the array.
|
IASTExpression |
IASTSwitchStatement.getControllerExpression()
This returns the expression which determines which case to take.
|
IASTExpression |
IASTSimpleDeclSpecifier.getDeclTypeExpression()
Returns the expression for simple declaration specifiers of type
IASTSimpleDeclSpecifier.t_decltype or IASTSimpleDeclSpecifier.t_typeof . |
IASTExpression |
IASTInitializerExpression.getExpression()
Deprecated.
Get the expression for the initializer.
|
IASTExpression |
IASTExpressionStatement.getExpression()
Get the expression in this statement.
|
IASTExpression |
IASTCaseStatement.getExpression()
The expression that determines whether this case should be taken.
|
IASTExpression |
IASTAlignmentSpecifier.getExpression()
If the specifier is of the form 'alignas(
|
IASTExpression[] |
IASTExpressionList.getExpressions()
Returns nested expressions.
|
IASTExpression |
IASTFieldReference.getFieldOwner()
Returns an expression for the object containing the field.
|
IASTExpression |
IASTFunctionCallExpression.getFunctionNameExpression()
Returns the function name expression.
|
IASTExpression |
IASTForStatement.getIterationExpression()
Returns the expression that is evaluated after the completion of an iteration of the loop.
|
IASTExpression |
IASTConditionalExpression.getLogicalConditionExpression()
Get the logical condition expression.
|
IASTExpression |
IASTConditionalExpression.getNegativeResultExpression()
Get the negative result expression.
|
IASTExpression |
IASTUnaryExpression.getOperand()
Returns the operand.
|
IASTExpression |
IASTCastExpression.getOperand()
Get expression being cast.
|
IASTExpression |
IASTBinaryExpression.getOperand1()
Get the first operand.
|
IASTExpression |
IASTBinaryExpression.getOperand2()
Get the second operand.
|
IASTExpression |
IASTConditionalExpression.getPositiveResultExpression()
Get the positive result expression, or
null in case the positive condition was omitted (this is
a gcc extension). |
IASTExpression |
IASTReturnStatement.getReturnValue()
This is the optional return value for this function.
|
IASTExpression |
IASTArraySubscriptExpression.getSubscriptExpression()
Deprecated.
Replaced by
IASTArraySubscriptExpression.getArgument() |
IASTExpression |
IBasicType.getValue()
Deprecated.
Types don't have values.
|
IASTExpression |
IASTEnumerationSpecifier.IASTEnumerator.getValue()
Returns enumerator value.
|
Modifier and Type | Method and Description |
---|---|
void |
IASTExpressionList.addExpression(IASTExpression expression)
Adds nested expression.
|
static java.lang.String |
ASTSignatureUtil.getExpressionString(IASTExpression expression)
Deprecated.
Return a string representation for the given IASTExpression.
|
int |
ASTVisitor.leave(IASTExpression expression) |
int |
ASTGenericVisitor.leave(IASTExpression expression) |
IASTAlignmentSpecifier |
INodeFactory.newAlignmentSpecifier(IASTExpression expression) |
IASTArrayModifier |
INodeFactory.newArrayModifier(IASTExpression expr) |
IASTArraySubscriptExpression |
INodeFactory.newArraySubscriptExpression(IASTExpression arrayExpr,
IASTExpression subscript) |
IASTBinaryExpression |
INodeFactory.newBinaryExpression(int op,
IASTExpression expr1,
IASTExpression expr2) |
IASTCaseStatement |
INodeFactory.newCaseStatement(IASTExpression expr) |
IASTCastExpression |
INodeFactory.newCastExpression(int operator,
IASTTypeId typeId,
IASTExpression operand) |
IASTConditionalExpression |
INodeFactory.newConditionalExpession(IASTExpression condition,
IASTExpression positive,
IASTExpression negative) |
IASTDoStatement |
INodeFactory.newDoStatement(IASTStatement body,
IASTExpression condition) |
IASTEnumerationSpecifier.IASTEnumerator |
INodeFactory.newEnumerator(IASTName name,
IASTExpression value) |
IASTExpressionStatement |
INodeFactory.newExpressionStatement(IASTExpression expression) |
IASTFieldDeclarator |
INodeFactory.newFieldDeclarator(IASTName name,
IASTExpression bitFieldSize) |
IASTFieldReference |
INodeFactory.newFieldReference(IASTName name,
IASTExpression owner) |
IASTForStatement |
INodeFactory.newForStatement(IASTStatement init,
IASTExpression condition,
IASTExpression iterationExpression,
IASTStatement body) |
IASTFunctionCallExpression |
INodeFactory.newFunctionCallExpression(IASTExpression idExpr,
IASTExpression argList)
Deprecated.
|
IASTFunctionCallExpression |
INodeFactory.newFunctionCallExpression(IASTExpression idExpr,
IASTInitializerClause[] arguments) |
IASTStatement |
INodeFactory.newGotoStatement(IASTExpression expression) |
IASTIfStatement |
INodeFactory.newIfStatement(IASTExpression condition,
IASTStatement then,
IASTStatement elseClause) |
IASTInitializerExpression |
INodeFactory.newInitializerExpression(IASTExpression expression)
Deprecated.
|
IASTReturnStatement |
INodeFactory.newReturnStatement(IASTExpression retValue) |
IASTSwitchStatement |
INodeFactory.newSwitchStatement(IASTExpression controller,
IASTStatement body) |
IASTUnaryExpression |
INodeFactory.newUnaryExpression(int operator,
IASTExpression operand) |
IASTWhileStatement |
INodeFactory.newWhileStatement(IASTExpression condition,
IASTStatement body) |
void |
IASTArraySubscriptExpression.setArrayExpression(IASTExpression expression)
Set the expression that represents the array.
|
void |
IASTFieldDeclarator.setBitFieldSize(IASTExpression size)
Sets the bitfield size.
|
void |
IASTWhileStatement.setCondition(IASTExpression condition)
Sets the condition of the while loop.
|
void |
IASTDoStatement.setCondition(IASTExpression condition)
Sets the condition for the loop.
|
void |
IASTIfStatement.setConditionExpression(IASTExpression condition)
Sets the condition in the if statement.
|
void |
IASTForStatement.setConditionExpression(IASTExpression condition)
Sets the condition expression for the loop.
|
void |
IASTArrayModifier.setConstantExpression(IASTExpression expression)
Set the constant expression that represents the size of the array.
|
void |
IASTSwitchStatement.setControllerExpression(IASTExpression controller)
Set the controlling expression for the switch.
|
void |
IASTSimpleDeclSpecifier.setDeclTypeExpression(IASTExpression expression)
Not allowed on frozen ast.
|
void |
IASTInitializerExpression.setExpression(IASTExpression expression)
Deprecated.
Set the initializer's expression.
|
void |
IASTExpressionStatement.setExpression(IASTExpression expression)
Set the expression statement.
|
void |
IASTCaseStatement.setExpression(IASTExpression expression)
Set the expression.
|
void |
IASTFieldReference.setFieldOwner(IASTExpression expression)
Sets the expression for the object containing the field.
|
void |
IASTFunctionCallExpression.setFunctionNameExpression(IASTExpression expression)
Sets the function name expression.
|
void |
IASTForStatement.setIterationExpression(IASTExpression iterator)
Sets the expression that is evaluated after the completion of an iteration of the loop.
|
void |
IASTConditionalExpression.setLogicalConditionExpression(IASTExpression expression)
Set the logical condition expression.
|
void |
IASTConditionalExpression.setNegativeResultExpression(IASTExpression expression)
Set negative result expression.
|
void |
IASTUnaryExpression.setOperand(IASTExpression expression)
Sets the operand.
|
void |
IASTCastExpression.setOperand(IASTExpression expression)
Set the expression being cast.
|
void |
IASTBinaryExpression.setOperand1(IASTExpression expression)
Set the first operand.
|
void |
IASTBinaryExpression.setOperand2(IASTExpression expression) |
void |
IASTConditionalExpression.setPositiveResultExpression(IASTExpression expression)
Set positive result expression.
|
void |
IASTReturnStatement.setReturnValue(IASTExpression returnValue)
Not allowed on frozen AST.
|
void |
IASTArraySubscriptExpression.setSubscriptExpression(IASTExpression expression)
Deprecated.
|
void |
IASTEnumerationSpecifier.IASTEnumerator.setValue(IASTExpression expression)
Sets enumerator value.
|
int |
ASTVisitor.visit(IASTExpression expression) |
int |
ASTGenericVisitor.visit(IASTExpression expression) |
Modifier and Type | Interface and Description |
---|---|
interface |
ICASTTypeIdInitializerExpression
C Expression of the format type-id { initializer }
GCC allows compound literals for c++, therefore the interface was moved to the common
ast interfaces (
IASTTypeIdInitializerExpression ). |
Modifier and Type | Method and Description |
---|---|
IASTExpression |
ICASTArrayDesignator.getSubscriptExpression()
Get the subsript expression.
|
Modifier and Type | Method and Description |
---|---|
ICASTArrayDesignator |
ICNodeFactory.newArrayDesignator(IASTExpression exp) |
ICASTArrayModifier |
ICNodeFactory.newArrayModifier(IASTExpression expr) |
IGCCASTArrayRangeDesignator |
ICNodeFactory.newArrayRangeDesignatorGCC(IASTExpression floor,
IASTExpression ceiling) |
IGCCASTSimpleDeclSpecifier |
ICNodeFactory.newSimpleDeclSpecifierGCC(IASTExpression typeofExpression)
Deprecated.
Replaced by
ICNodeFactory.newSimpleDeclSpecifier() |
void |
ICASTArrayDesignator.setSubscriptExpression(IASTExpression value)
Set the subscript expression.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICPPASTArraySubscriptExpression |
interface |
ICPPASTBinaryExpression
C++ adds a few more binary expressions over C.
|
interface |
ICPPASTCastExpression
C++ adds in additional cast-style expressions.
|
interface |
ICPPASTDeleteExpression
This interface represents a delete expression. delete [] operand;
|
interface |
ICPPASTExpression
Interface for C++ expressions.
|
interface |
ICPPASTExpressionList |
interface |
ICPPASTFieldReference
Certain field references in C++ require the use the keyword template to
specify the parse.
|
interface |
ICPPASTFunctionCallExpression |
interface |
ICPPASTLambdaExpression
Lambda expression, introduced in C++11.
|
interface |
ICPPASTLiteralExpression
C++ adds additional literal types to primary expression.
|
interface |
ICPPASTNaryTypeIdExpression
A type-id expression with any number of arguments.
|
interface |
ICPPASTNewExpression
This interface represents a new expression.
|
interface |
ICPPASTPackExpansionExpression
Pack expansion as it can occur as an element in an expression-lists or as a
non-type template argument.
|
interface |
ICPPASTSimpleTypeConstructorExpression
Functional cast expressions:
simple-type-specifier (expression-list?)
|
interface |
ICPPASTTypeIdExpression |
interface |
ICPPASTTypenameExpression
Deprecated.
Unified with
ICPPASTSimpleTypeConstructorExpression . |
interface |
ICPPASTUnaryExpression |
Modifier and Type | Method and Description |
---|---|
IASTExpression |
ICPPASTStaticAssertDeclaration.getCondition()
Returns the condition of the assertion
|
IASTExpression |
ICPPTemplateNonTypeParameter.getDefault()
Deprecated.
|
IASTExpression |
ICPPASTTemplatedTypeTemplateParameter.getDefaultValue()
Get default value for template template parameter or
null . |
IASTExpression |
ICPPASTConstructorInitializer.getExpression()
Deprecated.
Replaced by
ICPPASTConstructorInitializer.getArguments() . |
IASTExpression |
ICPPASTConstructorChainInitializer.getInitializerValue()
Deprecated.
Replaced by
ICPPASTConstructorChainInitializer.getInitializer() . |
IASTExpression |
ICPPASTTypenameExpression.getInitialValue()
Deprecated.
Get initial value.
|
IASTExpression |
ICPPASTSimpleTypeConstructorExpression.getInitialValue()
Deprecated.
|
IASTExpression |
ICPPASTNewExpression.getNewInitializer()
Deprecated.
Replaced by
ICPPASTNewExpression.getInitializer() |
IASTExpression |
ICPPASTNewExpression.getNewPlacement()
Deprecated.
Replaced by
ICPPASTNewExpression.getPlacementArguments() |
IASTExpression[] |
ICPPASTNewExpression.getNewTypeIdArrayExpressions()
Deprecated.
the id-expressions are part of the type-id.
|
IASTExpression |
ICPPASTDeleteExpression.getOperand()
Get the operand.
|
IASTExpression |
ICPPASTPackExpansionExpression.getPattern()
Returns the pattern of the pack expansion.
|
IASTExpression |
ICPPNodeFactory.newBinaryTypeIdExpression(IASTBinaryTypeIdExpression.Operator op,
IASTTypeId type1,
IASTTypeId type2) |
Modifier and Type | Method and Description |
---|---|
void |
ICPPASTAmbiguousTemplateArgument.addExpression(IASTExpression expression)
Add an partial parse tree that could be a suitable subtree representing
the template argument
|
void |
ICPPASTAmbiguousTemplateArgument.addIdExpression(IASTExpression idExpression)
Deprecated.
|
void |
ICPPASTNewExpression.addNewTypeIdArrayExpression(IASTExpression expression)
Deprecated.
the id-expressions are part of the type-id
|
void |
ICPPASTTemplateId.addTemplateArgument(IASTExpression expression)
Adds a template argument.
|
ICPPASTArraySubscriptExpression |
ICPPNodeFactory.newArraySubscriptExpression(IASTExpression arrayExpr,
IASTExpression subscript) |
ICPPASTArraySubscriptExpression |
ICPPNodeFactory.newArraySubscriptExpression(IASTExpression arrayExpr,
IASTInitializerClause subscript) |
ICPPASTBinaryExpression |
ICPPNodeFactory.newBinaryExpression(int op,
IASTExpression expr1,
IASTExpression expr2) |
ICPPASTBinaryExpression |
ICPPNodeFactory.newBinaryExpression(int op,
IASTExpression expr1,
IASTInitializerClause expr2) |
ICPPASTCastExpression |
ICPPNodeFactory.newCastExpression(int operator,
IASTTypeId typeId,
IASTExpression operand) |
ICPPASTConstructorChainInitializer |
ICPPNodeFactory.newConstructorChainInitializer(IASTName memberInitializerId,
IASTExpression initializerValue)
Deprecated.
|
ICPPASTConstructorInitializer |
ICPPNodeFactory.newConstructorInitializer(IASTExpression exp)
Deprecated.
|
ICPPASTDeleteExpression |
ICPPNodeFactory.newDeleteExpression(IASTExpression operand) |
ICPPASTFieldDeclarator |
ICPPNodeFactory.newFieldDeclarator(IASTName name,
IASTExpression bitFieldSize) |
ICPPASTFieldReference |
ICPPNodeFactory.newFieldReference(IASTName name,
IASTExpression owner) |
ICPPASTForStatement |
ICPPNodeFactory.newForStatement(IASTStatement init,
IASTDeclaration condition,
IASTExpression iterationExpression,
IASTStatement body) |
ICPPASTForStatement |
ICPPNodeFactory.newForStatement(IASTStatement init,
IASTExpression condition,
IASTExpression iterationExpression,
IASTStatement body) |
ICPPASTFunctionCallExpression |
ICPPNodeFactory.newFunctionCallExpression(IASTExpression idExpr,
IASTExpression argList)
Deprecated.
|
ICPPASTFunctionCallExpression |
ICPPNodeFactory.newFunctionCallExpression(IASTExpression idExpr,
IASTInitializerClause[] arguments) |
ICPPASTIfStatement |
ICPPNodeFactory.newIfStatement(IASTExpression condition,
IASTStatement then,
IASTStatement elseClause) |
ICPPASTNewExpression |
ICPPNodeFactory.newNewExpression(IASTExpression placement,
IASTExpression initializer,
IASTTypeId typeId)
Deprecated.
|
ICPPASTPackExpansionExpression |
ICPPNodeFactory.newPackExpansionExpression(IASTExpression pattern)
Creates a new pack expansion expression for the given pattern.
|
ICPPASTStaticAssertDeclaration |
ICPPNodeFactory.newStaticAssertion(IASTExpression condition,
ICPPASTLiteralExpression message)
Creates a new static assertion declaration with the given condition and message.
|
ICPPASTSwitchStatement |
ICPPNodeFactory.newSwitchStatement(IASTExpression controlloer,
IASTStatement body) |
ICPPASTTemplatedTypeTemplateParameter |
ICPPNodeFactory.newTemplatedTypeTemplateParameter(IASTName name,
IASTExpression defaultValue) |
ICPPASTTypenameExpression |
ICPPNodeFactory.newTypenameExpression(IASTName qualifiedName,
IASTExpression expr,
boolean isTemplate)
Deprecated.
|
ICPPASTUnaryExpression |
ICPPNodeFactory.newUnaryExpression(int operator,
IASTExpression operand) |
ICPPASTWhileStatement |
ICPPNodeFactory.newWhileStatement(IASTExpression condition,
IASTStatement body) |
void |
ICPPASTTemplatedTypeTemplateParameter.setDefaultValue(IASTExpression expression)
Set default value for the template template parameter.
|
void |
ICPPASTConstructorInitializer.setExpression(IASTExpression expression)
Deprecated.
|
void |
ICPPASTConstructorChainInitializer.setInitializerValue(IASTExpression expression)
Deprecated.
|
void |
ICPPASTTypenameExpression.setInitialValue(IASTExpression expressionList)
Deprecated.
Set initial value.
|
void |
ICPPASTSimpleTypeConstructorExpression.setInitialValue(IASTExpression expression)
Deprecated.
|
void |
ICPPASTNewExpression.setNewInitializer(IASTExpression expression)
Deprecated.
|
void |
ICPPASTNewExpression.setNewPlacement(IASTExpression expression)
Deprecated.
|
void |
ICPPASTDeleteExpression.setOperand(IASTExpression expression) |
void |
ICPPASTPackExpansionExpression.setPattern(IASTExpression left)
Sets the pattern of the pack expansion expression.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IGNUASTCompoundStatementExpression
There are GNU language extensions that apply to both GCC and G++.
|
interface |
IGNUASTTypeIdExpression
Deprecated.
Use
IASTTypeIdExpression , instead. |
interface |
IGNUASTUnaryExpression
Deprecated.
Replaced by
IASTUnaryExpression . |
Modifier and Type | Method and Description |
---|---|
IASTExpression |
IGNUASTGotoStatement.getLabelNameExpression()
Returns the label-name expression.
|
Modifier and Type | Method and Description |
---|---|
void |
IGNUASTGotoStatement.setLabelNameExpression(IASTExpression expression)
Set the label-name expression.
|
Modifier and Type | Method and Description |
---|---|
IASTExpression |
IGCCASTArrayRangeDesignator.getRangeCeiling()
Get the range ceiling expression.
|
IASTExpression |
IGCCASTArrayRangeDesignator.getRangeFloor()
Get the floor expression of the range.
|
IASTExpression |
IGCCASTSimpleDeclSpecifier.getTypeofExpression()
Deprecated.
Replaced by
IASTSimpleDeclSpecifier.getDeclTypeExpression() . |
Modifier and Type | Method and Description |
---|---|
void |
IGCCASTArrayRangeDesignator.setRangeCeiling(IASTExpression expression)
Set the ceiling expression of the range.
|
void |
IGCCASTArrayRangeDesignator.setRangeFloor(IASTExpression expression)
Set the floor expression of the range.
|
void |
IGCCASTSimpleDeclSpecifier.setTypeofExpression(IASTExpression typeofExpression)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IGPPASTBinaryExpression
G++ introduces additional operators.
|
Modifier and Type | Method and Description |
---|---|
IASTExpression |
IGPPASTSimpleDeclSpecifier.getTypeofExpression()
Deprecated.
Replaced by
IASTSimpleDeclSpecifier.getDeclTypeExpression() . |
Modifier and Type | Method and Description |
---|---|
void |
IGPPASTSimpleDeclSpecifier.setTypeofExpression(IASTExpression typeofExpression)
Deprecated.
|
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.