class Text

class Text

lib/xml/text.tya:2

Text provides the xml/Text standard library API.

Source
# Text provides the xml/Text standard library API.
class Text
  # Text.text stores instance state.
  # @type Nil
  text: nil

  # Text.initialize provides the xml/Text standard library operation.
  # @param text String text value.
  # @return Self the initialized object.
  initialize: text ->
    self.text = text

  # Text.new provides the xml/Text standard library operation.
  # @param text String text value.
  # @return Self the resulting value.
  new: text ->
    Text(text)

Instance Variables

text

Text.text

lib/xml/text.tya:5

Text.text stores instance state.

Source
  # Text.text stores instance state.
  # @type Nil
  text: nil

Methods

initialize

Text.initialize(text)

lib/xml/text.tya:10

Text.initialize provides the xml/Text standard library operation.

Source
  # Text.initialize provides the xml/Text standard library operation.
  # @param text String text value.
  # @return Self the initialized object.
  initialize: text ->
    self.text = text

new

Text.new(text)

lib/xml/text.tya:16

Text.new provides the xml/Text standard library operation.

Source
  # Text.new provides the xml/Text standard library operation.
  # @param text String text value.
  # @return Self the resulting value.
  new: text ->
    Text(text)