Eclipse CDT
Pre-release 3.0

Uses of Interface
org.eclipse.cdt.core.dom.ast.IASTExpression

Packages that use IASTExpression
org.eclipse.cdt.core.dom.ast   
org.eclipse.cdt.core.dom.ast.c   
org.eclipse.cdt.core.dom.ast.cpp   
org.eclipse.cdt.core.dom.ast.gnu   
org.eclipse.cdt.core.dom.ast.gnu.c   
org.eclipse.cdt.core.dom.ast.gnu.cpp   
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast
 

Subinterfaces of IASTExpression in org.eclipse.cdt.core.dom.ast
 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 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
          This interface represents a function call expression. f( x ) : f is the function name expression, 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 a expression.
 interface IASTTypeIdExpression
           
 interface IASTTypeIdInitializerExpression
          Compound literal: type-id { initializer }
 interface IASTUnaryExpression
          This interface is used to represent a unary expression in the AST.
 

Fields in org.eclipse.cdt.core.dom.ast declared as IASTExpression
static IASTExpression[] IASTExpression.EMPTY_EXPRESSION_ARRAY
          Empty expression array.
 

Methods in org.eclipse.cdt.core.dom.ast that return IASTExpression
 IASTExpression IASTExpression.copy()
           
 IASTExpression IASTArraySubscriptExpression.getArrayExpression()
          Get the expression that represents the array.
 IASTExpression IArrayType.getArraySizeExpression()
          get the expression that represents the size of this array
 IASTExpression IASTFieldDeclarator.getBitFieldSize()
          This returns the number of bits if this is a bit field.
 IASTExpression IASTWhileStatement.getCondition()
          Get the condition on the while loop
 IASTExpression IASTDoStatement.getCondition()
          The condition on the loop.
 IASTExpression IASTForStatement.getConditionExpression()
          Get the condition expression for the loop.
 IASTExpression IASTIfStatement.getConditionExpression()
          Get the condition in the if statement.
 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 IASTExpressionStatement.getExpression()
          Get the expression in this statement.
 IASTExpression IASTInitializerExpression.getExpression()
          Get the expression for the initializer.
 IASTExpression IASTCaseStatement.getExpression()
          The expression that determines whether this case should be taken.
 IASTExpression[] IASTExpressionList.getExpressions()
          Get nested expressions.
 IASTExpression IASTFieldReference.getFieldOwner()
          This returns an expression for the object containing the field.
 IASTExpression IASTFunctionCallExpression.getFunctionNameExpression()
          Get the function name expression.
 IASTExpression IASTForStatement.getIterationExpression()
          Get 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 IASTCastExpression.getOperand()
          Get expression being cast.
 IASTExpression IASTUnaryExpression.getOperand()
          Get the operand.
 IASTExpression IASTBinaryExpression.getOperand1()
          Get the first operand.
 IASTExpression IASTBinaryExpression.getOperand2()
          Get the second operand.
 IASTExpression IASTFunctionCallExpression.getParameterExpression()
          Get the parameter expression.
 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()
          Get the subscript expression.
 IASTExpression IASTEnumerationSpecifier.IASTEnumerator.getValue()
          Get enumerator value.
 IASTExpression IBasicType.getValue()
          Deprecated. 
 

Methods in org.eclipse.cdt.core.dom.ast with parameters of type IASTExpression
 void IASTExpressionList.addExpression(IASTExpression expression)
          Add nested expression.
