Class FormImplicitRefInferrer

  • All Implemented Interfaces:
    Visitors.IVisitor

    public class FormImplicitRefInferrer
    extends Object
    implements Visitors.IVisitor
    TODO Verify and complete implementation

    Infers ContextDefs and Module for Form. Note that an instance of this class may be shared between different instances of the FormDerivedStateComputer.

    • Constructor Detail

      • FormImplicitRefInferrer

        public FormImplicitRefInferrer()
    • Method Detail

      • visit

        public boolean visit​(org.eclipse.emf.ecore.EObject object)
        Description copied from interface: Visitors.IVisitor
        Visits the given object. Returns whether the contents of the object should also be visited.
        Specified by:
        visit in interface Visitors.IVisitor
        Parameters:
        object - not null
        Returns:
        true if the contents of the given object should be visited, and false otherwise
      • _infer

        protected boolean _infer​(org.eclipse.emf.ecore.EObject object,
                                 IEObjectProvider typeProvider)
      • infer

        public boolean infer​(org.eclipse.emf.ecore.EObject form,
                             IEObjectProvider typeProvider)