backyard-parser 0.1.10

Parse PHP code to AST node.
Documentation
---
source: crates/backyard-parser/tests/global.rs
expression: asts
snapshot_kind: text
---
node_type: program
children:
  - node_type: global
    items:
      - node_type: variable
        name:
          node_type: identifier
          name:
            - 116
            - 105
            - 116
            - 108
            - 101
          loc:
            start:
              line: 1
              column: 7
              offset: 7
            end:
              line: 1
              column: 12
              offset: 12
          leadings: ~
          trailings: ~
        loc:
          start:
            line: 1
            column: 7
            offset: 7
          end:
            line: 1
            column: 12
            offset: 12
        leadings: ~
        trailings: ~
      - node_type: variable
        name:
          node_type: identifier
          name:
            - 104
            - 111
            - 111
            - 107
            - 95
            - 115
            - 117
            - 102
            - 102
            - 105
            - 120
          loc:
            start:
              line: 1
              column: 15
              offset: 15
            end:
              line: 1
              column: 26
              offset: 26
          leadings: ~
          trailings: ~
        loc:
          start:
            line: 1
            column: 15
            offset: 15
          end:
            line: 1
            column: 26
            offset: 26
        leadings: ~
        trailings: ~
      - node_type: variable
        name:
          node_type: identifier
          name:
            - 99
            - 117
            - 114
            - 114
            - 101
            - 110
            - 116
            - 95
            - 115
            - 99
            - 114
            - 101
            - 101
            - 110
          loc:
            start:
              line: 1
              column: 29
              offset: 29
            end:
              line: 1
              column: 43
              offset: 43
          leadings: ~
          trailings: ~
        loc:
          start:
            line: 1
            column: 29
            offset: 29
          end:
            line: 1
            column: 43
            offset: 43
        leadings: ~
        trailings: ~
    loc:
      start:
        line: 1
        column: 0
        offset: 0
      end:
        line: 1
        column: 44
        offset: 44
    leadings: ~
    trailings: ~
loc:
  start:
    line: 1
    column: 0
    offset: 0
  end:
    line: 1
    column: 44
    offset: 44
leadings: ~
trailings: ~