Class BslPartialParsingHelper
- java.lang.Object
-
- org.eclipse.xtext.parser.impl.PartialParsingHelper
-
- com._1c.g5.v8.dt.bsl.parser.antlr.BslPartialParsingHelper
-
- All Implemented Interfaces:
org.eclipse.xtext.parser.antlr.IPartialParsingHelper
public class BslPartialParsingHelper extends org.eclipse.xtext.parser.impl.PartialParsingHelper
SpecialPartialParsingHelper
for Bsl language. Contains special logic for processing editing in oneMethod
-
-
Constructor Summary
Constructors Constructor Description BslPartialParsingHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.xtext.parser.impl.PartialParsingPointers
calculatePartialParsingPointers(org.eclipse.xtext.parser.IParseResult previousParseResult, int offset, int replacedTextLength)
protected boolean
isInvalidLastChildNode(org.eclipse.xtext.nodemodel.ICompositeNode candidate, org.eclipse.xtext.nodemodel.INode lastChild)
org.eclipse.xtext.parser.IParseResult
reparse(org.eclipse.xtext.parser.IParser parser, org.eclipse.xtext.parser.IParseResult previousParseResult, org.eclipse.xtext.util.ReplaceRegion changedRegion)
-
Methods inherited from class org.eclipse.xtext.parser.impl.PartialParsingHelper
filterInvalidRootNodes, fullyReparse, getUnloader, insertChangeIntoReplaceRegion, isActionNode, isInvalidDueToPredicates, isInvalidRootNode, nodeEnclosesRegion, setTokenRegionProvider, setUnloader, unloadNode, unloadSemanticObject
-
-
-
-
Method Detail
-
reparse
public org.eclipse.xtext.parser.IParseResult reparse(org.eclipse.xtext.parser.IParser parser, org.eclipse.xtext.parser.IParseResult previousParseResult, org.eclipse.xtext.util.ReplaceRegion changedRegion)
- Specified by:
reparse
in interfaceorg.eclipse.xtext.parser.antlr.IPartialParsingHelper
- Overrides:
reparse
in classorg.eclipse.xtext.parser.impl.PartialParsingHelper
-
calculatePartialParsingPointers
public org.eclipse.xtext.parser.impl.PartialParsingPointers calculatePartialParsingPointers(org.eclipse.xtext.parser.IParseResult previousParseResult, int offset, int replacedTextLength)
- Overrides:
calculatePartialParsingPointers
in classorg.eclipse.xtext.parser.impl.PartialParsingHelper
-
isInvalidLastChildNode
protected boolean isInvalidLastChildNode(org.eclipse.xtext.nodemodel.ICompositeNode candidate, org.eclipse.xtext.nodemodel.INode lastChild)
- Overrides:
isInvalidLastChildNode
in classorg.eclipse.xtext.parser.impl.PartialParsingHelper
-
-