Class BinaryExprContext

    • Constructor Detail

    • Method Detail

      • typePatternExprsExposedToChild

        public java.util.List<TypePatternExpr> typePatternExprsExposedToChild​(Node child)
        Description copied from interface: Context
        The pattern expressions that are declared in this immediate context and made visible to a given child. This list could include values which are shadowed.
      • typePatternExprsExposedToChildByAnd

        private java.util.List<TypePatternExpr> typePatternExprsExposedToChildByAnd​(Node child)
        The following rules apply to a conditional-and expression a && b: - A pattern variable introduced by a when true is definitely matched at b. https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.3.1.1
      • typePatternExprsExposedToChildByOr

        private java.util.List<TypePatternExpr> typePatternExprsExposedToChildByOr​(Node child)
        The following rules apply to a conditional-and expression a || b: - A pattern variable introduced by a when false is definitely matched at b. https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.3.1.2