Extends
Constructor
new ve.dm.MWLanguageVariantInlineNode([element], [children])
#
DataModel MediaWiki language variant inline node.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
element |
Object |
optional |
Reference to element in linear model |
children |
Array.<ve.dm.Node> |
optional |
DataModel MediaWiki language variant inline node.
Methods
getRuleType() → {string}
#
Helper function to discriminate between various types of language converter markup.
- Inherited from:
- Source:
Returns:
- Type
- string
Helper function to discriminate between various types of language converter markup.
getVariantInfo() → {Object}
#
Helper function to get the description object for this markup node.
- Inherited from:
- Source:
Returns:
- Type
- Object
Helper function to get the description object for this markup node.
isHidden() → {boolean}
#
Helper function to discriminate between hidden and shown rules.
- Inherited from:
- Source:
Returns:
True if this node represents a conversion rule with no shown output
- Type
- boolean
Helper function to discriminate between hidden and shown rules.