static String ASTSignatureUtil.getExpressionString(IASTExpression expression)
          Return a string representation for the given IASTExpression.
 int ASTGenericVisitor.leave(IASTExpression expression)
           
 int ASTVisitor.leave(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 expr1, IASTExpression expr2, IASTExpression expr3)
           
 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)
           
 IASTIfStatement INodeFactory.newIfStatement(IASTExpression condition, IASTStatement then, IASTStatement elseClause)
           
 IASTInitializerExpression INodeFactory.newInitializerExpression(IASTExpression expression)
           
 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)
          Set the bitfield size.
 void IASTWhileStatement.setCondition(IASTExpression condition)
          Set the condition of the while loop.
 void IASTDoStatement.setCondition(IASTExpression condition)
          Set the condition for the loop.
 void IASTForStatement.setConditionExpression(IASTExpression condition)
          Set the condition expression for the loop.
 void IASTIfStatement.setConditionExpression(IASTExpression condition)
          Set the condition in the if statement.
 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 IASTExpressionStatement.setExpression(IASTExpression expression)
          Set the expression statement.
 void IASTInitializerExpression.setExpression(IASTExpression expression)
          Set the initializer's expression.
 void IASTCaseStatement.setExpression(IASTExpression expression)
          Set the expression.
 void IASTFieldReference.setFieldOwner(IASTExpression expression)
          Set the expression for the object containing the field.
 void IASTFunctionCallExpression.setFunctionNameExpression(IASTExpression expression)
          Set the function name expression.
 void IASTForStatement.setIterationExpression(IASTExpression iterator)
          Set 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 IASTCastExpression.setOperand(IASTExpression expression)
          Set the expression being cast.
 void IASTUnaryExpression.setOperand(IASTExpression expression)
          Set the operand.
 void IASTBinaryExpression.setOperand1(IASTExpression expression)
          Set the first operand.
 void IASTBinaryExpression.setOperand2(IASTExpression expression)
           
 void IASTFunctionCallExpression.setParameterExpression(IASTExpression expression)
          Set the parameters expression.
 void IASTConditionalExpression.setPositiveResultExpression(IASTExpression expression)
          Set positive result expression.
 void IASTReturnStatement.setReturnValue(IASTExpression returnValue)
          Set the return value.
 void IASTArraySubscriptExpression.setSubscriptExpression(IASTExpression expression)
          Set the subscript expression.
 void IASTEnumerationSpecifier.IASTEnumerator.setValue(IASTExpression expression)
          Set enumerator value.
 int ASTGenericVisitor.visit(IASTExpression expression)
           
 int ASTVisitor.visit(IASTExpression expression)
           
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast.c
 

Subinterfaces of IASTExpression in org.eclipse.cdt.core.dom.ast.c
 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).
 

Methods in org.eclipse.cdt.core.dom.ast.c that return IASTExpression
 IASTExpression ICASTArrayDesignator.getSubscriptExpression()
          Get the subsript expression.
 

Methods in org.eclipse.cdt.core.dom.ast.c with parameters of type IASTExpression
 ICASTArrayDesignator ICNodeFactory.newArrayDesignator(IASTExpression exp)
           
 ICASTArrayModifier ICNodeFactory.newArrayModifier(IASTExpression expr)
           
 IGCCASTArrayRangeDesignator ICNodeFactory.newArrayRangeDesignatorGCC(IASTExpression floor, IASTExpression ceiling)
           
 IGCCASTSimpleDeclSpecifier ICNodeFactory.newSimpleDeclSpecifierGCC(IASTExpression typeofExpression)
           
 void ICASTArrayDesignator.setSubscriptExpression(IASTExpression value)
          Set the subscript expression.
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast.cpp
 

Subinterfaces of IASTExpression in org.eclipse.cdt.core.dom.ast.cpp
 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 ICPPASTExpressionList
           
 interface ICPPASTFieldReference
          Certain field references in C++ require the use the keyword template to specify the parse.
 interface ICPPASTFunctionCallExpression
           
 interface ICPPASTLiteralExpression
          C++ adds additional literal types to primary expression.
 interface ICPPASTNewExpression
          This interface represents a new expression.
 interface ICPPASTSimpleTypeConstructorExpression
          Simple type constructor postfix expression.
 interface ICPPASTTypeIdExpression
           
 interface ICPPASTTypenameExpression
           
 interface ICPPASTUnaryExpression
           
 

Methods in org.eclipse.cdt.core.dom.ast.cpp that return IASTExpression
 IASTExpression ICPPTemplateNonTypeParameter.getDefault()
          Deprecated. 
 IASTExpression ICPPASTTemplatedTypeTemplateParameter.getDefaultValue()
          Get default value for template type.
 IASTExpression ICPPASTConstructorInitializer.getExpression()
          Get the arguments to the constructor.
 IASTExpression ICPPASTConstructorChainInitializer.getInitializerValue()
          Get the initializer value.
 IASTExpression ICPPASTSimpleTypeConstructorExpression.getInitialValue()
          Get the initial value.
 IASTExpression ICPPASTTypenameExpression.getInitialValue()
          Get initial value.
 IASTExpression ICPPASTNewExpression.getNewInitializer()
           
 IASTExpression ICPPASTNewExpression.getNewPlacement()
          Get the new placement (optional).
 IASTExpression[] ICPPASTNewExpression.getNewTypeIdArrayExpressions()
          Deprecated. the id-expressions are part of the type-id.
 IASTExpression ICPPASTDeleteExpression.getOperand()
          Get the operand.
 

