All Implemented Interfaces:
Context

public class BinaryExprContext extends ExpressionContext<BinaryExpr>
  • Constructor Details

  • Method Details

    • typePatternExprsExposedToChild

      public 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 List<TypePatternExpr> typePatternExprsExposedToChildByAnd(Node child)
      The following rules apply to a conditional-and expression a invalid input: '&'invalid input: '&' 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 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