|
| __construct (?SourceRange $tsr, ?DataParsoid $dataParsoid=null, ?DataMw $dataMw=null) |
|
| jsonSerialize () |
|
| getName () |
| Get a name for the token.
|
|
| getType () |
| Returns a string key for this token.
|
|
| addAttribute (string $name, $value, ?KVSourceRange $srcOffsets=null) |
| Generic set attribute method.
|
|
| addNormalizedAttribute (string $name, $value, $origValue) |
| Generic set attribute method with support for change detection.
|
|
| getAttributeV (string $name) |
| Generic attribute accessor.
|
|
| getAttributeKV (string $name) |
| Generic attribute accessor.
|
|
| hasAttribute (string $name) |
| Generic attribute accessor.
|
|
| setAttribute (string $name, $value) |
| Set an unshadowed attribute.
|
|
| setShadowInfo (string $name, $value, $origValue) |
| Store the original value of an attribute in a token's dataParsoid.
|
|
| getAttributeShadowInfo (string $name) |
| Attribute info accessor for the wikitext serializer.
|
|
| removeAttribute (string $name) |
| Completely remove all attributes with this name.
|
|
| addSpaceSeparatedAttribute (string $name, string $value) |
| Add a space-separated property value.
|
|
| getWTSource (Frame $frame) |
| Get the wikitext source of a token.
|
|
| fetchExpandedAttrValue (string $key) |
|