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 Detail

      • where

        private java.lang.String where
    • Constructor Detail

      • FailDotExpression

        public FailDotExpression​(Location location,
                                 java.lang.String where)