Methods in org.eclipse.cdt.core.dom.ast.cpp with parameters of type IASTExpression
 void ICPPASTNewExpression.addNewTypeIdArrayExpression(IASTExpression expression)
          Deprecated. the id-expressions are part of the type-id
 void ICPPASTTemplateId.addTemplateArgument(IASTExpression expression)
          Add template argument.
 ICPPASTArraySubscriptExpression ICPPNodeFactory.newArraySubscriptExpression(IASTExpression arrayExpr, IASTExpression subscript)
           
 ICPPASTBinaryExpression ICPPNodeFactory.newBinaryExpression(int op, IASTExpression expr1, IASTExpression expr2)
           
 ICPPASTCastExpression ICPPNodeFactory.newCastExpression(int operator, IASTTypeId typeId, IASTExpression operand)
           
 ICPPASTConstructorChainInitializer ICPPNodeFactory.newConstructorChainInitializer(IASTName memberInitializerId, IASTExpression initializerValue)
           
 ICPPASTConstructorInitializer ICPPNodeFactory.newConstructorInitializer(IASTExpression exp)
           
 ICPPASTDeleteExpression ICPPNodeFactory.newDeleteExpression(IASTExpression operand)
           
 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)
           
 ICPPASTIfStatement ICPPNodeFactory.newIfStatement(IASTExpression condition, IASTStatement then, IASTStatement elseClause)
           
 ICPPASTNewExpression ICPPNodeFactory.newNewExpression(IASTExpression placement, IASTExpression initializer, IASTTypeId typeId)
           
 ICPPASTSimpleTypeConstructorExpression ICPPNodeFactory.newSimpleTypeConstructorExpression(int type, IASTExpression expression)
           
 ICPPASTSwitchStatement ICPPNodeFactory.newSwitchStatement(IASTExpression controlloer, IASTStatement body)
           
 ICPPASTTemplatedTypeTemplateParameter ICPPNodeFactory.newTemplatedTypeTemplateParameter(IASTName name, IASTExpression defaultValue)
           
 ICPPASTTypenameExpression ICPPNodeFactory.newTypenameExpression(IASTName qualifiedName, IASTExpression expr, boolean isTemplate)
           
 ICPPASTUnaryExpression ICPPNodeFactory.newUnaryExpression(int operator, IASTExpression operand)
           
 ICPPASTWhileStatement ICPPNodeFactory.newWhileStatement(IASTExpression condition, IASTStatement body)
           
 void ICPPASTTemplatedTypeTemplateParameter.setDefaultValue(IASTExpression expression)
          Set default value for template type.
 void ICPPASTConstructorInitializer.setExpression(IASTExpression expression)
          Set the arguments to the constructor.
 void ICPPASTConstructorChainInitializer.setInitializerValue(IASTExpression expression)
          Set the initializer value.
 void ICPPASTSimpleTypeConstructorExpression.setInitialValue(IASTExpression expression)
          Set the initial value.
 void ICPPASTTypenameExpression.setInitialValue(IASTExpression expressionList)
          Set initial value.
 void ICPPASTNewExpression.setNewInitializer(IASTExpression expression)
           
 void ICPPASTNewExpression.setNewPlacement(IASTExpression expression)
          Set the new placement expression.
 void ICPPASTDeleteExpression.setOperand(IASTExpression expression)
           
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast.gnu
 

Subinterfaces of IASTExpression in org.eclipse.cdt.core.dom.ast.gnu
 interface IGNUASTCompoundStatementExpression
          There are GNU language extensions that apply to both GCC and G++.
 interface IGNUASTTypeIdExpression
          There are GNU language extensions that apply to both GCC and G++.
 interface IGNUASTUnaryExpression
          There are GNU language extensions that apply to both GCC and G++.
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast.gnu.c
 

Methods in org.eclipse.cdt.core.dom.ast.gnu.c that return IASTExpression
 IASTExpression IGCCASTArrayRangeDesignator.getRangeCeiling()
          Get the range ceiling expression.
 IASTExpression IGCCASTArrayRangeDesignator.getRangeFloor()
          Get the floor expression of the range.
 IASTExpression IGCCASTSimpleDeclSpecifier.getTypeofExpression()
          Get the typeof expression.
 

Methods in org.eclipse.cdt.core.dom.ast.gnu.c with parameters of type IASTExpression
 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)
          Set the typeof() expression.
 

Uses of IASTExpression in org.eclipse.cdt.core.dom.ast.gnu.cpp
 

Subinterfaces of IASTExpression in org.eclipse.cdt.core.dom.ast.gnu.cpp
 interface IGPPASTBinaryExpression
          G++ introduces additional operators.
 

Methods in org.eclipse.cdt.core.dom.ast.gnu.cpp that return IASTExpression
 IASTExpression IGPPASTSimpleDeclSpecifier.getTypeofExpression()
          Get the typeof expression.
 

Methods in org.eclipse.cdt.core.dom.ast.gnu.cpp with parameters of type IASTExpression
 void IGPPASTSimpleDeclSpecifier.setTypeofExpression(IASTExpression typeofExpression)
          Set the typeof() expression.
 


Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.