From 8bee3ed2d1e7c8044cb8b9790c3ec66dec0ee8e1 Mon Sep 17 00:00:00 2001 From: Panayot Cankov Date: Tue, 17 Nov 2015 18:19:20 +0200 Subject: [PATCH] Add file, row and column for ui/builder errors --- .../errors/non-existing-element.xml | 14 ++ .../xml-declaration/xml-declaration-tests.ts | 22 +- tsconfig.json | 4 +- ui/builder/builder.ts | 237 ++++++++++-------- ui/builder/component-builder.ts | 3 +- utils/debug.d.ts | 92 +++++++ utils/debug.ts | 83 ++++++ xml/xml.d.ts | 22 +- 8 files changed, 352 insertions(+), 125 deletions(-) create mode 100644 apps/tests/xml-declaration/errors/non-existing-element.xml create mode 100644 utils/debug.d.ts create mode 100644 utils/debug.ts diff --git a/apps/tests/xml-declaration/errors/non-existing-element.xml b/apps/tests/xml-declaration/errors/non-existing-element.xml new file mode 100644 index 000000000..94d08cf46 --- /dev/null +++ b/apps/tests/xml-declaration/errors/non-existing-element.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/apps/tests/xml-declaration/xml-declaration-tests.ts b/apps/tests/xml-declaration/xml-declaration-tests.ts index 5a39c9116..d07a4bcb2 100644 --- a/apps/tests/xml-declaration/xml-declaration-tests.ts +++ b/apps/tests/xml-declaration/xml-declaration-tests.ts @@ -835,4 +835,24 @@ export function test_parse_template_property() { var button =