java.lang.Object
ortus.boxlang.runtime.components.Component
ortus.boxlang.runtime.components.system.Loop

@BoxComponent(requiresBody=true) public class Loop extends Component
  • Constructor Details

    • Loop

      public Loop()
      -------------------------------------------------------------------------- Constructor(s) --------------------------------------------------------------------------
  • Method Details

    • _invoke

      public Component.BodyResult _invoke(IBoxContext context, IStruct attributes, Component.ComponentBody body, IStruct executionState)
      Different items are required based on loop type. Items listed as required may not be depending on your loop type. Loop forms: [query] [condition] [index + from + to ] [index + list] [collection + item ] *
      Specified by:
      _invoke in class Component
      Parameters:
      context - The context in which the Component is being invoked
      attributes - The attributes to the Component
      body - The body of the Component
      executionState - The execution state of the Component
      Returns:
      The result of the invocation