Module jamal.core

Class For

  • All Implemented Interfaces:
    Macro

    public class For
    extends java.lang.Object
    implements Macro
    Define the for looping macro. The syntax of the macro is
         {#for var in (a,b,c,d)= var is either a, b, c or d
         }
     

    The default separator is , (comma), but it can be redefined to be any regular expression assigning a value to the user defined macro $forsep.

    • Constructor Summary

      Constructors 
      Constructor Description
      For()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String evaluate​(Input input, Processor processor)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax0.jamal.api.Macro

        getId