JsonPathFile
  JsonPathRootSegmentImpl(ROOT_SEGMENT)
    PsiElement($)('$')
  JsonPathExpressionSegmentImpl(EXPRESSION_SEGMENT)
    PsiElement([)('[')
    JsonPathFilterExpressionImpl(FILTER_EXPRESSION)
      PsiElement(?)('?')
      PsiElement(()('(')
      JsonPathConditionalExpressionImpl(CONDITIONAL_EXPRESSION)
        JsonPathPathExpressionImpl(PATH_EXPRESSION)
          JsonPathEvalSegmentImpl(EVAL_SEGMENT)
            PsiElement(@)('@')
          PsiElement(.)('.')
          JsonPathIdSegmentImpl(ID_SEGMENT)
            JsonPathIdImpl(ID)
              PsiElement(IDENTIFIER)('array')
        PsiWhiteSpace(' ')
        JsonPathBinaryConditionalOperatorImpl(BINARY_CONDITIONAL_OPERATOR)
          PsiElement(NAMED_OP)('empty')
        PsiWhiteSpace(' ')
        JsonPathPathExpressionImpl(PATH_EXPRESSION)
          JsonPathEvalSegmentImpl(EVAL_SEGMENT)
            PsiElement(@)('@')
          PsiElement(.)('.')
          JsonPathIdSegmentImpl(ID_SEGMENT)
            JsonPathIdImpl(ID)
              PsiElement(IDENTIFIER)('flag')
      PsiElement())(')')
    PsiElement(])(']')