Skip to content

Commit 0c9cf66

Browse files
Remove tagName constant from codegen
1 parent b051bc4 commit 0c9cf66

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+113
-337
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"require": {
66
"hhvm": "^4.102",
7-
"hershel-theodore-layton/sgml-stream": "^0.6"
7+
"hershel-theodore-layton/sgml-stream": "^0.7"
88
},
99
"require-dev": {
1010
"hhvm/hhvm-autoload": "^3.2",

src/tags/a/a.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<80fbed3f255c0474c75293f41c093145>>
5+
* @generated SignedSource<<7a3db72104d1ab8fbc87f2d2c5ea4ec4>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -67,6 +67,4 @@ final xhp class a extends HTMLElementBase {
6767
* A MIME type string.
6868
*/
6969
string type;
70-
71-
protected string $tagName = 'a';
7270
}

src/tags/a/abbr.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<fc2ad655386cca1927cc61d94e269298>>
5+
* @generated SignedSource<<867e15f4017233c51ff74502bc60b9e2>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -14,6 +14,4 @@ final xhp class abbr extends HTMLElementBase {
1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

1616
const string TAG_NAME = 'abbr';
17-
18-
protected string $tagName = 'abbr';
1917
}

src/tags/a/address.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<68a7ba71450e1ca69bb4243537eecd67>>
5+
* @generated SignedSource<<b17c82c6d33ea2ba9d43300953a973b4>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -14,6 +14,4 @@ final xhp class address extends HTMLElementBase {
1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

1616
const string TAG_NAME = 'address';
17-
18-
protected string $tagName = 'address';
1917
}

src/tags/a/area.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<09ca72384840067a6c6d9fd1e6ffc343>>
5+
* @generated SignedSource<<2152106f4b4aac6c76fa7d6c92c5fb23>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -71,6 +71,4 @@ final xhp class area extends HTMLElementBase {
7171
* https://html.spec.whatwg.org/multipage/browsers.html#valid-browsing-context-name-or-keyword.
7272
*/
7373
string target;
74-
75-
protected string $tagName = 'area';
7674
}

src/tags/a/article.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<f0a27fd15776f540063bb6b894e90380>>
5+
* @generated SignedSource<<918edcf3cc97be2f8b19477d64b9fb98>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -14,6 +14,4 @@ final xhp class article extends HTMLElementBase {
1414
use SGMLStream\ElementWithOpenTagOnly;
1515

1616
const string TAG_NAME = 'article';
17-
18-
protected string $tagName = 'article';
1917
}

src/tags/a/aside.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<54a5d470712883cd11b5e2a1b124a973>>
5+
* @generated SignedSource<<ec2e2e9c32d998742e20e0715654d62c>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -14,6 +14,4 @@ final xhp class aside extends HTMLElementBase {
1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

1616
const string TAG_NAME = 'aside';
17-
18-
protected string $tagName = 'aside';
1917
}

src/tags/a/audio.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<6782ebe6ec76f6a3ae474d522ea07cda>>
5+
* @generated SignedSource<<44895be9e68bf449eb820cf79589ec5a>>
66
*/
77
use namespace HTL\{SGMLStream, SGMLStreamInterfaces};
88

@@ -44,6 +44,4 @@ final xhp class audio extends HTMLElementBase {
4444
* A URL potentially surrounded by spaces.
4545
*/
4646
string src;
47-
48-
protected string $tagName = 'audio';
4947
}

src/tags/b/b.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<b32c1106fc7bfbb14fe2e896ad5100ec>>
5+
* @generated SignedSource<<6e84e20f23a1a90dec8d29885247c4bb>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -14,6 +14,4 @@ final xhp class b extends HTMLElementBase {
1414
use SGMLStream\ElementWithOpenAndCloseTags;
1515

1616
const string TAG_NAME = 'b';
17-
18-
protected string $tagName = 'b';
1917
}

src/tags/b/base.hack

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* This file is generated. Do not modify it manually!
44
*
5-
* @generated SignedSource<<2638681bd9f3b1f5fc65239232479915>>
5+
* @generated SignedSource<<52712bb4ae1fe1de2abaf8db0fc75f68>>
66
*/
77
use namespace HTL\SGMLStream;
88

@@ -27,6 +27,4 @@ final xhp class base extends HTMLElementBase {
2727
* https://html.spec.whatwg.org/multipage/browsers.html#valid-browsing-context-name-or-keyword.
2828
*/
2929
string target;
30-
31-
protected string $tagName = 'base';
3230
}

0 commit comments

Comments
 (0)