Package org.aspectj.org.eclipse.jdt.internal.core.util

Examples of org.aspectj.org.eclipse.jdt.internal.core.util.RecordedParsingInformation


    this.lineSeparator = formatter.preferences.line_separator;
    this.indentationLevel = formatter.preferences.initial_indentation_level * this.indentationSize;
    this.textRegionStart = offset;
    this.textRegionEnd = offset + length - 1;
    if (codeSnippetParsingUtil != null) {
      final RecordedParsingInformation information = codeSnippetParsingUtil.recordedParsingInformation;
      if (information != null) {
        this.lineEnds = information.lineEnds;
        this.commentPositions = information.commentPositions;
      }
    }
View Full Code Here


          Scanner scanner = converter.scanner;
          converter.scanner = new RecoveryScanner(scanner, data.removeUnused());
          converter.docParser.scanner = converter.scanner;
          converter.scanner.setSource(scanner.source);
        }
        RecordedParsingInformation recordedParsingInformation = codeSnippetParsingUtil.recordedParsingInformation;
        int[][] comments = recordedParsingInformation.commentPositions;
        if (comments != null) {
          converter.buildCommentsTable(compilationUnit, comments);
        }
        compilationUnit.setLineEndTable(recordedParsingInformation.lineEnds);
View Full Code Here

TOP

Related Classes of org.aspectj.org.eclipse.jdt.internal.core.util.RecordedParsingInformation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.