class documentation

class SSymbolQuoteSymbol(SSymbol):

Constructor: SSymbolQuoteSymbol(symbol, parent)

View In Hierarchy

A quoted symbol that is not executed. It is used to store a symbol that is not evaluated, but can be referenced later.

Method __init__ Initialization of a SSymbol object or one of its sub-classes.
Method toString Return a string representation of the value.
Instance Variable length The length of the symbol. Could be the length of a string, number of items in a list etc.
Instance Variable value The actual stored value. This is either one of the the basic data typs, of a SSymbol, list of SSymbol, dictionary, etc.

Inherited from SSymbol:

Class Method symbolFromValue Create a new SSymbol object from a value.
Method __contains__ Check whether an object is contained within the value.
Method __eq__ Check whether two SSymbol objects are equal.
Method __getitem__ Return an element or a slice from a list, or a character from a string.
Method __gt__ Check whether the value is greater than another value.
Method __len__ Return the length of the value.
Method __lt__ Check whether the value is less than another value.
Method __repr__ Nicely printable version of value.
Method __str__ Nicely printable version of value.
Method printHierarchy Print the hierarchy in reverse order (parent first) with reversed indentation.
Method raw The Python "raw" value.
Class Variable __slots__ Slots of class attributes.
Instance Variable parent Parent SSymbol object.
Instance Variable type SType to indicate the type.
def __init__(self, symbol: str, parent: SSymbol | None = None):

Initialization of a SSymbol object or one of its sub-classes.

Only one of the arguments must be passed to the function. If no argument is given, then the symbol becomes a NIL object.

Parameters
symbol:strUndocumented
parent:SSymbol | NoneParent SSymbol object.
typType of the symbol.
def toString(self, quoteStrings: bool = False, pythonList: bool = False) -> str:

Return a string representation of the value.

Parameters
quoteStrings:boolQuote strings.
pythonList:boolReturn a Python list representation.
Returns
strA string representation of the value.
length: int =

The length of the symbol. Could be the length of a string, number of items in a list etc.

value =

The actual stored value. This is either one of the the basic data typs, of a SSymbol, list of SSymbol, dictionary, etc.