Class BslPartialParsingHelper

  • All Implemented Interfaces:
    org.eclipse.xtext.parser.antlr.IPartialParsingHelper

    public class BslPartialParsingHelper
    extends org.eclipse.xtext.parser.impl.PartialParsingHelper
    Special PartialParsingHelper for Bsl language. Contains special logic for processing editing in one Method
    • 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
    • Constructor Detail

      • BslPartialParsingHelper

        public BslPartialParsingHelper()
    • 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 interface org.eclipse.xtext.parser.antlr.IPartialParsingHelper
        Overrides:
        reparse in class org.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 class org.eclipse.xtext.parser.impl.PartialParsingHelper
      • isInvalidLastChildNode

        protected boolean isInvalidLastChildNode​(org.eclipse.xtext.nodemodel.ICompositeNode candidate,
                                                 org.eclipse.xtext.nodemodel.INode lastChild)
        Overrides:
        isInvalidLastChildNode in class org.eclipse.xtext.parser.impl.PartialParsingHelper