Class RulesAcceptor

  • All Implemented Interfaces:
    Acceptor

    public class RulesAcceptor
    extends ComplexAcceptorBaseImpl
    Acceptor that is used to validate root node of the island. This object receives DeclImpls and validates them.
    • Field Detail

      • owners

        protected final DeclImpl[] owners
    • Method Detail

      • getContents

        private static Expression[] getContents​(DeclImpl[] rules)
        helper function for constructor
      • createClone

        public Acceptor createClone()
        Description copied from interface: Acceptor
        clones this acceptor.

        You can keep a "bookmark" of the acceptor by cloning it. This is useful when you are trying to perform "partial validation".

        Cloned acceptor will behave in exactly the same way as the original one.