Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 61066d4

Browse files
committed
move Xml176Parser into com.feathersui.xml package
1 parent 5efd7d4 commit 61066d4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
* DEALINGS IN THE SOFTWARE.
2121
*/
2222

23-
package com.tenderowls.xml176;
23+
// Original Source: https://github.com/tenderowls/xml176/blob/19ecca26d5a9ee949b02b1e0b779f49c7222cb08/src/main/haxe/com/tenderowls/xml176/Xml176Parser.hx
24+
package com.feathersui.xml;
2425

2526
import haxe.xml.Parser.XmlParserException;
2627

@@ -49,6 +50,7 @@ extern private class S {
4950
public static inline var ESCAPE = 18;
5051
}
5152

53+
@:noCompletion
5254
class Xml176Document {
5355
public var document(default, null):Xml;
5456

@@ -70,6 +72,7 @@ class Xml176Document {
7072
}
7173
}
7274

75+
@:noCompletion
7376
class Xml176Parser {
7477
static public function parse(str:String) {
7578
var xmlDoc = Xml.createDocument();

src/com/feathersui/xml/XmlComponent.hx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
package com.feathersui.xml;
1010

1111
#if macro
12-
import com.tenderowls.xml176.Xml176Parser;
12+
import com.feathersui.xml.Xml176Parser;
1313
import haxe.io.Path;
1414
import haxe.macro.Context;
1515
import haxe.macro.Expr;
@@ -24,6 +24,7 @@ import sys.io.File;
2424
/**
2525
Creates Haxe classes and instances at compile-time using XML.
2626
**/
27+
@:access("com.feathersui.xml.Xml176Parser")
2728
class XmlComponent {
2829
#if macro
2930
private static final FILE_PATH_TO_TYPE_DEFINITION:Map<String, TypeDefinition> = [];

0 commit comments

Comments
 (0)