Package dk.brics.xact.analysis.flowgraph.statements

Examples of dk.brics.xact.analysis.flowgraph.statements.PlugStm


  /**
   * Generates a PlugStm for a plug-wrap operation.
   */
  private void putPlugWrap(Value base, Value gap, ValueBox source) {
    hardcodeResult = makevar();
    cfg.addStatement(new PlugStm(PlugStm.Kind.PLUGWRAP,
        hardcodeResult,
        translateExpr(base),
        context.getConstantString(gap),
        Automaton.makeEmpty(),
        translateExpr(source.getValue()),
View Full Code Here


  /**
   * Generates a PlugStm for a close operation.
   */
  private void putClose(Value base) {
    hardcodeResult = makevar();
    cfg.addStatement(new PlugStm(PlugStm.Kind.CLOSE, hardcodeResult, translateExpr(base),
        null, null, null, context.getCurrentOrigin()));
        checkDiscardedResult();
  }
View Full Code Here

  /**
   * Generates a PlugStm for a normal plug operation.
   */
  private void putPlug(Value base, Value gap, ValueBox source) {
    hardcodeResult = makevar();
    cfg.addStatement(addStringStatement(new PlugStm(PlugStm.Kind.PLUG,
        hardcodeResult,
        translateExpr(base),
        context.getConstantString(gap),
        null,
        getVariableFromObjectExp(source),
View Full Code Here

  /**
   * Generates a PlugStm for a multi-plug operation.
   */
  private void putPlugList(Value base, Value gap, ValueBox source) {
    hardcodeResult = makevar();
    cfg.addStatement(new PlugStm(PlugStm.Kind.PLUGMULTI,
        hardcodeResult,
        translateExpr(base),
        context.getConstantString(gap),
        Automaton.makeEmpty(), // <-- string source is set in ArrayTransformer, not as a hotspot
        translateExpr(source.getValue()),
View Full Code Here

TOP

Related Classes of dk.brics.xact.analysis.flowgraph.statements.PlugStm

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.