Package org.oorexx.language.statement

Examples of org.oorexx.language.statement.OORexxExpose


            routine.addOption(OORexxDirectiveOption.valueOf(words[i].toUpperCase()));
          }catch(IllegalArgumentException ex){
           
          }
        if(words[0].toLowerCase().equals("expose")){
          OORexxExpose expose = new OORexxExpose();
         
          for(int k = 1; k < words.length ; k++){
            OORexxVariable var = new OORexxVariable();
              var.setName(words[k]);
            expose.appendVariable(var);
          }
         
          routine.setExpose(expose);
        }
       
View Full Code Here


          if(i == 0)
          content.append(line + "\n");
        }
       
        if(words[0].toLowerCase().equals("expose")){
          OORexxExpose expose = new OORexxExpose();
         
          for(int k = 1; k < words.length ; k++){
            OORexxVariable var = new OORexxVariable();
              var.setName(words[k]);
            expose.appendVariable(var);
          }
         
          method.setExpose(expose);
        }
       
View Full Code Here

 
  private static OORexxExpose parseExposeInMethodDirective(String line){
   
    if(!line.toLowerCase().contains(" expose")) return null;
   
    OORexxExpose expose = new OORexxExpose();
   
    String[] exposeVars = line.substring(line.toLowerCase().indexOf(" expose") + 7, line.indexOf(")")).replace("(", "").replace(")", "").trim().split(",");
   
    for(String var: exposeVars)
      expose.appendVariable(new OORexxVariable(var.trim()));
   
    return expose;
  }
View Full Code Here

TOP

Related Classes of org.oorexx.language.statement.OORexxExpose

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.