Class MatchesOperation

  • Direct Known Subclasses:
    DoMatchOperation

    public class MatchesOperation
    extends org.eclipse.epsilon.eol.execute.operations.simple.SimpleOperation
    • Field Detail

      • forcedMatch

        protected boolean forcedMatch
    • Constructor Detail

      • MatchesOperation

        public MatchesOperation()
    • Method Detail

      • matchInstances

        protected boolean matchInstances​(Object left,
                                         Object right,
                                         IEclContext context)
                                  throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Throws:
        org.eclipse.epsilon.eol.exceptions.EolRuntimeException
      • matchCollectionOrdered

        protected boolean matchCollectionOrdered​(Collection<?> leftColFlat,
                                                 Collection<?> rightColFlat,
                                                 IEclContext context)
                                          throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Parameters:
        leftColFlat -
        rightColFlat -
        context -
        Returns:
        Throws:
        org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Since:
        1.6
      • matchCollectionUnordered

        protected boolean matchCollectionUnordered​(Collection<?> leftColFlat,
                                                   Collection<?> rightColFlat,
                                                   IEclContext context)
                                            throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Parameters:
        leftColFlat -
        rightColFlat -
        context -
        Returns:
        Throws:
        org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Since:
        1.6
      • execute

        public Boolean execute​(Object source,
                               List<?> parameters,
                               org.eclipse.epsilon.eol.execute.context.IEolContext context_,
                               org.eclipse.epsilon.common.module.ModuleElement ast)
                        throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
        Specified by:
        execute in class org.eclipse.epsilon.eol.execute.operations.simple.SimpleOperation
        Throws:
        org.eclipse.epsilon.eol.exceptions.EolRuntimeException