Lines 8843-8851
Link Here
|
8843 |
return this.expressionStack[this.expressionPtr]; |
8843 |
return this.expressionStack[this.expressionPtr]; |
8844 |
} |
8844 |
} |
8845 |
public void persistLineSeparatorPositions() { |
8845 |
public void persistLineSeparatorPositions() { |
8846 |
if (this.scanner.recordLineSeparator) { |
8846 |
this.compilationUnit.compilationResult.lineSeparatorPositions = this.scanner.getLineEnds(); |
8847 |
this.compilationUnit.compilationResult.lineSeparatorPositions = this.scanner.getLineEnds(); |
|
|
8848 |
} |
8849 |
} |
8847 |
} |
8850 |
/** |
8848 |
/** |
8851 |
* Returns this parser's problem reporter initialized with its reference context. |
8849 |
* Returns this parser's problem reporter initialized with its reference context. |
Lines 8855-8863
Link Here
|
8855 |
* @return ProblemReporter |
8853 |
* @return ProblemReporter |
8856 |
*/ |
8854 |
*/ |
8857 |
public ProblemReporter problemReporter(){ |
8855 |
public ProblemReporter problemReporter(){ |
8858 |
if (this.scanner.recordLineSeparator) { |
8856 |
this.compilationUnit.compilationResult.lineSeparatorPositions = this.scanner.getLineEnds(); |
8859 |
this.compilationUnit.compilationResult.lineSeparatorPositions = this.scanner.getLineEnds(); |
|
|
8860 |
} |
8861 |
this.problemReporter.referenceContext = this.referenceContext; |
8857 |
this.problemReporter.referenceContext = this.referenceContext; |
8862 |
return this.problemReporter; |
8858 |
return this.problemReporter; |
8863 |
} |
8859 |
} |