1
/*******************************************************************************
2
* Copyright (c) 2004, 2009 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Doug Schaefer (IBM) - Initial API and implementation
10
* Mike Kucera - cleanup
11
*******************************************************************************/
12
package org.eclipse.cdt.core.dom.ast;
15
* This interface represents a structural property in an IASTNode. This is used
16
* to determine the relationship between a child node and it's parent. This is
17
* especially important with rewrite since we need to understand how to properly
18
* replace the child in the source.
20
* @noextend This interface is not intended to be extended by clients.
21
* @noinstantiate This class is not intended to be instantiated by clients.
23
public class ASTNodeProperty {
25
private final String name;
27
public ASTNodeProperty(String n) {
32
* Each property has a name to help distinguish it from other properties of
35
* @return the name of the property
37
public String getName() {
42
public String toString() {