本文整理汇总了Java中com.sun.tools.javac.tree.JCTree.JCContinue类的典型用法代码示例。如果您正苦于以下问题:Java JCContinue类的具体用法?Java JCContinue怎么用?Java JCContinue使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JCContinue类属于com.sun.tools.javac.tree.JCTree包,在下文中一共展示了JCContinue类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override public void visitContinue(JCContinue tree) {
aPrint("continue");
if (tree.label != null) {
print(" ");
print(tree.label);
}
println(";", tree);
}
示例2: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public void visitContinue(JCContinue that) {
try {
print("JCContinue:");
} catch (Exception e) {
}
super.visitContinue(that);
}
示例3: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public void visitContinue(JCContinue tree) {
try {
print("continue");
if (tree.label != null) print(" " + tree.label);
print(";");
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
示例4: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override public void visitContinue(JCContinue node) {
Continue c = new Continue();
if (node.getLabel() != null) {
c.astLabel(new Identifier().astValue(node.getLabel().toString()));
}
set(node, c);
}
示例5: matchContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override
public Description matchContinue(ContinueTree tree, VisitorState state) {
if (new FinallyJumpMatcher((JCContinue) tree).matches(tree, state)) {
return describeMatch(tree);
}
return Description.NO_MATCH;
}
示例6: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public void visitContinue(JCContinue tree) {
try {
print("continue");
if (tree.label != null) print(" " + tree.label);
print(";");
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
示例7: matchContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override
public Description matchContinue(ContinueTree tree, VisitorState state) {
if (new FinallyJumpMatcher((JCContinue) tree).matches(tree, state)) {
return describeMatch(tree, NO_FIX);
}
return Description.NO_MATCH;
}
示例8: diffContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
protected int diffContinue(JCContinue oldT, JCContinue newT, int[] bounds) {
final Name oldTLabel = oldT.label;
final Name newTlabel = newT.label;
return printBreakContinueTree(bounds, oldTLabel, newTlabel, oldT);
}
示例9: matchContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
private boolean matchContinue(JCContinue t1, JCContinue t2) {
return t1.label == t2.label && treesMatch(t1.target, t2.target);
}
示例10: Continue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public JCContinue Continue(Name label) {
return invoke(Continue, label);
}
示例11: AJCContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public AJCContinue(JCContinue ltree) {
super(ltree.label, ltree.target);
}
示例12: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override public void visitContinue(JCContinue tree) {
printNode(tree);
property("label", tree.label);
indent--;
}
示例13: inline
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override
public JCContinue inline(Inliner inliner) {
return inliner.maker().Continue(ULabeledStatement.inlineLabel(getLabel(), inliner));
}
示例14: FinallyJumpMatcher
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public FinallyJumpMatcher(JCContinue jcContinue) {
this.label = jcContinue.label;
this.jumpType = JumpType.CONTINUE;
}
示例15: visitContinue
import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public void visitContinue(JCContinue tree) {
tree.target = findJumpTarget(tree.pos(), tree.getTag(), tree.label, env);
result = null;
}