Expand all

ve.dm.MWLanguageVariantHiddenNode

Extends

Constructor

new ve.dm.MWLanguageVariantHiddenNode([element], [children]) #

DataModel MediaWiki language variant hidden node.

Parameters:

Name Type Attributes Description
element Object optional

Reference to element in linear model

children Array.<ve.dm.Node> optional
Source:
DataModel MediaWiki language variant hidden 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.

Overrides:
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.