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(org.eclipse.emf.ecore.EObject rootAstElement,
ICompositeNode rootNode,
boolean hasErrors)
setRootASTElement
public void setRootASTElement(org.eclipse.emf.ecore.EObject rootAstElement)
getRootASTElement
public org.eclipse.emf.ecore.EObject getRootASTElement()
- Specified by:
getRootASTElement
in interface IParseResult
getSyntaxErrors
public java.lang.Iterable<INode> getSyntaxErrors()
- Specified by:
getSyntaxErrors
in interface IParseResult
getRootNode
public ICompositeNode getRootNode()
- Specified by:
getRootNode
in interface IParseResult
setRootNode
public void setRootNode(ICompositeNode rootNode)
hasSyntaxErrors
public boolean hasSyntaxErrors()
- Specified by:
hasSyntaxErrors
in interface IParseResult