Class ClosureReverseAbstractInterpreter

    • Constructor Detail

      • ClosureReverseAbstractInterpreter

        public ClosureReverseAbstractInterpreter​(JSTypeRegistry typeRegistry)
    • Method Detail

      • getPreciserScopeKnowingConditionOutcome

        public FlowScope getPreciserScopeKnowingConditionOutcome​(Node condition,
                                                                 FlowScope blindScope,
                                                                 Outcome outcome)
        Description copied from interface: ReverseAbstractInterpreter
        Calculates a precise version of the scope knowing the outcome of the condition.
        Parameters:
        condition - the condition's expression
        blindScope - the scope without knowledge about the outcome of the condition
        outcome - the outcome of the condition