The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Eg::Node::CharacterData - CharacterData in JavaScript

Description

The Eg::Node::CharacterData class in SPVM represents a Node object that contains characters. This is an abstract class.

This class is a port of CharacterData in JavaScript.

Instance Methods

Inheritance

Eg::Node

data

method data : string ();

Returns the value of the current object's data.

For details, see CharacterData.data in JavaScript.

length

method length : int ();

Returns the number of characters in the contained data, as a positive integer.

For details, see CharacterData.length in JavaScript.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License