Package net.sf.jmatchparser.template.engine.operation

Examples of net.sf.jmatchparser.template.engine.operation.CallOperation


  public PlainBlockCommandState parse(MatchTemplateImpl template, String parameters) {
    Label returnLabel = new Label();
    Label templateLabel = template.getDefLabels().get(parameters);
    if (templateLabel == null)
      throw new RuntimeException("No DEFTEMPLATE named " + parameters + " found");
    template.appendOperation(new CallOperation(template.getCurrentTemplatePosition(), templateLabel, returnLabel));
    returnLabel.setDestinationToNextCommand(template);
    return null;
  }
View Full Code Here

TOP

Related Classes of net.sf.jmatchparser.template.engine.operation.CallOperation

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.