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
Special PartialParsingHelper for Bsl language. Contains special logic for processing editing in one Method
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BslPartialParsingHelper

      public BslPartialParsingHelper()
  • Method Details

    • 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