--- source: tests/parser.rs description: "\n post http://localhost {\n header \"Authorization\" \"Bearer token\"\n body `\n {\"neet\": 1337}\n `\n }" expression: ast --- Program( source: "\n post http://localhost {\n header \"Authorization\" \"Bearer token\"\n body `\n {\"neet\": 1337}\n `\n }", items: [ Request(Request( method: POST, endpoint: Url(Literal( value: "http://localhost", span: Span( start: Position( value: 14, line: 1, col: 13, ), end: Position( value: 29, line: 1, col: 28, ), ), )), block: Some(Block( statements: [ Header( name: Ok(StringLiteral( raw: "\"Authorization\"", value: "Authorization", span: Span( start: Position( value: 48, line: 2, col: 15, ), end: Position( value: 62, line: 2, col: 29, ), ), )), value: String(StringLiteral( raw: "\"Bearer token\"", value: "Bearer token", span: Span( start: Position( value: 64, line: 2, col: 31, ), end: Position( value: 77, line: 2, col: 44, ), ), )), ), Body( value: TemplateStringLiteral( span: Span( start: Position( value: 92, line: 3, col: 13, ), end: Position( value: 125, line: 5, col: 8, ), ), parts: [ StringPart(StringLiteral( raw: "\n {\"neet\": 1337}\n ", value: "\n {\"neet\": 1337}\n ", span: Span( start: Position( value: 93, line: 3, col: 14, ), end: Position( value: 124, line: 3, col: 45, ), ), )), ], ), start: Position( value: 87, line: 3, col: 8, ), ), ], span: Span( start: Position( value: 31, line: 1, col: 30, ), end: Position( value: 135, line: 6, col: 8, ), ), )), span: Span( start: Position( value: 9, line: 1, col: 8, ), end: Position( value: 135, line: 6, col: 8, ), ), )), ], )