SHELL_SCRIPT
  COMMANDS_LIST
    PIPELINE_COMMAND
      PIPELINE
        IF_COMMAND
          PsiElement(if)('if')
          PsiWhiteSpace(' ')
          COMPOUND_LIST
            PIPELINE_COMMAND
              PIPELINE
                CONDITIONAL_COMMAND
                  PsiElement([)('[')
                  PsiWhiteSpace(' ')
                  LITERAL_CONDITION
                    PsiElement(word)('-e')
                  PsiWhiteSpace(' ')
                  LITERAL_CONDITION
                    PsiElement(word)('/lib/init/splash-functions-base')
                  PsiWhiteSpace(' ')
                  PsiElement(])(']')
            PsiWhiteSpace(' ')
            PsiElement(;)(';')
          PsiWhiteSpace(' ')
          THEN_CLAUSE
            PsiElement(then)('then')
            COMPOUND_LIST
              PsiElement(\n)('\n')
              PsiWhiteSpace('    ')
              PIPELINE_COMMAND
                PIPELINE
                  INCLUDE_COMMAND
                    INCLUDE_DIRECTIVE
                      PsiElement(word)('.')
                    PsiWhiteSpace(' ')
                    LITERAL
                      PsiElement(word)('/lib/init/splash-functions-base')
              PsiElement(\n)('\n')
          ELSE_CLAUSE
            PsiElement(else)('else')
            COMPOUND_LIST
              PsiElement(\n)('\n')
              PsiWhiteSpace('    ')
              PsiComment(Comment)('# Quiet down script if old initscripts version without /lib/init/splash-functions-base is used.')
              PsiElement(\n)('\n')
              PsiWhiteSpace('    ')
              PIPELINE_COMMAND
                PIPELINE
                  FUNCTION_DEFINITION
                    PsiElement(word)('splash_progress')
                    PsiElement(()('(')
                    PsiElement())(')')
                    PsiWhiteSpace(' ')
                    BLOCK
                      PsiElement({)('{')
                      PsiWhiteSpace(' ')
                      COMPOUND_LIST
                        PIPELINE_COMMAND
                          PIPELINE
                            SIMPLE_COMMAND
                              GENERIC_COMMAND_DIRECTIVE
                                LITERAL
                                  PsiElement(word)('return')
                              PsiWhiteSpace(' ')
                              NUMBER
                                PsiElement(int)('1')
                        PsiElement(;)(';')
                      PsiWhiteSpace(' ')
                      PsiElement(})('}')
              PsiElement(\n)('\n')
          PsiElement(fi)('fi')