FILE
  LSMemoryCommandImpl(MEMORY_COMMAND)
    PsiElement(MEMORY)('MEMORY')
    PsiWhiteSpace(' ')
    PsiElement({)('{')
    PsiWhiteSpace('\n')
    PsiElement(PP_DIRECTIVE)('#ifdef CONFIG_GEN_ISR_TABLES\n')
    PsiWhiteSpace('  ')
    LSMemoryDeclarationImpl(MEMORY_DECLARATION)
      LSNamedMemoryDeclImpl(NAMED_MEMORY_DECL)
        PsiElement(IDENTIFIER)('IDT_LIST')
        PsiWhiteSpace(' ')
        PsiElement(:)(':')
        PsiWhiteSpace('\n\t')
        LSOriginAssignmentImpl(ORIGIN_ASSIGNMENT)
          PsiElement(ORIGIN)('org')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(IDENTIFIER)('IDT_BASE')
        PsiElement(,)(',')
        PsiWhiteSpace('\n\t')
        LSLengthAssignmentImpl(LENGTH_ASSIGNMENT)
          PsiElement(LENGTH)('len')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(IDENTIFIER)('IDT_SIZE')
    PsiWhiteSpace('\n')
    PsiElement(PP_DIRECTIVE)('#endif\n')
    PsiWhiteSpace('  ')
    LSMemoryDeclarationImpl(MEMORY_DECLARATION)
      LSNamedMemoryDeclImpl(NAMED_MEMORY_DECL)
        PsiElement(IDENTIFIER)('lpram')
        PsiWhiteSpace(' ')
        PsiElement(:)(':')
        PsiWhiteSpace('\n\t')
        LSOriginAssignmentImpl(ORIGIN_ASSIGNMENT)
          PsiElement(ORIGIN)('org')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(IDENTIFIER)('LP_SRAM_BASE')
        PsiElement(,)(',')
        PsiWhiteSpace('\n\t')
        LSLengthAssignmentImpl(LENGTH_ASSIGNMENT)
          PsiElement(LENGTH)('len')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(IDENTIFIER)('LP_SRAM_SIZE')
    PsiWhiteSpace('\n')
    PsiElement(})('}')
  PsiWhiteSpace('\n\n')
  PsiElement(PP_DIRECTIVE)('#define MY_MEMORY_CMD            \\n')
  PsiElement(PP_DIRECTIVE)('      MEMORY {                   \\n')
  PsiElement(PP_DIRECTIVE)('        LST : org = 123, len = 4 \\n')
  PsiElement(PP_DIRECTIVE)('      }')