class documentation

Undocumented

Method __init__ Initialises the token. :param content: The content of the token. :type content: list[pp.ParseResults]
Method to_container Check if we are trying to encapsulate this very token, don't do anything
Class Variable label Undocumented
Instance Variable content Undocumented

Inherited from ExplicitSemanticType:

Method counterpart Function called by the context manager to know how to deal with the encapsulation of the token. Will return the counterpart of the token (the previous token to look for). :return: The counterpart of the token...
Method to_markup Function used for testing and readability purposes. Replaces matched markup with html-like tags. :return: The markup of the token. :rtype: str

Inherited from SemanticType (via ExplicitSemanticType):

Method __eq__ Undocumented
Method __ne__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method to_original Return the original string of the token. :return: The original string of the token. :rtype: str
Instance Variable file_name Undocumented
Instance Variable label_container Undocumented
Instance Variable line_number Undocumented
def __init__(self, content):

Initialises the token. :param content: The content of the token. :type content: list[pp.ParseResults]

def to_container(self, filter_func=None):

Check if we are trying to encapsulate this very token, don't do anything

label: str =
content: list =