当前位置: 首页>>代码示例>>Java>>正文


Java JCContinue类代码示例

本文整理汇总了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);
}
 
开发者ID:git03394538,项目名称:lombok-ianchiu,代码行数:9,代码来源:PrettyPrinter.java

示例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);
}
 
开发者ID:pcgomes,项目名称:javaparser2jctree,代码行数:8,代码来源:PrintAstVisitor.java

示例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);
	}
}
 
开发者ID:mobmead,项目名称:EasyMPermission,代码行数:10,代码来源:PrettyCommentsPrinter.java

示例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);
}
 
开发者ID:evant,项目名称:android-retrolambda-lombok,代码行数:8,代码来源:JcTreeConverter.java

示例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;
}
 
开发者ID:google,项目名称:error-prone,代码行数:8,代码来源:Finally.java

示例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);
    }
}
 
开发者ID:sebastianoe,项目名称:s4j,代码行数:10,代码来源:Pretty.java

示例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;
}
 
开发者ID:diy1,项目名称:error-prone-aspirator,代码行数:8,代码来源:Finally.java

示例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);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:6,代码来源:CasualDiff.java

示例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);
}
 
开发者ID:apache,项目名称:incubator-netbeans,代码行数:4,代码来源:CasualDiff.java

示例10: Continue

import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public JCContinue Continue(Name label) {
	return invoke(Continue, label);
}
 
开发者ID:git03394538,项目名称:lombok-ianchiu,代码行数:4,代码来源:JavacTreeMaker.java

示例11: AJCContinue

import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public AJCContinue(JCContinue ltree) {
    super(ltree.label, ltree.target);
}
 
开发者ID:pcgomes,项目名称:javaparser2jctree,代码行数:4,代码来源:AJCContinue.java

示例12: visitContinue

import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
@Override public void visitContinue(JCContinue tree) {
	printNode(tree);
	property("label", tree.label);
	indent--;
}
 
开发者ID:evant,项目名称:android-retrolambda-lombok,代码行数:6,代码来源:JcTreePrinter.java

示例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));
}
 
开发者ID:google,项目名称:error-prone,代码行数:5,代码来源:UContinue.java

示例14: FinallyJumpMatcher

import com.sun.tools.javac.tree.JCTree.JCContinue; //导入依赖的package包/类
public FinallyJumpMatcher(JCContinue jcContinue) {
  this.label = jcContinue.label;
  this.jumpType = JumpType.CONTINUE;
}
 
开发者ID:google,项目名称:error-prone,代码行数:5,代码来源:Finally.java

示例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;
}
 
开发者ID:sebastianoe,项目名称:s4j,代码行数:5,代码来源:Attr.java


注:本文中的com.sun.tools.javac.tree.JCTree.JCContinue类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。