org.eclipse.xtext.parser
Interface IParseResult
- All Known Implementing Classes:
- ParseResult
public interface IParseResult
Represents the result of the parsing.
Via the ParseResult the semantic root AST element,
the root node model element and the list of syntax errors can be retrieved.
getRootASTElement
@Nullable
org.eclipse.emf.ecore.EObject getRootASTElement()
getRootNode
@NonNull
ICompositeNode getRootNode()
getSyntaxErrors
@NonNull
java.lang.Iterable<INode> getSyntaxErrors()
hasSyntaxErrors
boolean hasSyntaxErrors()