Constructor
new SchemaTag(name, booleanAttributes, valueAttributes, unitClasses, valueClasses)
Constructor.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name of this tag. |
booleanAttributes |
Set.<SchemaAttribute> | The boolean attributes for this tag. |
valueAttributes |
Map.<SchemaAttribute, *> | The value attributes for this tag. |
unitClasses |
Array.<SchemaUnitClass> | The unit classes for this tag. |
valueClasses |
Array.<SchemaValueClass> | The value classes for this tag. |
- Source:
Classes
Members
ancestors
Return all of this tag's ancestors.
- Source:
hasUnitClasses
Whether this tag has any unit classes.
- Source:
longName
This tag's long name.
- Source:
parent :SchemaTag
This tag's parent tag.
Type:
- Source:
parent
Set the tag's parent tag.
- Source:
unitClasses :Array.<SchemaUnitClass>
This tag's unit classes.
Type:
- Array.<SchemaUnitClass>
- Source:
valueClasses :Array.<SchemaValueClass>
This tag's value classes.
Type:
- Array.<SchemaValueClass>
- Source:
valueTag
This tag's value-taking child tag.
- Source:
valueTag
Set the tag's value-taking child tag.
- Source:
Methods
extend(extension) → {string}
Extend this tag's short name.
Parameters:
Name | Type | Description |
---|---|---|
extension |
string | The extension. |
- Source:
Returns:
The extended short string.
- Type
- string
longExtend(extension) → {string}
Extend this tag's long name.
Parameters:
Name | Type | Description |
---|---|---|
extension |
string | The extension. |
- Source:
Returns:
The extended long string.
- Type
- string