backyard-parser 0.1.10

Parse PHP code to AST node.
Documentation
---
source: crates/backyard-parser/tests/array.rs
expression: asts
snapshot_kind: text
---
node_type: program
children:
  - node_type: array
    is_short: true
    items:
      - node_type: array_item
        key:
          node_type: string
          quote: Single
          value:
            - 97
          loc:
            start:
              line: 1
              column: 1
              offset: 1
            end:
              line: 1
              column: 1
              offset: 1
          leadings: ~
          trailings: ~
        value:
          node_type: number
          value:
            - 49
          loc:
            start:
              line: 1
              column: 8
              offset: 8
            end:
              line: 1
              column: 8
              offset: 8
          leadings: ~
          trailings: ~
        loc:
          start:
            line: 1
            column: 5
            offset: 5
          end:
            line: 1
            column: 8
            offset: 8
        leadings: ~
        trailings: ~
      - node_type: array_item
        key:
          node_type: string
          quote: Single
          value:
            - 98
          loc:
            start:
              line: 1
              column: 11
              offset: 11
            end:
              line: 1
              column: 11
              offset: 11
          leadings: ~
          trailings: ~
        value:
          node_type: number
          value:
            - 50
          loc:
            start:
              line: 1
              column: 18
              offset: 18
            end:
              line: 1
              column: 18
              offset: 18
          leadings: ~
          trailings: ~
        loc:
          start:
            line: 1
            column: 15
            offset: 15
          end:
            line: 1
            column: 18
            offset: 18
        leadings: ~
        trailings: ~
    loc:
      start:
        line: 1
        column: 0
        offset: 0
      end:
        line: 1
        column: 19
        offset: 19
    leadings: ~
    trailings: ~
loc:
  start:
    line: 1
    column: 0
    offset: 0
  end:
    line: 1
    column: 20
    offset: 20
leadings: ~
trailings: ~