svelte-parse
Version:
An increidbly relaxed svelte-parser
2,134 lines (2,133 loc) • 43 kB
JSON
{
"type": "root",
"children": [
{
"type": "svelteScript",
"tagName": "script",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n import Avatar, { options } from '@sveltekit/ui/Avatar';\n import NumberInput from '@sveltekit/ui/NumberInput';\n import { Alert as AlertIcon } from '@sveltekit/ui/Icons';\n\n\n let image = '/avatar_example.gif';\n let customSize = 150;\n let initials = 'HI';\n\n let Component = AlertIcon;\n",
"position": {
"start": {
"line": 1,
"column": 9,
"offset": 8
},
"end": {
"line": 12,
"column": 1,
"offset": 298
}
}
}
],
"position": {
"start": {
"line": 1,
"column": 1,
"offset": 0
},
"end": {
"line": 12,
"column": 10,
"offset": 307
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 12,
"column": 10,
"offset": 307
},
"end": {
"line": 14,
"column": 1,
"offset": 309
}
}
},
{
"type": "svelteStyle",
"tagName": "style",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n .customSize span {\n display: block;\n margin: 0 0 5px;\n }\n",
"position": {
"start": {
"line": 14,
"column": 8,
"offset": 316
},
"end": {
"line": 19,
"column": 1,
"offset": 383
}
}
}
],
"position": {
"start": {
"line": 14,
"column": 1,
"offset": 309
},
"end": {
"line": 19,
"column": 9,
"offset": 391
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 19,
"column": 9,
"offset": 391
},
"end": {
"line": 21,
"column": 1,
"offset": 393
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "row",
"position": {
"start": {
"line": 21,
"column": 13,
"offset": 405
},
"end": {
"line": 21,
"column": 17,
"offset": 409
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 21,
"column": 6,
"offset": 398
},
"end": {
"line": 21,
"column": 17,
"offset": 409
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 21,
"column": 18,
"offset": 410
},
"end": {
"line": 22,
"column": 3,
"offset": 413
}
}
},
{
"type": "svelteElement",
"tagName": "label",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "customSize",
"position": {
"start": {
"line": 22,
"column": 17,
"offset": 427
},
"end": {
"line": 22,
"column": 28,
"offset": 438
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 22,
"column": 10,
"offset": 420
},
"end": {
"line": 22,
"column": 28,
"offset": 438
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 22,
"column": 29,
"offset": 439
},
"end": {
"line": 23,
"column": 5,
"offset": 444
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "Custom size",
"position": {
"start": {
"line": 23,
"column": 11,
"offset": 450
},
"end": {
"line": 23,
"column": 22,
"offset": 461
}
}
}
],
"position": {
"start": {
"line": 23,
"column": 5,
"offset": 444
},
"end": {
"line": 23,
"column": 29,
"offset": 468
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 23,
"column": 29,
"offset": 468
},
"end": {
"line": 24,
"column": 5,
"offset": 473
}
}
},
{
"type": "svelteComponent",
"tagName": "NumberInput",
"properties": [
{
"type": "svelteProperty",
"name": "step",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 24,
"column": 23,
"offset": 491
},
"end": {
"line": 24,
"column": 27,
"offset": 495
}
},
"expression": {
"type": "svelteExpression",
"value": "10",
"position": {
"start": {
"line": 24,
"column": 24,
"offset": 492
},
"end": {
"line": 24,
"column": 26,
"offset": 494
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 24,
"column": 18,
"offset": 486
},
"end": {
"line": 24,
"column": 27,
"offset": 495
}
}
},
{
"type": "svelteDirective",
"name": "bind",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 24,
"column": 39,
"offset": 507
},
"end": {
"line": 24,
"column": 51,
"offset": 519
}
},
"expression": {
"type": "svelteExpression",
"value": "customSize",
"position": {
"start": {
"line": 24,
"column": 40,
"offset": 508
},
"end": {
"line": 24,
"column": 50,
"offset": 518
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 24,
"column": 28,
"offset": 496
},
"end": {
"line": 24,
"column": 51,
"offset": 519
}
},
"specifier": "value"
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 24,
"column": 5,
"offset": 473
},
"end": {
"line": 24,
"column": 54,
"offset": 522
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 24,
"column": 54,
"offset": 522
},
"end": {
"line": 25,
"column": 3,
"offset": 525
}
}
}
],
"position": {
"start": {
"line": 22,
"column": 3,
"offset": 413
},
"end": {
"line": 25,
"column": 11,
"offset": 533
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 25,
"column": 11,
"offset": 533
},
"end": {
"line": 26,
"column": 1,
"offset": 534
}
}
}
],
"position": {
"start": {
"line": 21,
"column": 1,
"offset": 393
},
"end": {
"line": 26,
"column": 7,
"offset": 540
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 26,
"column": 7,
"offset": 540
},
"end": {
"line": 28,
"column": 1,
"offset": 542
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "row",
"position": {
"start": {
"line": 28,
"column": 13,
"offset": 554
},
"end": {
"line": 28,
"column": 17,
"offset": 558
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 28,
"column": 6,
"offset": 547
},
"end": {
"line": 28,
"column": 17,
"offset": 558
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 28,
"column": 18,
"offset": 559
},
"end": {
"line": 29,
"column": 3,
"offset": 562
}
}
},
{
"type": "svelteBranchingBlock",
"name": "each",
"branches": [
{
"type": "svelteBranch",
"name": "each",
"expression": {
"type": "svelteExpression",
"value": "Object.entries(options.size) as [sizeKey, size]",
"position": {
"start": {
"line": 29,
"column": 10,
"offset": 569
},
"end": {
"line": 29,
"column": 57,
"offset": 616
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 29,
"column": 58,
"offset": 617
},
"end": {
"line": 30,
"column": 5,
"offset": 622
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 30,
"column": 11,
"offset": 628
},
"end": {
"line": 31,
"column": 7,
"offset": 635
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "src",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 31,
"column": 19,
"offset": 647
},
"end": {
"line": 31,
"column": 26,
"offset": 654
}
},
"expression": {
"type": "svelteExpression",
"value": "image",
"position": {
"start": {
"line": 31,
"column": 20,
"offset": 648
},
"end": {
"line": 31,
"column": 25,
"offset": 653
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 31,
"column": 15,
"offset": 643
},
"end": {
"line": 31,
"column": 26,
"offset": 654
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 31,
"column": 28,
"offset": 656
},
"end": {
"line": 31,
"column": 32,
"offset": 660
}
}
},
"position": {
"start": {
"line": 31,
"column": 27,
"offset": 655
},
"end": {
"line": 31,
"column": 32,
"offset": 660
}
}
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 31,
"column": 27,
"offset": 655
},
"end": {
"line": 31,
"column": 32,
"offset": 660
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 31,
"column": 7,
"offset": 635
},
"end": {
"line": 31,
"column": 36,
"offset": 664
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 31,
"column": 36,
"offset": 664
},
"end": {
"line": 32,
"column": 5,
"offset": 669
}
}
}
],
"position": {
"start": {
"line": 30,
"column": 5,
"offset": 622
},
"end": {
"line": 32,
"column": 12,
"offset": 676
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 32,
"column": 12,
"offset": 676
},
"end": {
"line": 33,
"column": 3,
"offset": 679
}
}
}
],
"position": {
"start": {
"line": 29,
"column": 3,
"offset": 562
},
"end": {
"line": 33,
"column": 3,
"offset": 679
}
}
}
],
"position": {
"start": {
"line": 29,
"column": 3,
"offset": 562
},
"end": {
"line": 33,
"column": 10,
"offset": 686
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 33,
"column": 10,
"offset": 686
},
"end": {
"line": 34,
"column": 3,
"offset": 689
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 34,
"column": 9,
"offset": 695
},
"end": {
"line": 35,
"column": 5,
"offset": 700
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "src",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 35,
"column": 17,
"offset": 712
},
"end": {
"line": 35,
"column": 24,
"offset": 719
}
},
"expression": {
"type": "svelteExpression",
"value": "image",
"position": {
"start": {
"line": 35,
"column": 18,
"offset": 713
},
"end": {
"line": 35,
"column": 23,
"offset": 718
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 35,
"column": 13,
"offset": 708
},
"end": {
"line": 35,
"column": 24,
"offset": 719
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 35,
"column": 30,
"offset": 725
},
"end": {
"line": 35,
"column": 42,
"offset": 737
}
},
"expression": {
"type": "svelteExpression",
"value": "customSize",
"position": {
"start": {
"line": 35,
"column": 31,
"offset": 726
},
"end": {
"line": 35,
"column": 41,
"offset": 736
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 35,
"column": 25,
"offset": 720
},
"end": {
"line": 35,
"column": 42,
"offset": 737
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 35,
"column": 5,
"offset": 700
},
"end": {
"line": 35,
"column": 45,
"offset": 740
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 35,
"column": 45,
"offset": 740
},
"end": {
"line": 36,
"column": 3,
"offset": 743
}
}
}
],
"position": {
"start": {
"line": 34,
"column": 3,
"offset": 689
},
"end": {
"line": 36,
"column": 10,
"offset": 750
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 36,
"column": 10,
"offset": 750
},
"end": {
"line": 37,
"column": 1,
"offset": 751
}
}
}
],
"position": {
"start": {
"line": 28,
"column": 1,
"offset": 542
},
"end": {
"line": 37,
"column": 7,
"offset": 757
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 37,
"column": 7,
"offset": 757
},
"end": {
"line": 39,
"column": 1,
"offset": 759
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "row",
"position": {
"start": {
"line": 39,
"column": 13,
"offset": 771
},
"end": {
"line": 39,
"column": 17,
"offset": 775
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 39,
"column": 6,
"offset": 764
},
"end": {
"line": 39,
"column": 17,
"offset": 775
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 39,
"column": 18,
"offset": 776
},
"end": {
"line": 40,
"column": 3,
"offset": 779
}
}
},
{
"type": "svelteBranchingBlock",
"name": "each",
"branches": [
{
"type": "svelteBranch",
"name": "each",
"expression": {
"type": "svelteExpression",
"value": "Object.entries(options.size) as [sizeKey, size]",
"position": {
"start": {
"line": 40,
"column": 10,
"offset": 786
},
"end": {
"line": 40,
"column": 57,
"offset": 833
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 40,
"column": 58,
"offset": 834
},
"end": {
"line": 41,
"column": 5,
"offset": 839
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 41,
"column": 11,
"offset": 845
},
"end": {
"line": 42,
"column": 7,
"offset": 852
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "alt",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 42,
"column": 19,
"offset": 864
},
"end": {
"line": 42,
"column": 29,
"offset": 874
}
},
"expression": {
"type": "svelteExpression",
"value": "initials",
"position": {
"start": {
"line": 42,
"column": 20,
"offset": 865
},
"end": {
"line": 42,
"column": 28,
"offset": 873
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 42,
"column": 15,
"offset": 860
},
"end": {
"line": 42,
"column": 29,
"offset": 874
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 42,
"column": 31,
"offset": 876
},
"end": {
"line": 42,
"column": 35,
"offset": 880
}
}
},
"position": {
"start": {
"line": 42,
"column": 30,
"offset": 875
},
"end": {
"line": 42,
"column": 35,
"offset": 880
}
}
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 42,
"column": 30,
"offset": 875
},
"end": {
"line": 42,
"column": 35,
"offset": 880
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 42,
"column": 7,
"offset": 852
},
"end": {
"line": 42,
"column": 39,
"offset": 884
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 42,
"column": 39,
"offset": 884
},
"end": {
"line": 43,
"column": 5,
"offset": 889
}
}
}
],
"position": {
"start": {
"line": 41,
"column": 5,
"offset": 839
},
"end": {
"line": 43,
"column": 12,
"offset": 896
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 43,
"column": 12,
"offset": 896
},
"end": {
"line": 44,
"column": 3,
"offset": 899
}
}
}
],
"position": {
"start": {
"line": 40,
"column": 3,
"offset": 779
},
"end": {
"line": 44,
"column": 3,
"offset": 899
}
}
}
],
"position": {
"start": {
"line": 40,
"column": 3,
"offset": 779
},
"end": {
"line": 44,
"column": 10,
"offset": 906
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 44,
"column": 10,
"offset": 906
},
"end": {
"line": 45,
"column": 3,
"offset": 909
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 45,
"column": 9,
"offset": 915
},
"end": {
"line": 46,
"column": 5,
"offset": 920
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "alt",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 46,
"column": 17,
"offset": 932
},
"end": {
"line": 46,
"column": 27,
"offset": 942
}
},
"expression": {
"type": "svelteExpression",
"value": "initials",
"position": {
"start": {
"line": 46,
"column": 18,
"offset": 933
},
"end": {
"line": 46,
"column": 26,
"offset": 941
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 46,
"column": 13,
"offset": 928
},
"end": {
"line": 46,
"column": 27,
"offset": 942
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 46,
"column": 33,
"offset": 948
},
"end": {
"line": 46,
"column": 45,
"offset": 960
}
},
"expression": {
"type": "svelteExpression",
"value": "customSize",
"position": {
"start": {
"line": 46,
"column": 34,
"offset": 949
},
"end": {
"line": 46,
"column": 44,
"offset": 959
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 46,
"column": 28,
"offset": 943
},
"end": {
"line": 46,
"column": 45,
"offset": 960
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 46,
"column": 5,
"offset": 920
},
"end": {
"line": 46,
"column": 48,
"offset": 963
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 46,
"column": 48,
"offset": 963
},
"end": {
"line": 47,
"column": 3,
"offset": 966
}
}
}
],
"position": {
"start": {
"line": 45,
"column": 3,
"offset": 909
},
"end": {
"line": 47,
"column": 10,
"offset": 973
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 47,
"column": 10,
"offset": 973
},
"end": {
"line": 48,
"column": 1,
"offset": 974
}
}
}
],
"position": {
"start": {
"line": 39,
"column": 1,
"offset": 759
},
"end": {
"line": 48,
"column": 7,
"offset": 980
}
}
},
{
"type": "text",
"value": "\n\n",
"position": {
"start": {
"line": 48,
"column": 7,
"offset": 980
},
"end": {
"line": 50,
"column": 1,
"offset": 982
}
}
},
{
"type": "svelteElement",
"tagName": "div",
"properties": [
{
"type": "svelteProperty",
"name": "class",
"value": [
{
"type": "text",
"value": "row",
"position": {
"start": {
"line": 50,
"column": 13,
"offset": 994
},
"end": {
"line": 50,
"column": 17,
"offset": 998
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 50,
"column": 6,
"offset": 987
},
"end": {
"line": 50,
"column": 17,
"offset": 998
}
}
}
],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 50,
"column": 18,
"offset": 999
},
"end": {
"line": 51,
"column": 3,
"offset": 1002
}
}
},
{
"type": "svelteBranchingBlock",
"name": "each",
"branches": [
{
"type": "svelteBranch",
"name": "each",
"expression": {
"type": "svelteExpression",
"value": "Object.entries(options.size) as [sizeKey, size]",
"position": {
"start": {
"line": 51,
"column": 10,
"offset": 1009
},
"end": {
"line": 51,
"column": 57,
"offset": 1056
}
}
},
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 51,
"column": 58,
"offset": 1057
},
"end": {
"line": 52,
"column": 5,
"offset": 1062
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 52,
"column": 11,
"offset": 1068
},
"end": {
"line": 53,
"column": 7,
"offset": 1075
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "Component",
"value": [
{
"type": "svelteDynamicContent",
"expression": {
"type": "svelteExpression",
"value": "Component",
"position": {
"start": {
"line": 53,
"column": 16,
"offset": 1084
},
"end": {
"line": 53,
"column": 25,
"offset": 1093
}
}
},
"position": {
"start": {
"line": 53,
"column": 15,
"offset": 1083
},
"end": {
"line": 53,
"column": 25,
"offset": 1093
}
}
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 53,
"column": 15,
"offset": 1083
},
"end": {
"line": 53,
"column": 25,
"offset": 1093
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"expression": {
"type": "svelteExpression",
"value": "size",
"position": {
"start": {
"line": 53,
"column": 28,
"offset": 1096
},
"end": {
"line": 53,
"column": 32,
"offset": 1100
}
}
},
"position": {
"start": {
"line": 53,
"column": 27,
"offset": 1095
},
"end": {
"line": 53,
"column": 32,
"offset": 1100
}
}
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 53,
"column": 27,
"offset": 1095
},
"end": {
"line": 53,
"column": 32,
"offset": 1100
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 53,
"column": 7,
"offset": 1075
},
"end": {
"line": 53,
"column": 36,
"offset": 1104
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 53,
"column": 36,
"offset": 1104
},
"end": {
"line": 54,
"column": 5,
"offset": 1109
}
}
}
],
"position": {
"start": {
"line": 52,
"column": 5,
"offset": 1062
},
"end": {
"line": 54,
"column": 12,
"offset": 1116
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 54,
"column": 12,
"offset": 1116
},
"end": {
"line": 55,
"column": 3,
"offset": 1119
}
}
}
],
"position": {
"start": {
"line": 51,
"column": 3,
"offset": 1002
},
"end": {
"line": 55,
"column": 3,
"offset": 1119
}
}
}
],
"position": {
"start": {
"line": 51,
"column": 3,
"offset": 1002
},
"end": {
"line": 55,
"column": 10,
"offset": 1126
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 55,
"column": 10,
"offset": 1126
},
"end": {
"line": 56,
"column": 3,
"offset": 1129
}
}
},
{
"type": "svelteElement",
"tagName": "span",
"properties": [],
"selfClosing": false,
"children": [
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 56,
"column": 9,
"offset": 1135
},
"end": {
"line": 57,
"column": 5,
"offset": 1140
}
}
},
{
"type": "svelteComponent",
"tagName": "Avatar",
"properties": [
{
"type": "svelteProperty",
"name": "Component",
"value": [
{
"type": "svelteDynamicContent",
"expression": {
"type": "svelteExpression",
"value": "Component",
"position": {
"start": {
"line": 57,
"column": 14,
"offset": 1149
},
"end": {
"line": 57,
"column": 23,
"offset": 1158
}
}
},
"position": {
"start": {
"line": 57,
"column": 13,
"offset": 1148
},
"end": {
"line": 57,
"column": 23,
"offset": 1158
}
}
}
],
"modifiers": [],
"shorthand": "expression",
"position": {
"start": {
"line": 57,
"column": 13,
"offset": 1148
},
"end": {
"line": 57,
"column": 23,
"offset": 1158
}
}
},
{
"type": "svelteProperty",
"name": "size",
"value": [
{
"type": "svelteDynamicContent",
"position": {
"start": {
"line": 57,
"column": 30,
"offset": 1165
},
"end": {
"line": 57,
"column": 42,
"offset": 1177
}
},
"expression": {
"type": "svelteExpression",
"value": "customSize",
"position": {
"start": {
"line": 57,
"column": 31,
"offset": 1166
},
"end": {
"line": 57,
"column": 41,
"offset": 1176
}
}
}
}
],
"modifiers": [],
"shorthand": "none",
"position": {
"start": {
"line": 57,
"column": 25,
"offset": 1160
},
"end": {
"line": 57,
"column": 42,
"offset": 1177
}
}
}
],
"selfClosing": true,
"children": [],
"position": {
"start": {
"line": 57,
"column": 5,
"offset": 1140
},
"end": {
"line": 57,
"column": 45,
"offset": 1180
}
}
},
{
"type": "text",
"value": "\n ",
"position": {
"start": {
"line": 57,
"column": 45,
"offset": 1180
},
"end": {
"line": 58,
"column": 3,
"offset": 1183
}
}
}
],
"position": {
"start": {
"line": 56,
"column": 3,
"offset": 1129
},
"end": {
"line": 58,
"column": 10,
"offset": 1190
}
}
},
{
"type": "text",
"value": "\n",
"position": {
"start": {
"line": 58,
"column": 10,
"offset": 1190
},
"end": {
"line": 59,
"column": 1,
"offset": 1191
}
}
}
],
"position": {
"start": {
"line": 50,
"column": 1,
"offset": 982
},
"end": {
"line": 59,
"column": 7,
"offset": 1197
}
}
}
],
"position": {
"start": {
"column": 1,
"line": 1,
"offset": 0
},
"end": {
"line": 59,
"column": 7,
"offset": 1197
}
}
}