Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java21
1 files changed, 2 insertions, 19 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
index cc42fb79e61..d4c83b84c46 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/dom/ast/IASTNode.java
@@ -18,25 +18,8 @@ package org.eclipse.cdt.core.dom.ast;
*/
public interface IASTNode {
- /**
- * This is the offset into the location of the beginning of the text
- * that this node represents.
- *
- * @return the offset of the node
- */
- public int getOffset();
-
- public void setOffset( int offset );
-
- /**
- * This is the length text that this node represents.
- *
- * @return
- */
- public int getLength();
-
- public void setLength( int length );
-
+ public IASTTranslationUnit getTranslationUnit();
+
/**
* Get the parent node of this node in the tree.
*

Back to the top