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 |
IASTExpression
This is the root class of expressions.
|
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 |
IASTInitializerList
Braced initializer list, for example as in:
int a[]= {1,2,3};
|
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 | Method and Description |
---|---|
IASTInitializerClause |
IASTInitializerClause.copy() |
IASTInitializerClause |
IASTInitializerClause.copy(IASTNode.CopyStyle style) |
IASTInitializerClause |
IASTArraySubscriptExpression.getArgument()
Returns the operand of this expression.
|
IASTInitializerClause[] |
IASTFunctionCallExpression.getArguments()
Returns the arguments for this function call, never
null . |
IASTInitializerClause[] |
IASTInitializerList.getClauses()
Returns the list of initializers.
|
IASTInitializerClause |
IASTEqualsInitializer.getInitializerClause()
Returns the expression or braced initializer list of this initializer.
|
IASTInitializerClause |
IASTBinaryExpression.getInitOperand2()
Returns the second operand of the expression.
|
IASTInitializerClause |
IASTReturnStatement.getReturnArgument()
Returns the return value as
IASTInitializerClause , or null . |
Modifier and Type | Method and Description |
---|---|
void |
IASTInitializerList.addClause(IASTInitializerClause clause)
Add an initializer clause to the initializer list.
|
IASTEqualsInitializer |
INodeFactory.newEqualsInitializer(IASTInitializerClause initClause) |
IASTFunctionCallExpression |
INodeFactory.newFunctionCallExpression(IASTExpression idExpr,
IASTInitializerClause[] arguments) |
void |
IASTArraySubscriptExpression.setArgument(IASTInitializerClause expression)
Not allowed on frozen ast.
|
void |
IASTFunctionCallExpression.setArguments(IASTInitializerClause[] args)
Sets the arguments of the function call.
|
void |
IASTEqualsInitializer.setInitializerClause(IASTInitializerClause clause)
Not allowed on frozen ast.
|
void |
IASTReturnStatement.setReturnArgument(IASTInitializerClause returnValue)
Not allowed on frozen AST.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICASTDesignatedInitializer
This interface represents a designated initializer,
e.g. struct x y = { .z = 4, .t[1] = 3 };
|
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 |
---|---|
IASTInitializerClause |
ICASTDesignatedInitializer.getOperand()
Returns the operand initializer.
|
Modifier and Type | Method and Description |
---|---|
ICASTDesignatedInitializer |
ICNodeFactory.newDesignatedInitializer(IASTInitializerClause initializer) |
void |
ICASTDesignatedInitializer.setOperand(IASTInitializerClause operand)
Not allowed on frozen ast
|
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 |
ICPPASTInitializerClause
C++ specific initializer clause.
|
interface |
ICPPASTInitializerList
Braced initializer list.
|
interface |
ICPPASTLambdaExpression
Lambda expression, introduced in C++11.
|
interface |
ICPPASTLiteralExpression
C++ adds additional literal types to primary expression.
|
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 |
---|---|
IASTInitializerClause[] |
ICPPASTConstructorInitializer.getArguments()
Returns the arguments of this initializer, never
null . |
IASTInitializerClause |
ICPPASTRangeBasedForStatement.getInitializerClause()
Returns the for-range-initializer.
|
IASTInitializerClause[] |
ICPPASTNewExpression.getPlacementArguments()
Returns the additional arguments for the new placement, or
null . |
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 | Interface and Description |
---|---|
interface |
IGPPASTBinaryExpression
G++ introduces additional operators.
|
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.