FILE
  LSMemoryCommandImpl(MEMORY_COMMAND)
    PsiElement(MEMORY)('MEMORY')
    PsiWhiteSpace(' ')
    PsiElement({)('{')
    PsiWhiteSpace('\n  ')
    LSMemoryDeclarationImpl(MEMORY_DECLARATION)
      LSNamedMemoryDeclImpl(NAMED_MEMORY_DECL)
        PsiElement(IDENTIFIER)('ram')
        PsiWhiteSpace(' ')
        LSMemoryDeclAttributesImpl(MEMORY_DECL_ATTRIBUTES)
          PsiElement(()('(')
          PsiElement(IDENTIFIER)('rwx')
          PsiElement())(')')
        PsiWhiteSpace('   ')
        PsiElement(:)(':')
        PsiWhiteSpace(' ')
        LSOriginAssignmentImpl(ORIGIN_ASSIGNMENT)
          PsiElement(ORIGIN)('org')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(INT)('0x1000')
        PsiElement(,)(',')
        PsiWhiteSpace(' ')
        LSLengthAssignmentImpl(LENGTH_ASSIGNMENT)
          PsiElement(LENGTH)('len')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(INT)('0x200')
    PsiWhiteSpace('\n  ')
    LSMemoryDeclarationImpl(MEMORY_DECLARATION)
      LSNamedMemoryDeclImpl(NAMED_MEMORY_DECL)
        PsiElement(IDENTIFIER)('flash')
        PsiWhiteSpace(' ')
        LSMemoryDeclAttributesImpl(MEMORY_DECL_ATTRIBUTES)
          PsiElement(()('(')
          PsiElement(IDENTIFIER)('rwx')
          PsiElement())(')')
        PsiWhiteSpace(' ')
        PsiElement(:)(':')
        PsiWhiteSpace(' ')
        LSOriginAssignmentImpl(ORIGIN_ASSIGNMENT)
          PsiElement(ORIGIN)('org')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(INT)('0x2000')
        PsiElement(,)(',')
        PsiWhiteSpace(' ')
        LSLengthAssignmentImpl(LENGTH_ASSIGNMENT)
          PsiElement(LENGTH)('len')
          PsiWhiteSpace(' ')
          PsiElement(=)('=')
          PsiWhiteSpace(' ')
          LSPrimaryExprImpl(PRIMARY_EXPR)
            PsiElement(INT)('0x200')
    PsiWhiteSpace('\n')
    PsiElement(})('}')
  PsiWhiteSpace('\n\n')
  LSSectionsCommandImpl(SECTIONS_COMMAND)
    PsiElement(SECTIONS)('SECTIONS')
    PsiWhiteSpace(' ')
    PsiElement({)('{')
    PsiWhiteSpace('\n  ')
    LSSectionStmtImpl(SECTION_STMT)
      LSOutputSectionDescriptionImpl(OUTPUT_SECTION_DESCRIPTION)
        PsiElement(IDENTIFIER)('.foo')
        PsiWhiteSpace(' ')
        PsiElement(:)(':')
        PsiWhiteSpace(' ')
        PsiElement({)('{')
        PsiWhiteSpace('\n    ')
        LSInputSectionDescriptionImpl(INPUT_SECTION_DESCRIPTION)
          LSInputSectionRuleImpl(INPUT_SECTION_RULE)
            PsiElement(*)('*')
            PsiElement(()('(')
            LSInputSectionsListImpl(INPUT_SECTIONS_LIST)
              PsiElement(IDENTIFIER)('.foo')
            PsiElement())(')')
        PsiWhiteSpace('\n    ')
        LSAssignmentExprImpl(ASSIGNMENT_EXPR)
          LSSymbolAssignmentImpl(SYMBOL_ASSIGNMENT)
            PsiElement(IDENTIFIER)('.')
            PsiWhiteSpace(' ')
            PsiElement(+=)('+=')
            PsiWhiteSpace(' ')
            LSPrimaryExprImpl(PRIMARY_EXPR)
              PsiElement(INT)('0x100')
        PsiElement(;)(';')
        PsiWhiteSpace('\n  ')
        PsiElement(})('}')
        PsiWhiteSpace(' ')
        LSOutputSectionRegionImpl(OUTPUT_SECTION_REGION)
          PsiElement(>)('>')
          PsiWhiteSpace(' ')
          PsiElement(IDENTIFIER)('ram')
        PsiWhiteSpace(' ')
        PsiElement(AT)('AT')
        LSOutputSectionRegionImpl(OUTPUT_SECTION_REGION)
          PsiElement(>)('>')
          PsiElement(IDENTIFIER)('flash')
    PsiWhiteSpace('\n  ')
    LSSectionStmtImpl(SECTION_STMT)
      LSOutputSectionDescriptionImpl(OUTPUT_SECTION_DESCRIPTION)
        PsiElement(IDENTIFIER)('.bar')
        PsiWhiteSpace(' ')
        PsiElement(:)(':')
        PsiWhiteSpace(' ')
        PsiElement({)('{')
        PsiWhiteSpace('\n    ')
        LSInputSectionDescriptionImpl(INPUT_SECTION_DESCRIPTION)
          LSInputSectionRuleImpl(INPUT_SECTION_RULE)
            PsiElement(*)('*')
            PsiElement(()('(')
            LSInputSectionsListImpl(INPUT_SECTIONS_LIST)
              PsiElement(IDENTIFIER)('.bar')
            PsiElement())(')')
        PsiWhiteSpace('\n  ')
        PsiElement(})('}')
        PsiWhiteSpace(' ')
        LSOutputSectionRegionImpl(OUTPUT_SECTION_REGION)
          PsiElement(>)('>')
          PsiWhiteSpace(' ')
          PsiElement(IDENTIFIER)('ram')
        PsiWhiteSpace(' ')
        PsiElement(AT)('AT')
        LSOutputSectionRegionImpl(OUTPUT_SECTION_REGION)
          PsiElement(>)('>')
          PsiElement(IDENTIFIER)('flash')
    PsiWhiteSpace('\n')
    PsiElement(})('}')