org.eclipse.cdt.internal.ui.editor
Class SemanticToken

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.editor.SemanticToken

public final class SemanticToken
extends java.lang.Object

Semantic token. Cloned from JDT.

Since:
4.0

Constructor Summary
SemanticToken()
           
 
Method Summary
 org.eclipse.cdt.core.dom.ast.IBinding getBinding()
           
 org.eclipse.cdt.core.dom.ast.IASTNode getNode()
           
 org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getRoot()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SemanticToken

public SemanticToken()
Method Detail

getBinding

public org.eclipse.cdt.core.dom.ast.IBinding getBinding()
Returns:
Returns the binding, can be null.

getNode

public org.eclipse.cdt.core.dom.ast.IASTNode getNode()
Returns:
the AST node

getRoot

public org.eclipse.cdt.core.dom.ast.IASTTranslationUnit getRoot()
Returns:
the AST root