String

class String(*args, **kwargs)[source]

Bases: ShallowDataValue

String.

Parameters:

content – String content.

datatype_class

alias of StringDatatype

datatype: ClassVar[StringDatatype] = StringDatatype()

Datatype associated with this value class.

template_class

alias of StringTemplate

variable_class

alias of StringVariable

__init__(content: Variable | String | str) None[source]
class StringTemplate(*args, **kwargs)[source]

Bases: ShallowDataValueTemplate

String template.

Parameters:

content – String content or string variable.

object_class

alias of String

__init__(content: Variable | String | str) None[source]
class StringVariable(name: str, variable_class: type[Variable] | type[Term] | None = None)[source]

Bases: ShallowDataValueVariable

String variable.

Parameters:

name – Name.

object_class

alias of String