Class FailDotExpression

All Implemented Interfaces:
ExpressionNode

public class FailDotExpression extends DotExpression
These expression cannot be generated in the syntax, but are used to mark that an object matcher (* : .) is being used inside an array, which is not allowed. The computeMatchContexts() method in ArrayExpression will inject a FailDotExpression, which is later used to detect that the matcher is used in an illegal location.
  • Field Details

    • where

      private String where
  • Constructor Details

    • FailDotExpression

      public FailDotExpression(Location location, String where)
  • Method Details