Constructor
new ConvertNode( node : Node, convertTo : string )
Constructs a new convert node.
| node |
The node which type should be converted. |
| convertTo |
The target node type. Multiple types can be defined by separating them with a |
Properties
.convertTo : string
The target node type. Multiple types can be defined by separating them with a | sign.
Methods
.getNodeType( builder : NodeBuilder ) : string
This method is overwritten since the implementation tries to infer the best matching type from the ConvertNode#convertTo property.
| builder |
The current node builder. |
- Overrides: Node#getNodeType
- Returns: The node type.