Java Code Examples for com.sun.tools.javac.util.Position#makeLineMap()
The following examples show how to use
com.sun.tools.javac.util.Position#makeLineMap() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DocCommentScanner.java From java-n-IDE-for-Android with Apache License 2.0 | 4 votes |
/** Build a map for translating between line numbers and * positions in the input. * * @return a LineMap */ public Position.LineMap getLineMap() { char[] buf = getRawCharacters(); return Position.makeLineMap(buf, buf.length, true); }
Example 2
Source File: DocCommentScanner.java From javaide with GNU General Public License v3.0 | 4 votes |
/** Build a map for translating between line numbers and * positions in the input. * * @return a LineMap */ public Position.LineMap getLineMap() { char[] buf = getRawCharacters(); return Position.makeLineMap(buf, buf.length, true); }
Example 3
Source File: JavaTokenizer.java From java-n-IDE-for-Android with Apache License 2.0 | 2 votes |
/** * Build a map for translating between line numbers and * positions in the input. * * @return a LineMap */ public Position.LineMap getLineMap() { return Position.makeLineMap(reader.getRawCharacters(), reader.buflen, false); }
Example 4
Source File: JavaTokenizer.java From javaide with GNU General Public License v3.0 | 2 votes |
/** * Build a map for translating between line numbers and * positions in the input. * * @return a LineMap */ public Position.LineMap getLineMap() { return Position.makeLineMap(reader.getRawCharacters(), reader.buflen, false); }