com.sun.tools.javac.tree.DCTree.DCErroneous Java Examples
The following examples show how to use
com.sun.tools.javac.tree.DCTree.DCErroneous.
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: DocCommentParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #2
Source File: DocCommentParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #3
Source File: DocCommentParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #4
Source File: DocCommentParser.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).newErroneousTree(newString(pos, i + 1), diagSource, code); }
Example #5
Source File: DocCommentParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #6
Source File: DocCommentParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #7
Source File: DocCommentParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #8
Source File: DocCommentParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).newErroneousTree(newString(pos, i + 1), diagSource, code); }
Example #9
Source File: DocCommentParser.java From hottub with GNU General Public License v2.0 | 6 votes |
protected DCErroneous erroneous(String code, int pos) { int i = bp - 1; loop: while (i > pos) { switch (buf[i]) { case '\f': case '\n': case '\r': newline = true; break; case '\t': case ' ': break; default: break loop; } i--; } textStart = -1; return m.at(pos).Erroneous(newString(pos, i + 1), diagSource, code); }
Example #10
Source File: DocCommentTester.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #11
Source File: DocCommentTester.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #12
Source File: DocCommentTester.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #13
Source File: DocCommentTester.java From hottub with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #14
Source File: DocCommentTester.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #15
Source File: DocCommentTester.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #16
Source File: DocCommentTester.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #17
Source File: DocCommentTester.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public Void visitErroneous(ErroneousTree node, Void p) { header(node); indent(+1); print("code", ((DCErroneous) node).diag.getCode()); print("body", compress(node.getBody())); indent(-1); indent(); out.println("]"); return null; }
Example #18
Source File: DocTreeMaker.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public DCErroneous newErroneousTree(String text, DiagnosticSource diagSource, String code, Object... args) { DCErroneous tree = new DCErroneous(text, diags, diagSource, code, args); tree.pos = pos; return tree; }
Example #19
Source File: DocTreeMaker.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Override @DefinedBy(Api.COMPILER_TREE) public DCErroneous newErroneousTree(String text, Diagnostic<JavaFileObject> diag) { DCErroneous tree = new DCErroneous(text, (JCDiagnostic) diag); tree.pos = pos; return tree; }
Example #20
Source File: DocTreeMaker.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public DCErroneous newErroneousTree(String text, DiagnosticSource diagSource, String code, Object... args) { DCErroneous tree = new DCErroneous(text, diags, diagSource, code, args); tree.pos = pos; return tree; }
Example #21
Source File: DocTreeMaker.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override @DefinedBy(Api.COMPILER_TREE) public DCErroneous newErroneousTree(String text, Diagnostic<JavaFileObject> diag) { DCErroneous tree = new DCErroneous(text, (JCDiagnostic) diag); tree.pos = pos; return tree; }