public interface ISourceCodeParser
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the parsing.
|
boolean |
encounteredError()
Check whether there were errors.
|
IASTCompletionNode |
getCompletionNode()
Compute an
IASTCompletionNode for code completion. |
IASTTranslationUnit |
parse()
Compute an abstract syntax tree (AST).
|
IASTTranslationUnit parse()
null
ParseError
- if parsing has been cancelled or for other reasonsvoid cancel()
boolean encounteredError()
true
if there were errorsIASTCompletionNode getCompletionNode()
IASTCompletionNode
for code completion.null
if none could be computedParseError
- if parsing has been cancelled or for other reasonsCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.