fromIterable static method

BlockSandwich fromIterable(
  1. StartBlock first,
  2. Iterable<DerivationCitrusSyntax> second,
  3. EndBlock third
)

Implementation

static BlockSandwich fromIterable(StartBlock first, Iterable<DerivationCitrusSyntax> second, EndBlock third) {

    final listResult = CitrusSyntaxList(second);

    final result = BlockSandwich(first, listResult, third);

    return result;

}