Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Class ASTNodeProperty

java.lang.Object
  extended by org.eclipse.cdt.core.dom.ast.ASTNodeProperty

public class ASTNodeProperty
extends Object

This interface represents a structural property in an IASTNode. This is used to determine the relationship between a child node and it's parent. This is especially important with rewrite since we need to understand how to properly replace the child in the source.


Constructor Summary
ASTNodeProperty(String n)
           
 
Method Summary
 String getName()
          Each property has a name to help distinguish it from other properties of a node.
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASTNodeProperty

public ASTNodeProperty(String n)
Parameters:
n - name
Method Detail

getName

public String getName()
Each property has a name to help distinguish it from other properties of a node.

Returns:
the name of the property

setName

public void setName(String name)
Parameters:
name - The name to set.

toString

public String toString()
Overrides:
toString in class Object

Eclipse CDT
Pre-release 3.0

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