|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.cdt.core.dom.ast.ASTSignatureUtil
public class ASTSignatureUtil
This is a utility class to help convert AST elements to Strings corresponding to the AST element's signature.
| Constructor Summary | |
|---|---|
ASTSignatureUtil()
|
|
| Method Summary | |
|---|---|
static String |
getBinaryOperatorString(IASTBinaryExpression be)
Returns the String representation of the IASTBinaryExpression's operator. |
static String |
getCastOperatorString(IASTCastExpression expression)
Returns the String representation of the IASTCastExpression's operator. |
static String |
getExpressionString(IASTExpression expression)
Return a string representation for the given IASTExpression. |
static String |
getInitializerString(IASTInitializer init)
This function is used to return the signature of an IASTInitializer. |
static String |
getNodeSignature(IASTNode node)
Return's the String representation of a node's type (if available). |
static String |
getParameterSignature(IASTDeclarator decltor)
Returns the parameter signature for an IASTDeclarator as a comma separated list wrapped in parenthesis. |
static String[] |
getParameterSignatureArray(IASTDeclarator decltor)
Returns a String[] corresponding to the signatures of individual parameters for an IASTDeclarator. |
static String |
getProblemMessage(int problemID,
String detail)
|
static String |
getSignature(IASTDeclarator declarator)
Returns the String signature corresponding to an IASTDeclarator. |
static String |
getSignature(IASTDeclSpecifier declSpec)
Returns the String representation of the signature for the IASTDeclSpecifier. |
static String |
getSignature(IASTTypeId typeId)
Returns the String representation of the signature for the IASTTypeId. |
static String |
getUnaryOperatorString(IASTUnaryExpression ue)
Returns the String representation of the IASTUnaryExpression's operator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ASTSignatureUtil()
| Method Detail |
|---|
public static String getNodeSignature(IASTNode node)
node - public static String getParameterSignature(IASTDeclarator decltor)
decltor -
public static String[] getParameterSignatureArray(IASTDeclarator decltor)
decltor -
public static String getInitializerString(IASTInitializer init)
init -
public static String getSignature(IASTDeclarator declarator)
declarator -
public static String getSignature(IASTDeclSpecifier declSpec)
declSpec -
public static String getSignature(IASTTypeId typeId)
typeId -
public static String getExpressionString(IASTExpression expression)
expression -
public static String getCastOperatorString(IASTCastExpression expression)
expression -
public static String getUnaryOperatorString(IASTUnaryExpression ue)
ue -
public static String getBinaryOperatorString(IASTBinaryExpression be)
be -
public static String getProblemMessage(int problemID,
String detail)
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||