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 Details

    • owners

      protected final DeclImpl[] owners
  • Constructor Details

  • Method Details

    • createCombined

      private static Expression createCombined(ExpressionPool pool, DeclImpl[] rules)
      helper function for constructor
    • 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.

    • getSatisfiedElementDecls

      org.iso_relax.dispatcher.ElementDecl[] getSatisfiedElementDecls()
      collects satisfied ElementDeclImpls.
      See Also: