--- source: tests/parser.rs description: "\n post http://localhost {\n header \"Authorization\" \"Bearer token\"\n header \"random\" \"tokener Bear\"\n }" expression: ast --- Program( source: "\n post http://localhost {\n header \"Authorization\" \"Bearer token\"\n header \"random\" \"tokener Bear\"\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, ), ), )), ), Header( name: Ok(StringLiteral( raw: "\"random\"", value: "random", span: Span( start: Position( value: 94, line: 3, col: 15, ), end: Position( value: 101, line: 3, col: 22, ), ), )), value: String(StringLiteral( raw: "\"tokener Bear\"", value: "tokener Bear", span: Span( start: Position( value: 103, line: 3, col: 24, ), end: Position( value: 116, line: 3, col: 37, ), ), )), ), ], span: Span( start: Position( value: 31, line: 1, col: 30, ), end: Position( value: 126, line: 4, col: 8, ), ), )), span: Span( start: Position( value: 9, line: 1, col: 8, ), end: Position( value: 126, line: 4, col: 8, ), ), )), ], )