org.eclipse.xtext.parser
Class ParseResult
java.lang.Object
org.eclipse.xtext.parser.ParseResult
- All Implemented Interfaces:
- IParseResult
public class ParseResult
- extends java.lang.Object
- implements IParseResult
The result of a parsing operation.
- Author:
- Jan Köhnlein
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParseResult
public ParseResult(@Nullable
org.eclipse.emf.ecore.EObject rootAstElement,
@NonNull
ICompositeNode rootNode,
boolean hasErrors)
setRootASTElement
public void setRootASTElement(@Nullable
org.eclipse.emf.ecore.EObject rootAstElement)
getRootASTElement
@Nullable
public org.eclipse.emf.ecore.EObject getRootASTElement()
- Specified by:
getRootASTElement
in interface IParseResult
getSyntaxErrors
@NonNull
public java.lang.Iterable<INode> getSyntaxErrors()
- Specified by:
getSyntaxErrors
in interface IParseResult
getRootNode
@NonNull
public ICompositeNode getRootNode()
- Specified by:
getRootNode
in interface IParseResult
setRootNode
public void setRootNode(@NonNull
ICompositeNode rootNode)
hasSyntaxErrors
public boolean hasSyntaxErrors()
- Specified by:
hasSyntaxErrors
in interface IParseResult