Package org.mvel2.ast

Class ForNode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class ForNode
    extends BlockNode
    See Also:
    Serialized Form
    • Constructor Detail

      • ForNode

        public ForNode​(char[] expr,
                       int start,
                       int offset,
                       int blockStart,
                       int blockEnd,
                       int fields,
                       ParserContext pCtx)
    • Method Detail

      • buildForEach

        private boolean buildForEach​(char[] condition,
                                     int start,
                                     int offset,
                                     int blockStart,
                                     int blockEnd,
                                     int fields,
                                     ParserContext pCtx)
      • nextCondPart

        private static int nextCondPart​(char[] condition,
                                        int cursor,
                                        int end,
                                        boolean allowEnd)