|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.cdt.core.dom.ast.ASTCompletionNode
Constructor Summary | |
---|---|
ASTCompletionNode(org.eclipse.cdt.core.parser.IToken completionToken,
IASTTranslationUnit translationUnit)
Only constructor. |
Method Summary | |
---|---|
void |
addName(IASTName name)
Add a name to node. |
int |
getLength()
Get the length of the completion point. |
IASTName[] |
getNames()
Get a list of names that fit in this context. |
String |
getPrefix()
If the point of completion was at the end of a potential identifier, this string contains the text of that identifier. |
IASTTranslationUnit |
getTranslationUnit()
Get the translation unit for this completion |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ASTCompletionNode(org.eclipse.cdt.core.parser.IToken completionToken, IASTTranslationUnit translationUnit)
completionToken
- the completion tokentranslationUnit
- the translation unit for this completionMethod Detail |
public void addName(IASTName name)
name
- public String getPrefix()
IASTCompletionNode
getPrefix
in interface IASTCompletionNode
public int getLength()
IASTCompletionNode
getLength
in interface IASTCompletionNode
public IASTName[] getNames()
IASTCompletionNode
getNames
in interface IASTCompletionNode
public IASTTranslationUnit getTranslationUnit()
IASTCompletionNode
getTranslationUnit
in interface IASTCompletionNode
|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |