org.eclipse.cdt.ui.tests.DOMAST
Class DOMASTNodeLeaf

java.lang.Object
  extended by org.eclipse.cdt.ui.tests.DOMAST.DOMASTNodeLeaf
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
Direct Known Subclasses:
DOMASTNodeParent

public class DOMASTNodeLeaf
extends java.lang.Object
implements org.eclipse.core.runtime.IAdaptable

Author:
dsteffle

Field Summary
static java.lang.String BLANK_STRING
           
static int FLAG_INCLUDE_STATEMENTS
           
static int FLAG_PREPROCESSOR
           
static int FLAG_PROBLEM
           
 
Constructor Summary
DOMASTNodeLeaf(org.eclipse.cdt.core.dom.ast.IASTNode node)
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Class key)
           
 java.lang.String getFilename()
           
 int getFiltersFlag()
           
 int getLength()
           
 org.eclipse.cdt.core.dom.ast.IASTNode getNode()
           
 int getOffset()
           
 DOMASTNodeParent getParent()
           
 int relativeNodePosition(org.eclipse.cdt.core.dom.ast.IASTNode n)
           
 void setFiltersFlag(int flag)
           
 void setParent(DOMASTNodeParent parent)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BLANK_STRING

public static final java.lang.String BLANK_STRING
See Also:
Constant Field Values

FLAG_PROBLEM

public static final int FLAG_PROBLEM
See Also:
Constant Field Values

FLAG_PREPROCESSOR

public static final int FLAG_PREPROCESSOR
See Also:
Constant Field Values

FLAG_INCLUDE_STATEMENTS

public static final int FLAG_INCLUDE_STATEMENTS
See Also:
Constant Field Values
Constructor Detail

DOMASTNodeLeaf

public DOMASTNodeLeaf(org.eclipse.cdt.core.dom.ast.IASTNode node)
Method Detail

getNode

public org.eclipse.cdt.core.dom.ast.IASTNode getNode()

setParent

public void setParent(DOMASTNodeParent parent)

getParent

public DOMASTNodeParent getParent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getAdapter

public java.lang.Object getAdapter(java.lang.Class key)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable

getFilename

public java.lang.String getFilename()

getOffset

public int getOffset()

getLength

public int getLength()

setFiltersFlag

public void setFiltersFlag(int flag)

getFiltersFlag

public int getFiltersFlag()

relativeNodePosition

public int relativeNodePosition(org.eclipse.cdt.core.dom.ast.IASTNode n)