Class PartialParseResult
- java.lang.Object
-
- org.eclipse.xtext.parser.ParseResult
-
- com._1c.g5.v8.dt.bsl.parser.antlr.PartialParseResult
-
- All Implemented Interfaces:
org.eclipse.xtext.parser.IParseResult
public class PartialParseResult extends org.eclipse.xtext.parser.ParseResult
Special parse result containing information about last reparsing method fromModule
-
-
Constructor Summary
Constructors Constructor Description PartialParseResult(org.eclipse.emf.ecore.EObject rootAstElement, org.eclipse.xtext.nodemodel.ICompositeNode rootNode, boolean hasErrors)
ConstructorPartialParseResult(org.eclipse.xtext.parser.IParseResult parseResult, Method reparseMethod)
ConstructorPartialParseResult(org.eclipse.xtext.parser.IParseResult parseResult, Method reparseMethod, Collection<Method> calleesMethod)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Method>
getCalleesMethod()
GetsMethod
s are called fromreparseMethod
before editingMethod
getReparseMethod()
Gets last reparsing method fromModule
Iterable<org.eclipse.xtext.nodemodel.INode>
getSyntaxErrors()
boolean
isOnlyMethodReparse()
-
-
-
Constructor Detail
-
PartialParseResult
public PartialParseResult(org.eclipse.xtext.parser.IParseResult parseResult, Method reparseMethod, Collection<Method> calleesMethod)
Constructor
-
PartialParseResult
public PartialParseResult(org.eclipse.xtext.parser.IParseResult parseResult, Method reparseMethod)
Constructor- Parameters:
parseResult
- actualIParseResult
, can't benull
reparseMethod
- last reparsing method fromModule
, can't benull
-
PartialParseResult
public PartialParseResult(org.eclipse.emf.ecore.EObject rootAstElement, org.eclipse.xtext.nodemodel.ICompositeNode rootNode, boolean hasErrors)
Constructor- Parameters:
rootAstElement
- root of ast parse tree element, can't benull
rootNode
-ICompositeNode
corresponding to the root ast parse tree element, can't benull
hasErrors
-true
if sntax error was found,false
otherwise
-
-
Method Detail
-
isOnlyMethodReparse
public boolean isOnlyMethodReparse()
-
getReparseMethod
public Method getReparseMethod()
Gets last reparsing method fromModule
- Returns:
- last reparsing method from
Module
, can benull
ifisOnlyMethodReparse()
returnfalse
-
getCalleesMethod
public Collection<Method> getCalleesMethod()
GetsMethod
s are called fromreparseMethod
before editing- Returns:
Method
s are called fromreparseMethod
before editing, cannot benull
-
getSyntaxErrors
public Iterable<org.eclipse.xtext.nodemodel.INode> getSyntaxErrors()
- Specified by:
getSyntaxErrors
in interfaceorg.eclipse.xtext.parser.IParseResult
- Overrides:
getSyntaxErrors
in classorg.eclipse.xtext.parser.ParseResult
-
-