com.sun.tools.javac.main.JavaCompiler.flow()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(5.7k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中com.sun.tools.javac.main.JavaCompiler.flow()方法的一些代码示例,展示了JavaCompiler.flow()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JavaCompiler.flow()方法的具体详情如下:
包路径:com.sun.tools.javac.main.JavaCompiler
类名称:JavaCompiler
方法名:flow

JavaCompiler.flow介绍

[英]The flow analyzer.
[中]流量分析仪。

代码示例

代码示例来源:origin: cincheo/jsweet

todo = compiler.flow(todo);

代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac

public void process(Env<AttrContext> env) {
    handleFlowResults(compiler.flow(compiler.attribute(env)), results);
  }
};

代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac

public void process(Env<AttrContext> env) {
    handleFlowResults(compiler.flow(compiler.attribute(env)), results);
  }
};

代码示例来源:origin: sc.fiji/javac

public void process(Env<AttrContext> env) {
    handleFlowResults(compiler.flow(compiler.attribute(env)), results);
  }
};

代码示例来源:origin: konsoletyper/teavm-javac

public void process(Env<AttrContext> env) {
    handleFlowResults(compiler.flow(compiler.attribute(env)), results);
  }
};

代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac

/**
 * Perform dataflow checks on an attributed parse tree.
 */
public List<Env<AttrContext>> flow(Env<AttrContext> env) {
  ListBuffer<Env<AttrContext>> results = lb();
  flow(env, results);
  return stopIfError(results);
}

代码示例来源:origin: sc.fiji/javac

/**
 * Perform dataflow checks on an attributed parse tree.
 */
public Queue<Env<AttrContext>> flow(Env<AttrContext> env) {
  ListBuffer<Env<AttrContext>> results = lb();
  flow(env, results);
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac

/**
 * Perform dataflow checks on an attributed parse tree.
 */
public Queue<Env<AttrContext>> flow(Env<AttrContext> env) {
  ListBuffer<Env<AttrContext>> results = new ListBuffer<>();
  flow(env, results);
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: konsoletyper/teavm-javac

/**
 * Perform dataflow checks on an attributed parse tree.
 */
public Queue<Env<AttrContext>> flow(Env<AttrContext> env) {
  ListBuffer<Env<AttrContext>> results = new ListBuffer<>();
  flow(env, results);
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: konsoletyper/teavm-javac

/**
 * Perform dataflow checks on attributed parse trees.
 * These include checks for definite assignment and unreachable statements.
 * If any errors occur, an empty list will be returned.
 * @returns the list of attributed parse trees
 */
public Queue<Env<AttrContext>> flow(Queue<Env<AttrContext>> envs) {
  ListBuffer<Env<AttrContext>> results = new ListBuffer<>();
  for (Env<AttrContext> env: envs) {
    flow(env, results);
  }
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac

/**
 * Perform dataflow checks on attributed parse trees.
 * These include checks for definite assignment and unreachable statements.
 * If any errors occur, an empty list will be returned.
 * @returns the list of attributed parse trees
 */
public Queue<Env<AttrContext>> flow(Queue<Env<AttrContext>> envs) {
  ListBuffer<Env<AttrContext>> results = new ListBuffer<>();
  for (Env<AttrContext> env: envs) {
    flow(env, results);
  }
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: sc.fiji/javac

/**
 * Perform dataflow checks on attributed parse trees.
 * These include checks for definite assignment and unreachable statements.
 * If any errors occur, an empty list will be returned.
 * @returns the list of attributed parse trees
 */
public Queue<Env<AttrContext>> flow(Queue<Env<AttrContext>> envs) {
  ListBuffer<Env<AttrContext>> results = lb();
  for (Env<AttrContext> env: envs) {
    flow(env, results);
  }
  return stopIfError(CompileState.FLOW, results);
}

代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac

/**
 * Perform dataflow checks on attributed parse trees.
 * These include checks for definite assignment and unreachable statements.
 * If any errors occur, an empty list will be returned.
 * @returns the list of attributed parse trees
 */
public List<Env<AttrContext>> flow(List<Env<AttrContext>> envs) {
  ListBuffer<Env<AttrContext>> results = lb();
  for (List<Env<AttrContext>> l = envs; l.nonEmpty(); l = l.tail) {
    flow(l.head, results);
  }
  return stopIfError(results);
}

代码示例来源:origin: sc.fiji/javac

flow(attribute(todo));
break;
generate(desugar(flow(attribute(todo))));
break;
  Queue<Queue<Env<AttrContext>>> q = todo.groupByFile();
  while (!q.isEmpty() && !shouldStop(CompileState.ATTR)) {
    generate(desugar(flow(attribute(q.remove()))));
  generate(desugar(flow(attribute(todo.remove()))));
break;

代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac

flow(attribute(todo));
break;
generate(desugar(flow(attribute(todo))));
break;
  Queue<Queue<Env<AttrContext>>> q = todo.groupByFile();
  while (!q.isEmpty() && !shouldStop(CompileState.ATTR)) {
    generate(desugar(flow(attribute(q.remove()))));
  generate(desugar(flow(attribute(todo.remove()))));
break;

代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac

flow(attribute(todo));
break;
generate(desugar(flow(attribute(todo))));
break;
for (List<Env<AttrContext>> list : groupByFile(flow(attribute(todo))).values())
  generate(desugar(list));
break;
  generate(desugar(flow(attribute(todo.next()))));
break;

代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac

try {
  if (classes == null) {
    handleFlowResults(compiler.flow(compiler.attribute(compiler.todo)), results);
  } else {
    Filter f = new Filter() {

代码示例来源:origin: org.jvnet.sorcerer/sorcerer-javac

try {
  if (classes == null) {
    handleFlowResults(compiler.flow(compiler.attribute(compiler.todo)), results);
  } else {
    Filter f = new Filter() {

代码示例来源:origin: sc.fiji/javac

try {
  if (classes == null) {
    handleFlowResults(compiler.flow(compiler.attribute(compiler.todo)), results);
  } else {
    Filter f = new Filter() {

代码示例来源:origin: konsoletyper/teavm-javac

try {
  if (classes == null) {
    handleFlowResults(compiler.flow(compiler.attribute(compiler.todo)), results);
  } else {
    Filter f = new Filter() {

相关文章