* Converts an attribute string into an AttributeMap. * * @param {AttributeString} str - The attribute string to convert into an AttributeMap. * @param {AttributePool} pool - Attribute pool. * @returns {AttributeMap}
(str: string, pool?: AttributePool|null)
| 33 | * @returns {AttributeMap} |
| 34 | */ |
| 35 | public static fromString(str: string, pool?: AttributePool|null): AttributeMap { |
| 36 | return new AttributeMap(pool).updateFromString(str); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @param {AttributePool} pool - Attribute pool. |