Struct TagInfo
Definition
Namespace: StardewUI.Framework.Grammar
Assembly: StardewUI.dll
Information about a parsed tag in StarML.
Inheritance
Object ⇦ ValueType ⇦ TagInfo
Members
Constructors
Name | Description |
---|---|
TagInfo(ReadOnlySpan<Char>, Boolean) | Information about a parsed tag in StarML. |
Properties
Name | Description |
---|---|
IsClosingTag | Whether or not the tag is a closing tag, either in regular </tag> form or the end of a self-closing tag (/> ) after the tag attributes. |
Name | The tag name. |
Methods
Name | Description |
---|---|
Equals(Object) | (Inherited from ValueType) |
GetHashCode() | (Inherited from ValueType) |
ToString() | (Inherited from ValueType) |
Details
Constructors
TagInfo(ReadOnlySpan<Char>, bool)
Information about a parsed tag in StarML.
Parameters
name
ReadOnlySpan<Char>
The tag name.
isClosingTag
Boolean
Whether or not the tag is a closing tag, either in regular </tag>
form or the end of a self-closing tag (/>
) after the tag attributes.
Properties
IsClosingTag
Whether or not the tag is a closing tag, either in regular </tag>
form or the end of a self-closing tag (/>
) after the tag attributes.
Property Value
Name
The tag name.